From dd108cd397b20556155066d5e2614c90b8731998 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 30 Jun 2012 07:13:25 +0100 Subject: [PATCH] BuildLiveCD: If the -p option was used, pass PROPOSED=1 to 'lb config'. --- BuildLiveCD | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BuildLiveCD b/BuildLiveCD index 8444e09e..9cd17418 100755 --- a/BuildLiveCD +++ b/BuildLiveCD @@ -145,7 +145,7 @@ for STE in $SUITES; do if $LIVE_BUILD; then $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && rm -rf auto && mkdir -p auto && for f in config build clean; do ln -s /usr/share/livecd-rootfs/live-build/auto/\$f auto/; done" >> ${LOG} 2>&1 || true $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && lb clean --purge" >> ${LOG} 2>&1 || true - if ! $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && SUITE=${STE} PROJECT=${FS} SUBPROJECT=${SUBPROJECT} ARCH=${ARCH} SUBARCH=${SUBARCH} IMAGEFORMAT=${IMAGEFORMAT} lb config" >> ${LOG} 2>&1; then + if ! $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && SUITE=${STE} PROJECT=${FS} SUBPROJECT=${SUBPROJECT} ARCH=${ARCH} SUBARCH=${SUBARCH} IMAGEFORMAT=${IMAGEFORMAT} PROPOSED=${PROPOSED:+1} lb config" >> ${LOG} 2>&1; then exit 1 fi COMMAND="PROJECT=${FS} SUBPROJECT=${SUBPROJECT} ARCH=${ARCH} SUBARCH=${SUBARCH} lb build" diff --git a/debian/changelog b/debian/changelog index 14f8098b..79962da7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ livecd-rootfs (2.68) UNRELEASED; urgency=low * live-build/auto/config: Emit sources.list entries for -proposed if the environment variable PROPOSED is set (LP: #1019514). + * BuildLiveCD: If the -p option was used, pass PROPOSED=1 to 'lb config'. -- Colin Watson Sat, 30 Jun 2012 07:10:04 +0100