Improve the final message of build_chroot
authorMichele Tartara <mtartara@google.com>
Thu, 20 Jun 2013 09:29:25 +0000 (09:29 +0000)
committerMichele Tartara <mtartara@google.com>
Thu, 20 Jun 2013 12:27:34 +0000 (12:27 +0000)
Give more precise instructions on the next steps to actually run the
chroot.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>

devel/build_chroot

index 0625d9b..8c571e4 100755 (executable)
@@ -212,8 +212,13 @@ echo "Creating compressed schroot image..."
 cd $CHDIR
 tar czf $COMP_FILEPATH ./*
 cd $ROOT
-echo "Done"
 
 rm -rf $CHDIR
 rm -f $TEMP_CHROOT_CONF
 rm -rf $TEMP_DATA_DIR
+
+echo "Chroot created. In order to run it:"
+echo " * Copy the file $FINAL_CHROOT_CONF to $CONF_DIR/$FINAL_CHROOT_CONF"
+echo " * Copy the file $COMP_FILEPATH to $CHROOT_DIR/$COMP_FILENAME"
+
+echo "Then run \"schroot -c $CHROOTNAME\""