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.
This commit is contained in:
Mathieu Trudel-Lapierre 2012-06-06 17:48:12 +01:00 committed by Stefano Rivera
commit e43486d4a1
2 changed files with 9 additions and 3 deletions

8
debian/changelog vendored
View File

@ -1,10 +1,16 @@
ubuntu-dev-tools (0.143) UNRELEASED; urgency=low ubuntu-dev-tools (0.143) UNRELEASED; urgency=low
[ Iain Lane ]
* backportpackage: Fix filenames searched when looking for existing * backportpackage: Fix filenames searched when looking for existing
.orig.tar.foo files (to determine if we need to upload it again or not). .orig.tar.foo files (to determine if we need to upload it again or not).
(LP: #1007908) (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 ubuntu-dev-tools (0.142) unstable; urgency=low

View File

@ -730,13 +730,13 @@ case "$SCHROOT_TYPE" in
esac esac
# Run finalization script on the "golden" copy via schroot. # 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 # Finished
echo "" echo ""
echo "Done building $CHROOT_NAME." echo "Done building $CHROOT_NAME."
echo "" 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 ENTER an image snapshot: schroot -c ${CHROOT_NAME}"
echo " To BUILD within a snapshot: sbuild -A -d ${CHROOT_NAME} PACKAGE*.dsc" echo " To BUILD within a snapshot: sbuild -A -d ${CHROOT_NAME} PACKAGE*.dsc"
echo "" echo ""