diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-25 05:05:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-05-25 05:05:11 +0000 |
commit | 7530d5175a7a62dfc874df390565bf3ddde2a3cd (patch) | |
tree | 28ae76733b593573c7aaf4a802b6a2970c3c9edd /sys-boot/grub/grub-0.97-r3.ebuild | |
parent | tweak from Robin Johnson to not mount /boot if DONT_MOUNT_BOOT is set #179693 (diff) | |
download | gentoo-2-7530d5175a7a62dfc874df390565bf3ddde2a3cd.tar.gz gentoo-2-7530d5175a7a62dfc874df390565bf3ddde2a3cd.tar.bz2 gentoo-2-7530d5175a7a62dfc874df390565bf3ddde2a3cd.zip |
tweak from Robin Johnson to not mount /boot if DONT_MOUNT_BOOT is set #179693
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-boot/grub/grub-0.97-r3.ebuild')
-rw-r--r-- | sys-boot/grub/grub-0.97-r3.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-boot/grub/grub-0.97-r3.ebuild b/sys-boot/grub/grub-0.97-r3.ebuild index 175aa0748df4..328dafd280e0 100644 --- a/sys-boot/grub/grub-0.97-r3.ebuild +++ b/sys-boot/grub/grub-0.97-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r3.ebuild,v 1.9 2007/04/04 18:43:15 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r3.ebuild,v 1.10 2007/05/25 05:05:11 vapier Exp $ inherit mount-boot eutils flag-o-matic toolchain-funcs autotools @@ -148,6 +148,7 @@ setup_boot_dir() { pkg_postinst() { [[ ${ROOT} != "/" ]] && return 0 + [[ -n ${DONT_MOUNT_BOOT} ]] && return 0 setup_boot_dir /boot einfo "To install grub files to another device (like a usb stick), just run:" einfo " emerge --config =${PF}" |