From 6df183852657981a03bbcc7ff83c504983b2938c Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Fri, 22 Feb 2013 07:40:08 -0800 Subject: [PATCH] fix(sdk_lib/make_chroot): enable git-prompt shutup the errors about git_ps1 not existing Change-Id: Ie157e4322a770efe7536aefaf34ea7d62c472f68 --- sdk_lib/make_chroot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index 8e9211f869..156bb7f7d3 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -250,6 +250,7 @@ EOF info "Running post-inst configuration hacks" early_enter_chroot env-update + # This is basically a sanity check of our chroot. If any of these # don't exist, then either bind mounts have failed, an invocation # from above is broke, or some assumption about the stage3 is no longer @@ -257,6 +258,8 @@ EOF early_enter_chroot ls -l /etc/portage/make.{conf,profile} \ /usr/local/portage/coreos/profiles/default/linux/amd64/10.0 + # Enable git terminal prompt + early_enter_chroot eselect bashcomp enable --global git-prompt target="${FLAGS_chroot}/etc/profile.d" mkdir -p "${target}" cat << EOF > "${target}/chromiumos-niceties.sh"