diff --git a/BuildLiveCD b/BuildLiveCD index afb598a1..d048e642 100755 --- a/BuildLiveCD +++ b/BuildLiveCD @@ -30,12 +30,12 @@ SUBARCHARG="" NEWSUITE="maverick" SUITES="" PROPOSED="" -IMAGEFORMAT="squashfs" +IMAGEFORMAT="" while getopts :s:d:f:p name; do case $name in s) SUBARCH="$OPTARG";; d) NEWSUITE="$OPTARG";; - f) IMAGEFORMAT="$OPTARG";; + f) IMAGEFORMAT="-f$OPTARG";; p) PROPOSED="-p";; esac; done; shift $((OPTIND-1)) @@ -120,7 +120,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} -f${IMAGEFORMAT} ${ARCHARG} ${IMAGEARG} $arg" > ${LOG} 2>&1; then + if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && /usr/sbin/livecd.sh ${SUBARCHARG} ${PROPOSED} -d${STE} ${IMAGEFORMAT} ${ARCHARG} ${IMAGEARG} $arg" > ${LOG} 2>&1; then rm -f ${PUBDIR}current ln -sf ${NOW} ${PUBDIR}current diff --git a/debian/changelog b/debian/changelog index bbc76f3d..7f573d2f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (1.121) UNRELEASED; urgency=low + + * BuildLiveCD: only pass -f if we were told it, since older chroots don't + support it. + + -- LaMont Jones Wed, 16 Jun 2010 16:44:24 -0600 + livecd-rootfs (1.120) maverick; urgency=low * add special case to ubuntu-netbook on omap3 and 4, we want jasper instead of