diff options
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/grub/ChangeLog | 6 | ||||
-rw-r--r-- | sys-boot/grub/grub-2.00_p5107-r1.ebuild | 4 | ||||
-rw-r--r-- | sys-boot/grub/grub-9999.ebuild | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog index 1d6818489f6e..ceb971df8498 100644 --- a/sys-boot/grub/ChangeLog +++ b/sys-boot/grub/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-boot/grub # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.281 2013/09/21 21:28:37 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.282 2013/09/21 21:44:55 floppym Exp $ + + 21 Sep 2013; Mike Gilbert <floppym@gentoo.org> grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Need to call mount-boot_mount_boot_partition first. 21 Sep 2013; Mike Gilbert <floppym@gentoo.org> grub-2.00_p5107-r1.ebuild, grub-9999.ebuild: diff --git a/sys-boot/grub/grub-2.00_p5107-r1.ebuild b/sys-boot/grub/grub-2.00_p5107-r1.ebuild index f965275fd06c..bd45cf74cd8a 100644 --- a/sys-boot/grub/grub-2.00_p5107-r1.ebuild +++ b/sys-boot/grub/grub-2.00_p5107-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00_p5107-r1.ebuild,v 1.6 2013/09/21 21:28:37 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00_p5107-r1.ebuild,v 1.7 2013/09/21 21:44:55 floppym Exp $ EAPI=5 @@ -249,6 +249,8 @@ src_install() { } pkg_postinst() { + mount-boot_mount_boot_partition + if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" && ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then mkdir -p "${ROOT%/}/boot/grub" ln -s ../grub2/grub.cfg "${ROOT%/}/boot/grub/grub.cfg" diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild index 073c00b90e06..1e20cf8872ae 100644 --- a/sys-boot/grub/grub-9999.ebuild +++ b/sys-boot/grub/grub-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 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.106 2013/09/21 21:28:37 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999.ebuild,v 1.107 2013/09/21 21:44:55 floppym Exp $ EAPI=5 @@ -249,6 +249,8 @@ src_install() { } pkg_postinst() { + mount-boot_mount_boot_partition + if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" && ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then mkdir -p "${ROOT%/}/boot/grub" ln -s ../grub2/grub.cfg "${ROOT%/}/boot/grub/grub.cfg" |