mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-05 00:11:10 +00:00
Import patches-unapplied version 2.46 to ubuntu/precise
Imported using git-ubuntu import. Changelog parent: 2bec67407ad8c4db36064d57bdb79da728a2c310 New changelog entries: * Guard legacy cloop code in a [ -f ], so it stops failing. * Don't add the LIVE_TASK for any PREINSTALLED images.
This commit is contained in:
parent
2bec67407a
commit
f901b5d68e
24
BuildLiveCD
24
BuildLiveCD
@ -36,7 +36,7 @@ LIVE_BUILD=false
|
||||
UBUNTU_DEFAULTS_LOCALE=""
|
||||
|
||||
while getopts :A:s:r:d:f:pa:lu: name; do case $name in
|
||||
A) ARCH="$OPTARG";;
|
||||
A) ARCH="$OPTARG";;
|
||||
s) SUBARCH="$OPTARG";;
|
||||
r) SUBPROJECT="$OPTARG";;
|
||||
d) NEWSUITE="$OPTARG";;
|
||||
@ -169,17 +169,19 @@ for STE in $SUITES; do
|
||||
done
|
||||
|
||||
for f in ${PUBDIR}${NOW}/livecd.*.cloop-*; do
|
||||
target=${f%-*}
|
||||
if [ ! -f ${target} ]; then
|
||||
for fsbs in 4096:4096 1024:65536; do
|
||||
if [ -f ${target}-${fsbs} ]; then
|
||||
ln -sf ${target##*/}-${fsbs} ${target}
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ -f ${f} ]; then
|
||||
target=${f%-*}
|
||||
if [ ! -f ${target} ]; then
|
||||
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}')
|
||||
ln -sf ${best##*/} ${target}
|
||||
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
|
||||
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}')
|
||||
ln -sf ${best##*/} ${target}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.46) precise; urgency=low
|
||||
|
||||
* Guard legacy cloop code in a [ -f ], so it stops failing.
|
||||
* Don't add the LIVE_TASK for any PREINSTALLED images.
|
||||
|
||||
-- Adam Conrad <adconrad@ubuntu.com> Mon, 09 Jan 2012 03:23:26 -0700
|
||||
|
||||
livecd-rootfs (2.45) precise; urgency=low
|
||||
|
||||
* Change default suite to precise (better late than never?)
|
||||
|
@ -187,13 +187,9 @@ case $PROJECT in
|
||||
;;
|
||||
esac
|
||||
|
||||
case $SUBPROJECT in
|
||||
wubi)
|
||||
;;
|
||||
*)
|
||||
add_task live "$LIVE_TASK"
|
||||
;;
|
||||
esac
|
||||
if [ "$PREINSTALLED" = "true" ]; then
|
||||
add_task live "$LIVE_TASK"
|
||||
fi
|
||||
|
||||
case $PROJECT in
|
||||
ubuntu-dvd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user