From 4e027c7e8e37512e54f4fa2241a8a9424fba3352 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 13 Jun 2012 17:52:30 +0200 Subject: [PATCH] Unset TMPDIR to avoid leaking the variable into chroot scripts We've reports that with TMPDIR being set the FAI scripts fail inside the chroot, so let's avoid that. --- grml-live | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grml-live b/grml-live index c443cd1..45b93e6 100755 --- a/grml-live +++ b/grml-live @@ -12,6 +12,9 @@ export LANG=C export LC_ALL=C +# avoid leaking into chroots +unset TMPDIR + # define function getfilesize before "set -e" if stat --help >/dev/null 2>&1; then getfilesize='stat -c %s' # GNU stat -- 2.1.4