Changeset 30737ea8
- Timestamp:
- 08/06/2006 10:59:36 AM (18 years ago)
- Branches:
- experimental
- Children:
- fa58f81
- Parents:
- ef87eed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
ref87eed r30737ea8 46 46 useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\ 47 47 else \\ 48 touch user-clfs-exist; \\48 touch luser-exist; \\ 49 49 fi; 50 50 @chown \$(LUSER) \$(MOUNT_PT) && \\ … … 1054 1054 chapter4: chapter3 $temptools 1055 1055 1056 chapter5: chapter4 $chroottools $testsuitetools1056 chapter5: chapter4 $chroottools restore-luser-env $testsuitetools 1057 1057 1058 1058 chapter6: chapter5 $basicsystem … … 1071 1071 1072 1072 clean-chapter2: 1073 -if [ ! -f user-clfs-exist ]; then \\1073 -if [ ! -f luser-exist ]; then \\ 1074 1074 userdel \$(LUSER); \\ 1075 1075 rm -rf /home/\$(LUSER); \\ … … 1079 1079 rm -rf \$(MOUNT_PT)/cross-tools 1080 1080 rm -f /cross-tools 1081 rm -f envars user-clfs-exist1081 rm -f envars luser-exist 1082 1082 rm -f 02* logs/02*.log 1083 1083 1084 1084 clean-chapter3: 1085 1085 rm -rf \$(MOUNT_PT)/tools/* 1086 rm -f $cross_tools restore-clfs-envsources-dir1086 rm -f $cross_tools sources-dir 1087 1087 cd logs && rm -f $cross_tools && cd .. 1088 1088 … … 1098 1098 1099 1099 1100 restore- clfs-env:1100 restore-luser-env: 1101 1101 @\$(call echo_message, Building) 1102 1102 @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\ … … 1117 1117 @-umount \$(MOUNT_PT)/sys 1118 1118 @-umount \$(MOUNT_PT)/proc 1119 @-if [ ! -f user-clfs-exist ]; then \\1119 @-if [ ! -f luser-exist ]; then \\ 1120 1120 userdel \$(LUSER); \\ 1121 1121 rm -rf /home/\$(LUSER); \\ … … 1137 1137 $temptools \ 1138 1138 $chroottools \ 1139 $boottools 1139 $boottools restore-luser-env 1140 1140 @\$(call echo_boot_finished,$VERSION) 1141 1141 … … 1153 1153 1154 1154 clean-jhalfs: 1155 -if [ ! -f user-clfs-exist ]; then \\1155 -if [ ! -f luser-exist ]; then \\ 1156 1156 userdel \$(LUSER); \\ 1157 1157 rm -rf /home/\$(LUSER); \\ … … 1161 1161 rm -rf \$(MOUNT_PT)/cross-tools 1162 1162 rm -f /cross-tools 1163 rm -f envars user-clfs-exist1163 rm -f envars luser-exist 1164 1164 rm -f 02* logs/02*.log 1165 1165 … … 1167 1167 rm -rf /tools/* 1168 1168 rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools 1169 rm -f restore- clfs-env sources-dir1169 rm -f restore-luser-env sources-dir 1170 1170 cd logs && rm -f $cross_tools && rm -f $temptools && rm -f $chroottools && rm -f $boottools && cd .. 1171 1171 … … 1183 1183 1184 1184 1185 restore- clfs-env:1185 restore-luser-env: 1186 1186 @\$(call echo_message, Building) 1187 1187 @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\ -
CLFS2/master.sh
ref87eed r30737ea8 37 37 useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\ 38 38 else \\ 39 touch user-clfs-exist; \\39 touch luser-exist; \\ 40 40 fi; 41 41 @chown \$(LUSER) \$(MOUNT_PT) && \\ … … 439 439 ( 440 440 cat << EOF 441 all: chapter2 chapter3 chapter4 chapter5 chapter6 do-housekeeping441 all: chapter2 chapter3 chapter4 chapter5 chapter6 restore-luser-env do-housekeeping 442 442 @\$(call echo_finished,$VERSION) 443 443 … … 460 460 @echo "This feature does not exist for the CLFS makefile. (yet)" 461 461 462 restore- clfs-env:462 restore-luser-env: 463 463 @\$(call echo_message, Building) 464 464 @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\ … … 474 474 475 475 do-housekeeping: 476 @-if [ ! -f user-clfs-exist ]; then \\476 @-if [ ! -f luser-exist ]; then \\ 477 477 userdel \$(LUSER); \\ 478 478 rm -rf /home/\$(LUSER); \\ -
HLFS/master.sh
ref87eed r30737ea8 85 85 fi 86 86 87 # If /home/ hlfsis already present in the host, we asume that the87 # If /home/$LUSER is already present in the host, we asume that the 88 88 # hlfs user and group are also presents in the host, and a backup 89 89 # of their bash init files is made. … … 109 109 useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\ 110 110 else \\ 111 touch user-hlfs-exist; \\111 touch luser-exist; \\ 112 112 fi; 113 113 @chown \$(LUSER) \$(MOUNT_PT)/tools && \\ … … 525 525 chapter3: 020-creatingtoolsdir 021-addinguser 022-settingenvironment 526 526 527 chapter5: chapter3 $chapter5 restore- hlfs-env527 chapter5: chapter3 $chapter5 restore-luser-env 528 528 529 529 chapter6: chapter5 $chapter6 … … 539 539 540 540 clean-chapter3: 541 -if [ ! -f user-hlfs-exist ]; then \\541 -if [ ! -f luser-exist ]; then \\ 542 542 userdel \$(LUSER); \\ 543 543 rm -rf /home/\$(LUSER); \\ … … 545 545 rm -rf \$(MOUNT_PT)/tools 546 546 rm -f /tools 547 rm -f envars user-hlfs-exist547 rm -f envars luser-exist 548 548 rm -f 02* logs/02*.log 549 549 550 550 clean-chapter5: 551 551 rm -rf \$(MOUNT_PT)/tools/* 552 rm -f $chapter5 restore- hlfs-env sources-dir552 rm -f $chapter5 restore-luser-env sources-dir 553 553 cd logs && rm -f $chapter5 && cd .. 554 554 … … 567 567 cd logs && rm -f $chapter7 && cd .. 568 568 569 restore- hlfs-env:569 restore-luser-env: 570 570 @\$(call echo_message, Building) 571 571 @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\ … … 586 586 @-umount \$(MOUNT_PT)/sys 587 587 @-umount \$(MOUNT_PT)/proc 588 @-if [ ! -f user-hlfs-exist ]; then \\588 @-if [ ! -f luser-exist ]; then \\ 589 589 userdel \$(LUSER); \\ 590 590 rm -rf /home/\$(LUSER); \\ -
LFS/master.sh
ref87eed r30737ea8 14 14 echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter4${R_arrow}" 15 15 16 # If /home/ lfsis already present in the host, we asume that the16 # If /home/$LUSER is already present in the host, we asume that the 17 17 # lfs user and group are also presents in the host, and a backup 18 18 # of their bash init files is made. … … 34 34 useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\ 35 35 else \\ 36 touch user-lfs-exist; \\36 touch luser-exist; \\ 37 37 fi; 38 38 @chown \$(LUSER) \$(MOUNT_PT)/tools && \\ … … 403 403 chapter4: 020-creatingtoolsdir 021-addinguser 022-settingenvironment 404 404 405 chapter5: chapter4 $chapter5 restore-l fs-env405 chapter5: chapter4 $chapter5 restore-luser-env 406 406 407 407 chapter6: chapter5 $chapter6 … … 417 417 418 418 clean-chapter4: 419 -if [ ! -f user-lfs-exist ]; then \\419 -if [ ! -f luser-exist ]; then \\ 420 420 userdel \$(LUSER); \\ 421 421 rm -rf /home/\$(LUSER); \\ … … 423 423 rm -rf \$(MOUNT_PT)/tools 424 424 rm -f /tools 425 rm -f envars user-lfs-exist425 rm -f envars luser-exist 426 426 rm -f 02* logs/02*.log 427 427 428 428 clean-chapter5: 429 429 rm -rf \$(MOUNT_PT)/tools/* 430 rm -f $chapter5 restore-l fs-env sources-dir430 rm -f $chapter5 restore-luser-env sources-dir 431 431 cd logs && rm -f $chapter5 && cd .. 432 432 … … 445 445 cd logs && rm -f $chapter789 && cd .. 446 446 447 restore-l fs-env:447 restore-luser-env: 448 448 @\$(call echo_message, Building) 449 449 @if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\ … … 464 464 @-umount \$(MOUNT_PT)/dev/pts 465 465 @-umount \$(MOUNT_PT)/dev 466 @-if [ ! -f user-lfs-exist ]; then \\466 @-if [ ! -f luser-exist ]; then \\ 467 467 userdel \$(LUSER); \\ 468 468 rm -rf /home/\$(LUSER); \\
Note:
See TracChangeset
for help on using the changeset viewer.