Use /var/log/grml-live.log as log file
authorMichael Prokop <devnull@localhost>
Fri, 5 Oct 2007 23:12:38 +0000 (01:12 +0200)
committerMichael Prokop <devnull@localhost>
Fri, 5 Oct 2007 23:12:38 +0000 (01:12 +0200)
debian/changelog
grml-live

index acb89c5..cc929ed 100644 (file)
@@ -7,6 +7,8 @@ grml-live (0.0.4) unstable; urgency=low
       "./MAKEDEV: No such file or directory" problem of some packages
   * Do not copy the initrd of chroot to boot/isolinux/ but instead move
     it to save a few more MBs of space.
+  * Use /var/log/grml-live.log as log file as /var/log/fai/* is too
+    dangerous because of automatic removal of the files/dirs via fai.
 
  -- Michael Prokop <mika@grml.org>  Thu, 04 Oct 2007 22:16:34 +0200
 
index 871fbb9..64e50a4 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -69,8 +69,7 @@ trap bailout 1 2 3 15
 [ -n "$RELEASENAME" ] || RELEASENAME="grml-live rocks"
 [ -n "$GRML_NAME" ] || GRML_NAME='grml'
 
-[ -n "$LOGDIR" ] || LOGDIR="/var/log/fai/dirinstall/$HOSTNAME"
-[ -d "$LOGDIR" ] || mkdir -p $LOGDIR
+[ -n "$LOGDIR" ] || LOGDIR="/var/log/"
 LOGFILE="$LOGDIR/grml-live.log"
 # }}}