Guard legacy cloop code

ubuntu/precise
Adam Conrad 13 years ago
parent c88c08c38a
commit 7bec127afe

@ -169,17 +169,19 @@ for STE in $SUITES; do
done done
for f in ${PUBDIR}${NOW}/livecd.*.cloop-*; do for f in ${PUBDIR}${NOW}/livecd.*.cloop-*; do
target=${f%-*} if [ -f $f ]; then
if [ ! -f ${target} ]; then target=${f%-*}
for fsbs in 4096:4096 1024:65536; do
if [ -f ${target}-${fsbs} ]; then
ln -sf ${target##*/}-${fsbs} ${target}
break
fi
done
if [ ! -f ${target} ]; then if [ ! -f ${target} ]; then
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}') for fsbs in 4096:4096 1024:65536; do
ln -sf ${best##*/} ${target} if [ -f ${target}-${fsbs} ]; then
ln -sf ${target##*/}-${fsbs} ${target}
break
fi
done
if [ ! -f ${target} ]; then
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}')
ln -sf ${best##*/} ${target}
fi
fi fi
fi fi
done done

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.46) UNRELEASED; urgency=low
* Guard legacy cloop code in a [ -f ], so it stops failing.
-- Adam Conrad <adconrad@ubuntu.com> Mon, 05 Dec 2011 15:12:36 -0700
livecd-rootfs (2.45) precise; urgency=low livecd-rootfs (2.45) precise; urgency=low
* Change default suite to precise (better late than never?) * Change default suite to precise (better late than never?)

Loading…
Cancel
Save