From 885c0f90ecf975074df4e1b92fbaf893c955d9ed Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Date: Wed, 6 Jun 2012 09:55:08 -0400 Subject: [PATCH] mk-sbuild: use and update messages to suggest using the source:$chroot way of referring to source chroots instead of $chroot-source; since the latter does not work with btrfs snapshot-based chroots. --- debian/changelog | 8 +++++++- mk-sbuild | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8921141..f35a70e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,16 @@ ubuntu-dev-tools (0.143) UNRELEASED; urgency=low + [ Iain Lane ] * backportpackage: Fix filenames searched when looking for existing .orig.tar.foo files (to determine if we need to upload it again or not). (LP: #1007908) - -- Iain Lane <laney@ubuntu.com> Sat, 02 Jun 2012 20:25:50 +0100 + [ Mathieu Trudel-Lapierre ] + * mk-sbuild: use and update messages to suggest using the source:$chroot way + of referring to source chroots instead of $chroot-source; since the latter + does not work with btrfs snapshot-based chroots. + + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 06 Jun 2012 09:53:24 -0400 ubuntu-dev-tools (0.142) unstable; urgency=low diff --git a/mk-sbuild b/mk-sbuild index e11d959..82b5b85 100755 --- a/mk-sbuild +++ b/mk-sbuild @@ -730,13 +730,13 @@ case "$SCHROOT_TYPE" in esac # Run finalization script on the "golden" copy via schroot. -sudo schroot -c "$CHROOT_NAME"-source -u root /finish.sh +sudo schroot -c source:$CHROOT_NAME -u root /finish.sh # Finished echo "" echo "Done building $CHROOT_NAME." echo "" -echo " To CHANGE the golden image: sudo schroot -c ${CHROOT_NAME}-source -u root" +echo " To CHANGE the golden image: sudo schroot -c source:${CHROOT_NAME} -u root" echo " To ENTER an image snapshot: schroot -c ${CHROOT_NAME}" echo " To BUILD within a snapshot: sbuild -A -d ${CHROOT_NAME} PACKAGE*.dsc" echo ""