Added some patches against FAI for initial version of chroot update
[grml-live.git] / patches / fai_dirupdate_3.diff
diff --git a/patches/fai_dirupdate_3.diff b/patches/fai_dirupdate_3.diff
new file mode 100644 (file)
index 0000000..b889724
--- /dev/null
@@ -0,0 +1,11 @@
+--- /usr/sbin/fai.orig 2007-09-21 10:45:21.000000000 +0200
++++ /usr/sbin/fai      2007-09-21 10:45:22.000000000 +0200
+@@ -280,7 +280,7 @@
+     trap 'clean_exit' EXIT
+ fi
+-mkfifo $LOGDIR/logfifo
++[ -w $LOGDIR/logfifo ] || mkfifo $LOGDIR/logfifo
+ tee -a $LOGDIR/fai.log < $LOGDIR/logfifo &
+ # in bash &> redirect stdout and stderr to file
+ fstart &> $LOGDIR/logfifo