- Timestamp:
- 09/11/2006 11:18:01 AM (18 years ago)
- Branches:
- experimental
- Children:
- e9642b9
- Parents:
- 1ba5024
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r1ba5024 r03b3eba 98 98 # DO NOT append the changingowner script. 99 99 # A hack is necessary: create script in chap5 BUT run as a dependency for 100 # chap6 CHROOT 100 # chap6 CHROOT 101 101 case "${this_script}" in 102 102 *changingowner) : ;; … … 363 363 364 364 echo "Creating Makefile... ${BOLD}START${OFF}" 365 365 366 366 cd $JHALFSDIR/${PROGNAME}-commands 367 367 368 368 # Start with a clean Makefile.tmp file 369 369 >$MKFILE 370 370 371 371 chapter4_Makefiles 372 372 chapter5_Makefiles … … 444 444 @sudo make SETUP 445 445 @touch \$@ 446 446 447 447 mk_LUSER: mk_SETUP 448 448 @\$(call echo_SULUSER_request) … … 453 453 # chroot environment. (Unless someone knows a different way) 454 454 # Manually create the /bin directory and provide link to the /tools dir. 455 # Also change the original symlink creation to include (f)orce to prevent failure due to 455 # Also change the original symlink creation to include (f)orce to prevent failure due to 456 456 # pre-existing links. 457 457 # … … 465 465 @touch \$@ 466 466 467 mk_BOOT: mk_CHROOT 467 mk_BOOT: mk_CHROOT 468 468 @\$(call echo_CHROOT_request) 469 469 @( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BOOT") 470 470 @touch \$@ 471 471 472 472 473 473 SETUP: $chapter4 … … 480 480 481 481 482 483 clean-all: clean484 rm -rf ./{lfs-commands,logs,Makefile,*.xsl,makefile-functions,packages,patches}485 486 clean: clean-chapter789 clean-chapter6 clean-chapter5 clean-chapter4487 488 482 restart: restart_code all 489 490 clean-chapter4:491 -if [ ! -f luser-exist ]; then \\492 userdel \$(LUSER); \\493 rm -rf /home/\$(LUSER); \\494 fi;495 rm -rf \$(MOUNT_PT)/tools496 rm -f /tools497 rm -f envars luser-exist498 rm -f 02* logs/02*.log499 500 clean-chapter5:501 rm -rf \$(MOUNT_PT)/tools/*502 rm -f $chapter5 restore-luser-env sources-dir503 cd logs && rm -f $chapter5 && cd ..504 505 clean-chapter6:506 -umount \$(MOUNT_PT)/sys507 -umount \$(MOUNT_PT)/proc508 -umount \$(MOUNT_PT)/dev/shm509 -umount \$(MOUNT_PT)/dev/pts510 -umount \$(MOUNT_PT)/dev511 rm -rf \$(MOUNT_PT)/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}512 rm -f $chapter6513 cd logs && rm -f $chapter6 && cd ..514 515 clean-chapter789:516 rm -f $chapter789517 cd logs && rm -f $chapter789 && cd ..518 483 519 484 restore-luser-env:
Note:
See TracChangeset
for help on using the changeset viewer.