|
|
@ -31,6 +31,7 @@ DEFAULTSUITE="karmic"
|
|
|
|
NEWSUITE=""
|
|
|
|
NEWSUITE=""
|
|
|
|
SUITES=""
|
|
|
|
SUITES=""
|
|
|
|
PROPOSED=""
|
|
|
|
PROPOSED=""
|
|
|
|
|
|
|
|
IMAGEFORMAT=""
|
|
|
|
if [ "$1" = '-s' ]; then
|
|
|
|
if [ "$1" = '-s' ]; then
|
|
|
|
shift
|
|
|
|
shift
|
|
|
|
SUBARCH="$1"
|
|
|
|
SUBARCH="$1"
|
|
|
@ -48,6 +49,11 @@ if [ "$1" = '-d' ]; then
|
|
|
|
else
|
|
|
|
else
|
|
|
|
NEWSUITE="$DEFAULTSUITE"
|
|
|
|
NEWSUITE="$DEFAULTSUITE"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$1" = '-f' ]; then
|
|
|
|
|
|
|
|
shift
|
|
|
|
|
|
|
|
IMAGEFORMAT=$1
|
|
|
|
|
|
|
|
shift
|
|
|
|
|
|
|
|
fi
|
|
|
|
for s in $NEWSUITE; do
|
|
|
|
for s in $NEWSUITE; do
|
|
|
|
if [ -d build-${s}-live/chroot-${s} ]; then SUITES="$SUITES $s"; fi
|
|
|
|
if [ -d build-${s}-live/chroot-${s} ]; then SUITES="$SUITES $s"; fi
|
|
|
|
done
|
|
|
|
done
|
|
|
@ -128,7 +134,7 @@ for STE in $SUITES; do
|
|
|
|
rm -f ${PUBDIR}latest
|
|
|
|
rm -f ${PUBDIR}latest
|
|
|
|
ln -sf ${PUBDIR}${NOW} ${PUBDIR}latest
|
|
|
|
ln -sf ${PUBDIR}${NOW} ${PUBDIR}latest
|
|
|
|
mkdir -p ${PUBDIR}${NOW}
|
|
|
|
mkdir -p ${PUBDIR}${NOW}
|
|
|
|
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && /usr/sbin/livecd.sh ${SUBARCHARG} ${PROPOSED} -d${STE} ${ARCHARG} $arg" > ${LOG} 2>&1; then
|
|
|
|
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && /usr/sbin/livecd.sh ${SUBARCHARG} ${PROPOSED} -d${STE} ${ARCHARG} ${IMAGEFORMAT} $arg" > ${LOG} 2>&1; then
|
|
|
|
rm -f ${PUBDIR}current
|
|
|
|
rm -f ${PUBDIR}current
|
|
|
|
ln -sf ${NOW} ${PUBDIR}current
|
|
|
|
ln -sf ${NOW} ${PUBDIR}current
|
|
|
|
|
|
|
|
|
|
|
|