[Lunar-commits] r18356 - lunar-iso/trunk/scripts

Auke Kok sofar at lunar-linux.org
Thu Jan 26 23:41:29 UTC 2006


Author: sofar
Date: 2006-01-26 23:41:27 +0000 (Thu, 26 Jan 2006)
New Revision: 18356

Modified:
   lunar-iso/trunk/scripts/aaa_base
Log:
this is needed because aaa_base may be re-run after an iso was rolled - fixes mtab bug. (long outstanding one).


Modified: lunar-iso/trunk/scripts/aaa_base
===================================================================
--- lunar-iso/trunk/scripts/aaa_base	2006-01-26 23:40:39 UTC (rev 18355)
+++ lunar-iso/trunk/scripts/aaa_base	2006-01-26 23:41:27 UTC (rev 18356)
@@ -19,6 +19,8 @@
 rm -rf $ISO_TARGET/etc/ssh/ssh_host_*key $ISO_TARGET/etc/ssh/ssh_host_*key.pub
 rmdir /usr/lib/locale/*
 sed -i 's/^MAKES=.*/MAKES=/' $ISO_TARGET/etc/lunar/local/optimizations
+# this might go wrong so force it's removal before creating it as empty file:
+rm -f $ISO_TARGET/etc/mtab
 > $ISO_TARGET/etc/mtab
 
 # store the list of stuff in /var/cache that needs to be resurrected:



More information about the Lunar-commits mailing list