mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 10:51:11 +00:00
* Fix up BuildLiveCD to only pass -a$ARCH when building for intrepid,
and to disallow multi-suite builds (does anyone use it for this) of suites >= intrepid and <= hardy in the same invocation.
This commit is contained in:
parent
3cb4f22949
commit
af68a8201d
17
BuildLiveCD
17
BuildLiveCD
@ -54,6 +54,21 @@ done
|
||||
if [ -z "$SUITES" ]; then
|
||||
echo "No valid suites to build for" >&2 && exit 1
|
||||
fi
|
||||
for s in $SUITES; do
|
||||
case $s in
|
||||
dapper|edgy|feisty|gutsy|hardy)
|
||||
ARCHARG=""
|
||||
old_suite="yes"
|
||||
*)
|
||||
ARCHARG="-a$ARCH"
|
||||
new_suite="yes"
|
||||
esac
|
||||
done
|
||||
if [ "$new_suite" = "yes" ] && [ "$old_suite" = "yes" ]; then
|
||||
echo "Can't build images for suites older than intrepid and suites" >&2
|
||||
echo "greater than hardy at the same time, please use two invocations" >&2
|
||||
exit 1
|
||||
fi
|
||||
if (( $# == 0 )) || [ "X$1" = "Xall" ]; then
|
||||
set -- ubuntu kubuntu kubuntu-kde4 edubuntu xubuntu base
|
||||
if [ "$ARCH" = "i386" ]; then
|
||||
@ -111,7 +126,7 @@ for STE in $SUITES; do
|
||||
rm -f ${PUBDIR}latest
|
||||
ln -sf ${PUBDIR}${NOW} ${PUBDIR}latest
|
||||
mkdir -p ${PUBDIR}${NOW}
|
||||
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && /usr/sbin/livecd.sh ${SUBARCHARG} ${PROPOSED} -d${STE} -a${ARCH} $arg" > ${LOG} 2>&1; then
|
||||
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && /usr/sbin/livecd.sh ${SUBARCHARG} ${PROPOSED} -d${STE} ${ARCHARG} $arg" > ${LOG} 2>&1; then
|
||||
rm -f ${PUBDIR}current
|
||||
ln -sf ${NOW} ${PUBDIR}current
|
||||
|
||||
|
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (0.58) intrepid; urgency=low
|
||||
|
||||
* Fix up BuildLiveCD to only pass -a$ARCH when building for intrepid,
|
||||
and to disallow multi-suite builds (does anyone use it for this) of
|
||||
suites >= intrepid and <= hardy in the same invocation.
|
||||
|
||||
-- Adam Conrad <adconrad@ubuntu.com> Fri, 02 May 2008 15:44:17 -0600
|
||||
|
||||
livecd-rootfs (0.57) intrepid; urgency=low
|
||||
|
||||
* Allow the user to specify the ARCH on the livecd.sh command line,
|
||||
|
Loading…
x
Reference in New Issue
Block a user