r3124 - jhalfs/branches/experimental/CLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Sep 16 10:58:54 PDT 2006


Author: manuel
Date: 2006-09-16 11:58:54 -0600 (Sat, 16 Sep 2006)
New Revision: 3124

Modified:
   jhalfs/branches/experimental/CLFS/master.sh
Log:
In the boot method there is also some housekeeping needed.

Modified: jhalfs/branches/experimental/CLFS/master.sh
===================================================================
--- jhalfs/branches/experimental/CLFS/master.sh	2006-09-16 17:56:00 UTC (rev 3123)
+++ jhalfs/branches/experimental/CLFS/master.sh	2006-09-16 17:58:54 UTC (rev 3124)
@@ -1271,6 +1271,7 @@
 
 all:	ck_UID mk_SETUP mk_CROSS mk_SUDO
 	@sudo make restore-luser-env
+	@sudo make do-housekeeping
 	@\$(call echo_boot_finished,$VERSION)
 
 makesys: mk_FINAL
@@ -1319,6 +1320,13 @@
 SUDO:	    $orphan_scripts
 AS_ROOT:    $testsuitetools $basicsystem $bootscripttools $bootabletools
 
+do-housekeeping:
+	@-rm /tools /cross-tools
+	@-if [ ! -f luser-exist ]; then \\
+		userdel \$(LUSER); \\
+		rm -rf /home/\$(LUSER); \\
+	fi;
+
 EOF
 ) >> $MKFILE
 fi




More information about the alfs-log mailing list