summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-13 07:41:16 +0000
committerMike Frysinger <vapier@gentoo.org>2011-02-13 07:41:16 +0000
commitb3706d39598b4644ee96d2f67263604a0d520cf8 (patch)
tree7dd4252720ac17d1a3bdbb66007bbe594d1d0d7b /sys-boot/grub/grub-9999.ebuild
parentRelease 4.4.4 p1.4 and 4.4.5 p1.2 with fix for HPPA wrong-code (bug #349113). (diff)
downloadgentoo-2-b3706d39598b4644ee96d2f67263604a0d520cf8.tar.gz
gentoo-2-b3706d39598b4644ee96d2f67263604a0d520cf8.tar.bz2
gentoo-2-b3706d39598b4644ee96d2f67263604a0d520cf8.zip
Make sure boot is mounted rw before we go setting it up #348946 by Jaco Kroon.
(Portage version: 2.2.0_alpha20/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/grub/grub-9999.ebuild')
-rw-r--r--sys-boot/grub/grub-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index 622619ff6125..5a65e84cfe87 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.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/grub-9999.ebuild,v 1.27 2011/01/09 03:22:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999.ebuild,v 1.28 2011/02/13 07:41:16 vapier Exp $
# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch
@@ -102,11 +102,14 @@ setup_boot_dir() {
}
pkg_postinst() {
- mount-boot_pkg_postinst
+ mount-boot_mount_boot_partition
if use multislot ; then
elog "You have installed grub2 with USE=multislot, so to coexist"
elog "with grub1, the grub2 install binary is named grub2-install."
fi
setup_boot_dir "${ROOT}"boot
+
+ # needs to be after we call setup_boot_dir
+ mount-boot_pkg_postinst
}