Anchor regex to avoid misdetecting vmlinux-3.0-0-powerpc64-smp as a

powerpc flavour kernel.
ubuntu/precise
Colin Watson 14 years ago
parent 5b53e147aa
commit e9cd756c36

2
debian/changelog vendored

@ -2,6 +2,8 @@ livecd-rootfs (2.3) UNRELEASED; urgency=low
* Set pipefail (bash-specific) in auto/build so that we fail immediately * Set pipefail (bash-specific) in auto/build so that we fail immediately
if the main image build fails. if the main image build fails.
* Anchor regex to avoid misdetecting vmlinux-3.0-0-powerpc64-smp as a
powerpc flavour kernel.
-- Colin Watson <cjwatson@ubuntu.com> Tue, 14 Jun 2011 08:58:02 +0100 -- Colin Watson <cjwatson@ubuntu.com> Tue, 14 Jun 2011 08:58:02 +0100

@ -60,7 +60,7 @@ for OUTPUT in ext2 ext3 manifest manifest-remove size squashfs; do
done done
for FLAVOUR in $LB_LINUX_FLAVOURS; do for FLAVOUR in $LB_LINUX_FLAVOURS; do
KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-*) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)/\\1/p" )" KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-*) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )"
if [ -z "$KVERS" ]; then if [ -z "$KVERS" ]; then
echo "No kernel output for $FLAVOUR!" >&2 echo "No kernel output for $FLAVOUR!" >&2
exit 1 exit 1

Loading…
Cancel
Save