In the boot method there is also some housekeeping needed.

This commit is contained in:
Manuel Canales Esparcia 2006-09-16 17:58:54 +00:00
parent 83c3752582
commit 3f90849d8a

View file

@ -1271,6 +1271,7 @@ cat << EOF
all: ck_UID mk_SETUP mk_CROSS mk_SUDO all: ck_UID mk_SETUP mk_CROSS mk_SUDO
@sudo make restore-luser-env @sudo make restore-luser-env
@sudo make do-housekeeping
@\$(call echo_boot_finished,$VERSION) @\$(call echo_boot_finished,$VERSION)
makesys: mk_FINAL makesys: mk_FINAL
@ -1319,6 +1320,13 @@ AS_LUSER: $cross_tools $temptools ${chroottools}${boottools}
SUDO: $orphan_scripts SUDO: $orphan_scripts
AS_ROOT: $testsuitetools $basicsystem $bootscripttools $bootabletools 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 EOF
) >> $MKFILE ) >> $MKFILE
fi fi