Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/mkinitrd: mkinitrd-3.5.7-r3.ebuild
Date: Wed, 12 May 2010 14:30:09
Message-Id: 20100512143005.E4F082C4F8@corvid.gentoo.org
1 ssuominen 10/05/12 14:30:05
2
3 Modified: mkinitrd-3.5.7-r3.ebuild
4 Log:
5 Fix quoting, even though this version doesn't even compile. For completeness
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.9 sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild?r1=1.8&r2=1.9
14
15 Index: mkinitrd-3.5.7-r3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- mkinitrd-3.5.7-r3.ebuild 7 Feb 2006 02:27:47 -0000 1.8
22 +++ mkinitrd-3.5.7-r3.ebuild 12 May 2010 14:30:05 -0000 1.9
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2006 Gentoo Foundation
25 +# Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild,v 1.8 2006/02/07 02:27:47 agriffis Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild,v 1.9 2010/05/12 14:30:05 ssuominen Exp $
29
30 inherit eutils
31
32 @@ -20,34 +20,34 @@
33
34 src_unpack() {
35 unpack ${A}
36 - cd ${S}
37 + cd "${S}"
38
39 # Fix for coreutils tail behavior
40 sed -i -e 's/tail -1/tail -n 1/' mkinitrd || die "sed for tail -1 failed."
41
42 # bug 29694 -- Change vgwrapper to static vgscan and vgchange
43 - epatch ${FILESDIR}/mkinitrd-lvm_statics.diff
44 + epatch "${FILESDIR}"/mkinitrd-lvm_statics.diff
45
46 # bug 35138
47 - epatch ${FILESDIR}/mkinitrd-3.5.7-dietssp.patch
48 + epatch "${FILESDIR}"/mkinitrd-3.5.7-dietssp.patch
49
50 # SELinux policy load
51 - use selinux && epatch ${FILESDIR}/mkinitrd-selinux.diff
52 + use selinux && epatch "${FILESDIR}"/mkinitrd-selinux.diff
53
54 # we don't always need diet support.
55 - sed -i -e s/'=diet '/=/g ${S}/nash/Makefile
56 + sed -i -e s/'=diet '/=/g "${S}"/nash/Makefile
57 }
58
59 src_compile() {
60 - cd ${S}/nash
61 + cd "${S}"/nash
62 emake || die "nash compile failed."
63
64 - cd ${S}/grubby
65 + cd "${S}"/grubby
66 emake || die "grubby compile failed."
67 }
68
69 src_install() {
70 into /
71 - dosbin ${S}/grubby/grubby ${S}/nash/nash ${S}/mkinitrd
72 - doman ${S}/grubby/grubby.8 ${S}/nash/nash.8 ${S}/mkinitrd.8
73 + dosbin "${S}"/grubby/grubby "${S}"/nash/nash "${S}"/mkinitrd
74 + doman "${S}"/grubby/grubby.8 "${S}"/nash/nash.8 "${S}"/mkinitrd.8
75 }