From 3f90849d8a446b1e356527809ecab4b133a0cd3c Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 16 Sep 2006 17:58:54 +0000 Subject: [PATCH] In the boot method there is also some housekeeping needed. --- CLFS/master.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CLFS/master.sh b/CLFS/master.sh index d9dc26c..e619e14 100755 --- a/CLFS/master.sh +++ b/CLFS/master.sh @@ -1271,6 +1271,7 @@ cat << EOF 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 @@ AS_LUSER: $cross_tools $temptools ${chroottools}${boottools} 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