From: Mike Frysinger Date: Sun, 16 Feb 2014 11:57:30 +0000 (-0500) Subject: chroot: clear out vars set by CrOS X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=917d2f987ff1e8f3505724bff95e89fe784bd308;p=home.git chroot: clear out vars set by CrOS --- diff --git a/.bin/custom-chroot b/.bin/custom-chroot index c6e3164..324405c 100755 --- a/.bin/custom-chroot +++ b/.bin/custom-chroot @@ -134,6 +134,8 @@ main() { fi fi + # Doubtful these settings we want to leak into the chroot. + unset ROOT PORTAGE_CONFIGROOT LD_LIBRARY_PATH unset LS_COLORS # format changes over time [[ $# -eq 0 ]] && set -- env HOME=/root /bin/bash -l exec \