diff options
author | 2011-02-24 09:25:11 +0000 | |
---|---|---|
committer | 2011-02-24 09:25:11 +0000 | |
commit | afd10828e82bd760c9b3d76e691510c94a6af8eb (patch) | |
tree | b403d2466651f404ae72491094ffb24019c476e4 /sys-boot/grub-static/grub-static-0.97-r10.ebuild | |
parent | Provide advanced option for hanno to help with system rescues. (diff) | |
download | gentoo-2-afd10828e82bd760c9b3d76e691510c94a6af8eb.tar.gz gentoo-2-afd10828e82bd760c9b3d76e691510c94a6af8eb.tar.bz2 gentoo-2-afd10828e82bd760c9b3d76e691510c94a6af8eb.zip |
One more bit for hanno. I_KNOW_WHAT_IM_DOING=1 will now enable you to install an unusable grub on amd64 systems without IA32_EMULATION, for specific rescue situations.
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/grub-static/grub-static-0.97-r10.ebuild')
-rw-r--r-- | sys-boot/grub-static/grub-static-0.97-r10.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-boot/grub-static/grub-static-0.97-r10.ebuild b/sys-boot/grub-static/grub-static-0.97-r10.ebuild index f30297bec9c8..00bbf2ebe902 100644 --- a/sys-boot/grub-static/grub-static-0.97-r10.ebuild +++ b/sys-boot/grub-static/grub-static-0.97-r10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r10.ebuild,v 1.5 2011/02/24 09:22:18 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r10.ebuild,v 1.6 2011/02/24 09:25:11 robbat2 Exp $ # XXX: we need to review menu.lst vs grub.conf handling. We've been converting # all systems to grub.conf (and symlinking menu.lst to grub.conf), but @@ -64,7 +64,9 @@ setup_boot_dir() { local boot_dir=$1 local dir=${boot_dir} - run_test_grub /sbin/grub + if [[ -z "${I_KNOW_WHAT_I_AM_DOING}" ]]; then + run_test_grub /sbin/grub + fi mkdir -p "${dir}" [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" |