From cee5f29d0a0ef5c05c79e4b35e1b1f3281db1835 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 4 Jul 2009 18:47:53 +0000 Subject: Port from sys-boot/grub: Bug #261857: easier install with $ROOT usage. (Portage version: 2.2_rc33/cvs/Linux x86_64) --- sys-boot/grub-static/ChangeLog | 6 +++++- sys-boot/grub-static/grub-static-0.97-r9.ebuild | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'sys-boot') 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 + grub-static-0.97-r9.ebuild: + Port from sys-boot/grub: Bug #261857: easier install with $ROOT usage. 04 Jul 2009; Robin H. Johnson 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 -- cgit v1.2.3-65-gdbad