diff options
Diffstat (limited to 'sys-boot/grub-static/grub-static-0.97-r9.ebuild')
-rw-r--r-- | sys-boot/grub-static/grub-static-0.97-r9.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys-boot/grub-static/grub-static-0.97-r9.ebuild b/sys-boot/grub-static/grub-static-0.97-r9.ebuild index 859b69f1bc2b..3844eac919bb 100644 --- a/sys-boot/grub-static/grub-static-0.97-r9.ebuild +++ b/sys-boot/grub-static/grub-static-0.97-r9.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2009 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-r9.ebuild,v 1.3 2009/05/15 21:12:04 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild,v 1.4 2009/07/04 18:46:39 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 # we never updated any of the source code (it still all wants menu.lst), # and there is no indication that upstream is making the transition. -inherit eutils mount-boot +inherit eutils mount-boot toolchain-funcs linux-info PATCHVER="1.9" # Not used, just for tracking with main grub @@ -22,6 +22,13 @@ IUSE="" DEPEND="!sys-boot/grub" PROVIDE="virtual/bootloader" +pkg_setup() { + local arch="$(tc-arch)" + case ${arch} in + amd64) CONFIG_CHECK='~IA32_EMULATION' check_extra_config ;; + esac +} + src_install() { cp -a "${WORKDIR}"/* "${D}"/ } |