From bdc4fb1998d641f14128863a82798845a1fe0a99 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 10 Feb 2012 11:20:03 -0500 Subject: [PATCH] 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 Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- sdk_lib/make_chroot.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index 384f8c1a70..64d4334a74 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -474,11 +474,13 @@ fi print_time_elapsed cat <