diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-01-09 03:22:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-09 03:22:47 +0000 |
commit | fe7785f8b9f46651a8d99b250b84da716ae0ad62 (patch) | |
tree | 1ea9bf95a3ddbbc56d7e9a3addcd68fc91ef2f80 /sys-boot/grub/grub-0.97-r8.ebuild | |
parent | try to automatically remount/unmount /boot back to its pre-emerge state #3489... (diff) | |
download | gentoo-2-fe7785f8b9f46651a8d99b250b84da716ae0ad62.tar.gz gentoo-2-fe7785f8b9f46651a8d99b250b84da716ae0ad62.tar.bz2 gentoo-2-fe7785f8b9f46651a8d99b250b84da716ae0ad62.zip |
Use new mount-boot_pkg_postinst helper.
(Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/grub/grub-0.97-r8.ebuild')
-rw-r--r-- | sys-boot/grub/grub-0.97-r8.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-boot/grub/grub-0.97-r8.ebuild b/sys-boot/grub/grub-0.97-r8.ebuild index ca86b9c6e891..ac44cdb2fe89 100644 --- a/sys-boot/grub/grub-0.97-r8.ebuild +++ b/sys-boot/grub/grub-0.97-r8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# 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-0.97-r8.ebuild,v 1.1 2008/11/06 01:28:56 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r8.ebuild,v 1.2 2011/01/09 03:22:47 vapier 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 @@ -239,6 +239,8 @@ setup_boot_dir() { } pkg_postinst() { + mount-boot_pkg_postinst + if [[ -n ${DONT_MOUNT_BOOT} ]]; then elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must apply" elog "the following instructions for your /boot!" |