[Fedora-livecd-list] creator/mayflower

Jeremy Katz katzj at fedoraproject.org
Sat Nov 17 15:08:08 UTC 2007


 creator/mayflower |    4 ++++
 1 files changed, 4 insertions(+)

New commits:
commit 2f590790a4a1222060843bad63688a9b1ca932b5
Author: Jim Meyering <jim at meyering.net>
Date:   Fri Nov 16 23:33:53 2007 +0100

    Don't let a nonstandard TMPDIR setting cause malfunction.
    
    Signed-off-by: Jim Meyering <meyering at redhat.com>

diff --git a/creator/mayflower b/creator/mayflower
index 0adb26c..5e9e097 100755
--- a/creator/mayflower
+++ b/creator/mayflower
@@ -8,6 +8,10 @@
 # Inspired by similar programs from a bunch of other distributions.
 #
 
+# Override any TMPDIR setting from the environment, since this script is
+# run in a chroot: a nonstandard $TMPDIR setting would make mktemp fail.
+export TMPDIR=/tmp
+
 usage() {
     echo "$0 [--help] <out-initrd-image> <kernel-version>"
     echo





More information about the Fedora-livecd-list mailing list