From add02e2b92631c86ea77bfb8de76d19455a28a04 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 21 Apr 2013 21:32:51 +0200 Subject: [PATCH] Some user handholding --- modules/porterbox/files/schroot-dsa/config | 6 ++++++ .../files/schroot-setup.d/99porterbox-extra-sources | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/porterbox/files/schroot-dsa/config b/modules/porterbox/files/schroot-dsa/config index 8ee7b635b..172cae498 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 60223a423..74253cc20 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 -- 2.20.1