Gentoo Archives: gentoo-commits

From: "Andrew Gaffney (agaffney)" <agaffney@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] releng r589 - trunk/tools
Date: Wed, 05 Nov 2008 01:47:57
Message-Id: E1KxXUv-0007h5-QM@stork.gentoo.org
1 Author: agaffney
2 Date: 2008-11-05 01:47:53 +0000 (Wed, 05 Nov 2008)
3 New Revision: 589
4
5 Modified:
6 trunk/tools/ChangeLog
7 trunk/tools/catalyst-auto
8 Log:
9 Make sure we don't mangle the source_subpath on our stage1 spec
10
11 Modified: trunk/tools/ChangeLog
12 ===================================================================
13 --- trunk/tools/ChangeLog 2008-11-05 01:41:26 UTC (rev 588)
14 +++ trunk/tools/ChangeLog 2008-11-05 01:47:53 UTC (rev 589)
15 @@ -2,6 +2,9 @@
16 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
17 # $Id$
18
19 + 05 Nov 2008; Andrew Gaffney <agaffney@g.o> catalyst-auto:
20 + Make sure we don't mangle the source_subpath on our stage1 spec
21 +
22 31 Oct 2008; Andrew Gaffney <agaffney@g.o> catalyst-auto-x86.conf:
23 Add in x86 stage2/3 for minimal CD
24
25
26 Modified: trunk/tools/catalyst-auto
27 ===================================================================
28 --- trunk/tools/catalyst-auto 2008-11-05 01:41:26 UTC (rev 588)
29 +++ trunk/tools/catalyst-auto 2008-11-05 01:47:53 UTC (rev 589)
30 @@ -149,9 +149,12 @@
31
32 sed -i 's|^version_stamp:.*$|version_stamp: '${DATESTAMP}'|' ${i}
33 sed -i 's|^snapshot:.*$|snapshot: '${DATESTAMP}'|' ${i}
34 - if [ "${old_version_stamp}" = "${old_source_subpath}" ]; then
35 +
36 + # We don't want to mangle the source_subpath for our stage1 spec
37 + if ! grep -q '^target: *stage1$' ${i}; then
38 sed -i 's|^source_subpath: \(.\+-\).\+$|source_subpath: \1'${DATESTAMP}'|' ${i}
39 fi
40 +
41 sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${DATESTAMP}'|' ${i}
42
43 kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i})