mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
make_chroot: clean up final log info
When we create a chroot for the first time, we see: ... Exiting: Nothing left to do; exiting. :) Elapsed time: 5m10s cros_sdk: All set up. To enter the chroot, run:" cros_sdk: $ cros_sdk --enter " CAUTION: Do *NOT* rm -rf the chroot directory; if there are stale bind mounts you may end up deleting your source tree too. To unmount and delete the chroot cleanly, use: $ cros_sdk --delete (cr) (v) vapier@vapier ~/trunk/src/scripts $ Kill the spurious double quotes, add new lines to make the text easier to pick out from the previous command/new prompt, and only show the sdk prefix on the first line. BUG=None TEST=`cros_sdk --delete && cros_sdk` looks nice Change-Id: Iba0ee68035fffe6fc946e9b3476cc0d0b55abfc5 Reviewed-on: https://gerrit.chromium.org/gerrit/16075 Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
a829f3392f
commit
bdc4fb1998
@ -474,11 +474,13 @@ fi
|
||||
print_time_elapsed
|
||||
|
||||
cat <<EOF
|
||||
${CROS_LOG_PREFIX:-cros_sdk}: All set up. To enter the chroot, run:"
|
||||
${CROS_LOG_PREFIX:-cros_sdk}: $ cros_sdk --enter $CHROOT_EXAMPLE_OPT"
|
||||
|
||||
${CROS_LOG_PREFIX:-cros_sdk}: All set up. To enter the chroot, run:
|
||||
$ cros_sdk --enter $CHROOT_EXAMPLE_OPT
|
||||
|
||||
CAUTION: Do *NOT* rm -rf the chroot directory; if there are stale bind
|
||||
mounts you may end up deleting your source tree too. To unmount and
|
||||
delete the chroot cleanly, use:
|
||||
$ cros_sdk --delete $CHROOT_EXAMPLE_OPT
|
||||
|
||||
EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user