summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-07-04 18:47:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-07-04 18:47:53 +0000
commitcee5f29d0a0ef5c05c79e4b35e1b1f3281db1835 (patch)
treebb0dab38201e826ffa8efc1a62af7846609d84c0 /sys-boot/grub-static
parentBug #255271: check for IA32_EMULATION on 64-bit, as we are building a 32-bit ... (diff)
downloadgentoo-2-cee5f29d0a0ef5c05c79e4b35e1b1f3281db1835.tar.gz
gentoo-2-cee5f29d0a0ef5c05c79e4b35e1b1f3281db1835.tar.bz2
gentoo-2-cee5f29d0a0ef5c05c79e4b35e1b1f3281db1835.zip
Port from sys-boot/grub: Bug #261857: easier install with $ROOT usage.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/grub-static')
-rw-r--r--sys-boot/grub-static/ChangeLog6
-rw-r--r--sys-boot/grub-static/grub-static-0.97-r9.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-boot/grub-static/ChangeLog b/sys-boot/grub-static/ChangeLog
index a66bb292b688..2222ff80b4a9 100644
--- a/sys-boot/grub-static/ChangeLog
+++ b/sys-boot/grub-static/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-boot/grub-static
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/ChangeLog,v 1.21 2009/07/04 18:46:39 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/ChangeLog,v 1.22 2009/07/04 18:47:53 robbat2 Exp $
+
+ 04 Jul 2009; Robin H. Johnson <robbat2@gentoo.org>
+ grub-static-0.97-r9.ebuild:
+ Port from sys-boot/grub: Bug #261857: easier install with $ROOT usage.
04 Jul 2009; Robin H. Johnson <robbat2@gentoo.org>
grub-static-0.97-r9.ebuild:
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 3844eac919bb..ea9a2b3dff93 100644
--- a/sys-boot/grub-static/grub-static-0.97-r9.ebuild
+++ b/sys-boot/grub-static/grub-static-0.97-r9.ebuild
@@ -1,6 +1,6 @@
# 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.4 2009/07/04 18:46:39 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild,v 1.5 2009/07/04 18:47:53 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
@@ -42,7 +42,7 @@ setup_boot_dir() {
local boot_dir=$1
local dir=${boot_dir}
- [[ ! -e ${dir} ]] && die "${dir} does not exist!"
+ mkdir -p "${dir}"
[[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot"
dir="${dir}/grub"
if [[ ! -e ${dir} ]] ; then