mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Squash errors from 'ls vmlinu?-*'.
This commit is contained in:
parent
e831b59f31
commit
6e2338bb4e
1
debian/changelog
vendored
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…
x
Reference in New Issue
Block a user