Squash errors from 'ls vmlinu?-*'.

ubuntu/precise
Colin Watson 14 years ago
parent e831b59f31
commit 6e2338bb4e

1
debian/changelog vendored

@ -2,6 +2,7 @@ livecd-rootfs (2.37) UNRELEASED; urgency=low
* BuildLiveCD: Fix typo that broke installing ubuntu-defaults-builder and
its recommendations.
* Squash errors from 'ls vmlinu?-*'.
-- Colin Watson <cjwatson@ubuntu.com> Mon, 12 Sep 2011 17:51:44 +0100

@ -146,7 +146,7 @@ for FLAVOUR in $LB_LINUX_FLAVOURS; do
if [ -z "$LB_LINUX_FLAVOURS" ] || [ "$LB_LINUX_FLAVOURS" = "none" ]; then
continue
fi
KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-*) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )"
KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-* 2>/dev/null || true) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )"
if [ -z "$KVERS" ]; then
if [ -e "binary/$INITFS/vmlinuz" ]; then
# already renamed by ubuntu-defaults-image

Loading…
Cancel
Save