From 917d2f987ff1e8f3505724bff95e89fe784bd308 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 16 Feb 2014 06:57:30 -0500 Subject: [PATCH] chroot: clear out vars set by CrOS --- .bin/custom-chroot | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- 2.39.2