summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-05-10 04:16:51 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-05-10 04:16:51 +0000
commitc1d2d1e6ce9ac68395d865d4a175a555af176d37 (patch)
treeca4b1c9f11657760894002b07d1ff87201565f0b /sys-boot
parentgetopt fixes in HEAD. (diff)
downloadgentoo-2-c1d2d1e6ce9ac68395d865d4a175a555af176d37.tar.gz
gentoo-2-c1d2d1e6ce9ac68395d865d4a175a555af176d37.tar.bz2
gentoo-2-c1d2d1e6ce9ac68395d865d4a175a555af176d37.zip
Bug #261857: easier install with $ROOT usage.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/ChangeLog5
-rw-r--r--sys-boot/grub/grub-0.97-r9.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog
index f02caf50c7be..355e1f23f0c5 100644
--- a/sys-boot/grub/ChangeLog
+++ b/sys-boot/grub/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/grub
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.115 2009/05/01 21:36:27 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.116 2009/05/10 04:16:51 robbat2 Exp $
+
+ 10 May 2009; Robin H. Johnson <robbat2@gentoo.org> grub-0.97-r9.ebuild:
+ Bug #261857: easier install with $ROOT usage.
01 May 2009; <chainsaw@gentoo.org> grub-9999.ebuild:
Add dev-lang/ruby as a build-time DEPEND, as autogen.sh (line 9 in SVN rev
diff --git a/sys-boot/grub/grub-0.97-r9.ebuild b/sys-boot/grub/grub-0.97-r9.ebuild
index ad537ee733f6..0098617f49a3 100644
--- a/sys-boot/grub/grub-0.97-r9.ebuild
+++ b/sys-boot/grub/grub-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/grub-0.97-r9.ebuild,v 1.1 2009/01/02 01:51:05 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r9.ebuild,v 1.2 2009/05/10 04:16:51 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
@@ -169,7 +169,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