Make sure we don't mangle the source_subpath on our stage1 spec
svn path=/trunk/; revision=589
This commit is contained in:
parent
4c181ee9fe
commit
6ce21e12ac
|
@ -2,6 +2,9 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Id$
|
||||
|
||||
05 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||
Make sure we don't mangle the source_subpath on our stage1 spec
|
||||
|
||||
31 Oct 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto-x86.conf:
|
||||
Add in x86 stage2/3 for minimal CD
|
||||
|
||||
|
|
|
@ -149,9 +149,12 @@ for i in $(find -name '*.spec'); do
|
|||
|
||||
sed -i 's|^version_stamp:.*$|version_stamp: '${DATESTAMP}'|' ${i}
|
||||
sed -i 's|^snapshot:.*$|snapshot: '${DATESTAMP}'|' ${i}
|
||||
if [ "${old_version_stamp}" = "${old_source_subpath}" ]; then
|
||||
|
||||
# We don't want to mangle the source_subpath for our stage1 spec
|
||||
if ! grep -q '^target: *stage1$' ${i}; then
|
||||
sed -i 's|^source_subpath: \(.\+-\).\+$|source_subpath: \1'${DATESTAMP}'|' ${i}
|
||||
fi
|
||||
|
||||
sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${DATESTAMP}'|' ${i}
|
||||
|
||||
kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i})
|
||||
|
|
Loading…
Reference in a new issue