mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
fix(sdk_lib/make_chroot): enable git-prompt
shutup the errors about git_ps1 not existing Change-Id: Ie157e4322a770efe7536aefaf34ea7d62c472f68
This commit is contained in:
parent
9f544e77a2
commit
6df1838526
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user