|
|
@ -108,7 +108,7 @@ for STE in $SUITES; do
|
|
|
|
if [ -d ~/build-${STE}-live/chroot-${STE} ]; then
|
|
|
|
if [ -d ~/build-${STE}-live/chroot-${STE} ]; then
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -qq update || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -qq update || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y dist-upgrade || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y dist-upgrade || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y install livecd-rootfs || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y install livecd-rootfs eatmydata || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y --install-recommends install ubuntu-defaults-builder || true
|
|
|
|
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y --install-recommends install ubuntu-defaults-builder || true
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
@ -149,7 +149,7 @@ for STE in $SUITES; do
|
|
|
|
else
|
|
|
|
else
|
|
|
|
COMMAND="/usr/sbin/livecd.sh ${SUBARCHARG} ${APT_SOURCE} ${PROPOSED} -d${STE} ${IMAGEFORMAT:+-f$IMAGEFORMAT} ${ARCHARG} ${IMAGEARG} ${FS}"
|
|
|
|
COMMAND="/usr/sbin/livecd.sh ${SUBARCHARG} ${APT_SOURCE} ${PROPOSED} -d${STE} ${IMAGEFORMAT:+-f$IMAGEFORMAT} ${ARCHARG} ${IMAGEARG} ${FS}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && $COMMAND" >> ${LOG} 2>&1; then
|
|
|
|
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && eatmydata -- $COMMAND" >> ${LOG} 2>&1; then
|
|
|
|
rm -f ${PUBDIR}current
|
|
|
|
rm -f ${PUBDIR}current
|
|
|
|
ln -sf ${NOW} ${PUBDIR}current
|
|
|
|
ln -sf ${NOW} ${PUBDIR}current
|
|
|
|
|
|
|
|
|
|
|
|