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

Auke Kok sofar at lunar-linux.org
Mon Feb 6 01:05:01 UTC 2006


Author: sofar
Date: 2006-02-06 01:04:56 +0000 (Mon, 06 Feb 2006)
New Revision: 18532

Modified:
   lunar-iso/trunk/scripts/proper
Log:
Zero root password on the iso, and allow discover to run without RO error stuff.


Modified: lunar-iso/trunk/scripts/proper
===================================================================
--- lunar-iso/trunk/scripts/proper	2006-02-06 00:54:17 UTC (rev 18531)
+++ lunar-iso/trunk/scripts/proper	2006-02-06 01:04:56 UTC (rev 18532)
@@ -53,9 +53,18 @@
 rm -f $ISO_TARGET/boot/${ISO_KVER}*
 rm -rf $ISO_TARGET/lib/modules/${ISO_KVER}*
 
+# delete the root password on the iso
+chroot $ISO_TARGET passwd -d root
+
 rm -f $ISO_TARGET/etc/mtab
 ln -s /proc/mounts $ISO_TARGET/etc/mtab
 
+# discover likes to write in /var/lib/discover/crash
+rm -rf $ISO_TARGET/var/lib/discover
+rmdir $ISO_TARGET/var/tmp
+ln -s /tmp $ISO_TARGET/var/tmp
+ln -s /var/tmp $ISO_TARGET/var/lib/discover
+
 # e3 symlinks
 ln -s /usr/bin/e3vi $ISO_TARGET/usr/bin/vi
 ln -s /usr/bin/zile $ISO_TARGET/usr/bin/emacs



More information about the Lunar-commits mailing list