From: Peter Palfrader Date: Sun, 21 Apr 2013 19:32:51 +0000 (+0200) Subject: Some user handholding X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=add02e2b92631c86ea77bfb8de76d19455a28a04 Some user handholding --- diff --git a/modules/porterbox/files/schroot-dsa/config b/modules/porterbox/files/schroot-dsa/config index 8ee7b635..172cae49 100644 --- a/modules/porterbox/files/schroot-dsa/config +++ b/modules/porterbox/files/schroot-dsa/config @@ -28,3 +28,9 @@ if [ -e /etc/schroot/dsa/default-mirror ]; then MIRROR=$(cat /etc/schroot/dsa/default-mirror ) fi MIRROR=${MIRROR:-cdn.debian.net} + +if [ "$(basename "$0")" = "00check" ] && + [ "$CHROOT_TYPE" = "file" ] && + [ "$STAGE" = "setup-start" ]; then + echo "Untarring chroot environment. This might take a minute or two." +fi diff --git a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources index 60223a42..74253cc2 100755 --- a/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources +++ b/modules/porterbox/files/schroot-setup.d/99porterbox-extra-sources @@ -53,5 +53,7 @@ if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then esac ;; esac - echo "You probably want to run apt-get update in this session chroot." + echo "To install build dependencies run" + echo " dd-schroot-cmd -c ${SESSION_ID} apt-get update" + echo "followed by build-dep/install as appropriate in the host system." fi