summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2010-10-03 17:39:02 +0000
committerJoseph Jezak <josejx@gentoo.org>2010-10-03 17:39:02 +0000
commitf38272b8bb6696dbb96ddd2d71adb0eab80bf78f (patch)
tree3fbfde4159d9476cb4c6514f260c7cbf9f441f25 /sys-boot
parentalpha/arm/ia64/sparc stable wrt #338221 (diff)
downloadgentoo-2-f38272b8bb6696dbb96ddd2d71adb0eab80bf78f.tar.gz
gentoo-2-f38272b8bb6696dbb96ddd2d71adb0eab80bf78f.tar.bz2
gentoo-2-f38272b8bb6696dbb96ddd2d71adb0eab80bf78f.zip
Clean up yaboot.conf installation for static package.
(Portage version: 2.1.9.13/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/yaboot/ChangeLog5
-rw-r--r--sys-boot/yaboot/yaboot-1.3.16.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-boot/yaboot/ChangeLog b/sys-boot/yaboot/ChangeLog
index 36f4b18ccd33..7b11bc2c04bf 100644
--- a/sys-boot/yaboot/ChangeLog
+++ b/sys-boot/yaboot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/yaboot
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.34 2010/10/03 17:13:16 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.35 2010/10/03 17:39:02 josejx Exp $
+
+ 03 Oct 2010; Joseph Jezak <josejx@gentoo.org> yaboot-1.3.16.ebuild:
+ Clean up yaboot.conf installation for static package.
03 Oct 2010; Joseph Jezak <josejx@gentoo.org> yaboot-1.3.16.ebuild:
Remove old ofpath patch and move patching to unpack phase.
diff --git a/sys-boot/yaboot/yaboot-1.3.16.ebuild b/sys-boot/yaboot/yaboot-1.3.16.ebuild
index fae596534fb5..f231d32c2fca 100644
--- a/sys-boot/yaboot/yaboot-1.3.16.ebuild
+++ b/sys-boot/yaboot/yaboot-1.3.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.16.ebuild,v 1.2 2010/10/03 17:13:16 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.16.ebuild,v 1.3 2010/10/03 17:39:02 josejx Exp $
inherit eutils toolchain-funcs
@@ -43,8 +43,7 @@ src_compile() {
}
src_install() {
- cp etc/yaboot.conf etc/yaboot.conf.bak
- sed -e 's/\/local//' etc/yaboot.conf >| etc/yaboot.conf.edit
- mv -f etc/yaboot.conf.edit etc/yaboot.conf
+ sed -i -e 's/\/local//' etc/yaboot.conf
make ROOT="${D}" PREFIX=/usr MANDIR=share/man install || die
+ mv "${D}/etc/yaboot.conf" "${D}/etc/yaboot.conf.sample"
}