Changeset 1838bc7
- Timestamp:
- 11/12/2006 01:50:34 PM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- d55a1a1
- Parents:
- 1f81129
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
r1f81129 r1838bc7 1100 1100 @touch \$@ 1101 1101 1102 mk_BLFS_TOOL: mk_SYSTOOLS1103 @\$(call echo_PHASE,Building BLFS-TOOLS) ; \\1102 mk_BLFS_TOOL: create-sbu_du-report 1103 @\$(call echo_PHASE,Building BLFS-TOOLS) 1104 1104 @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\ 1105 1105 sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\ 1106 1106 sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL"; \\ 1107 fi 1107 fi; 1108 1108 @touch \$@ 1109 1109 … … 1113 1113 CHROOT_JAIL: ${chroottools}${boottools} $testsuitetools $basicsystem $bootscripttools $bootabletools 1114 1114 BLFS_TOOL: $blfs_tool 1115 1116 1117 create-sbu_du-report: mk_SYSTOOLS 1118 @\$(call echo_message, Building) 1119 @if [ "\$(ADD_REPORT)" = "y" ]; then \\ 1120 ./create-sbu_du-report.sh logs $VERSION; \\ 1121 \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\ 1122 fi; 1123 @touch \$@ 1115 1124 1116 1125 do-housekeeping: … … 1128 1137 EOF 1129 1138 ) >> $MKFILE 1130 1131 # Add SBU-disk_usage report target1132 echo "create-sbu_du-report:" >> $MKFILE1133 if [[ "$REPORT" = "y" ]] ; then1134 (1135 cat << EOF1136 @\$(call echo_message, Building)1137 @./create-sbu_du-report.sh logs $VERSION1138 @\$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report)1139 @touch \$@1140 1141 EOF1142 ) >> $MKFILE1143 else echo -e "\t@true\n" >> $MKFILE; fi1144 1145 1139 1146 1140 fi -
CLFS2/master.sh
r1f81129 r1838bc7 468 468 469 469 SETUP: $host_prep 470 471 LUSER: $cross_tools $basicsystem $bootscripttools $bootable 472 473 ROOT: $chowning 474 470 LUSER: $cross_tools $basicsystem $bootscripttools $bootable 471 ROOT: $chowning 472 473 474 create-sbu_du-report: ROOT 475 @\$(call echo_message, Building) 476 @if [ "\$(ADD_REPORT)" = "y" ]; then \\ 477 ./create-sbu_du-report.sh logs $VERSION; \\ 478 \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\ 479 fi; 480 @touch \$@ 475 481 476 482 restore-luser-env: … … 496 502 ) >> $MKFILE 497 503 498 # Add SBU-disk_usage report target499 echo "create-sbu_du-report:" >> $MKFILE500 if [[ "$REPORT" = "y" ]] ; then501 (502 cat << EOF503 @\$(call echo_message, Building)504 @./create-sbu_du-report.sh logs $VERSION505 @\$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report)506 @touch \$@507 508 509 EOF510 ) >> $MKFILE511 else echo -e "\t@true\n\n" >> $MKFILE; fi512 513 504 # Bring over the items from the Makefile.tmp 514 505 cat $MKFILE.tmp >> $MKFILE … … 517 508 518 509 } 519 -
CLFS3/master.sh
r1f81129 r1838bc7 461 461 @touch \$@ 462 462 463 463 464 SETUP: $host_prep 464 465 465 LUSER: $cross_tools $basicsystem $bootscripttools $bootable 466 467 466 ROOT: $chowning 468 467 468 469 create-sbu_du-report: ROOT 470 @\$(call echo_message, Building) 471 @if [ "\$(ADD_REPORT)" = "y" ]; then \\ 472 ./create-sbu_du-report.sh logs $VERSION; \\ 473 \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\ 474 fi; 475 @touch \$@ 469 476 470 477 restore-luser-env: … … 490 497 ) >> $MKFILE 491 498 492 # Add SBU-disk_usage report target493 echo "create-sbu_du-report:" >> $MKFILE494 if [[ "$REPORT" = "y" ]] ; then495 (496 cat << EOF497 @\$(call echo_message, Building)498 @./create-sbu_du-report.sh logs $VERSION499 @\$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report)500 @touch \$@501 502 503 EOF504 ) >> $MKFILE505 else echo -e "\t@true\n\n" >> $MKFILE; fi506 507 499 # Bring over the items from the Makefile.tmp 508 500 cat $MKFILE.tmp >> $MKFILE -
Config.in
r1f81129 r1838bc7 291 291 bool "Add blfs-tool support" 292 292 default n 293 # depends on !BOOK_BLFS 294 depends on BOOK_LFS || BOOK_CLFS 293 depends on !BOOK_BLFS && !BOOK_CLFS2 && !BOOK_CLFS3 295 294 help 296 295 #--- Activating this option additional packages needed to -
HLFS/master.sh
r1f81129 r1838bc7 523 523 cat << EOF 524 524 525 all: ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report 525 all: ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL 526 526 @sudo make do-housekeeping 527 527 @\$(call echo_finished,$VERSION) … … 567 567 @touch \$@ 568 568 569 570 SETUP: $chapter3 571 572 LUSER: $chapter5 573 574 SUDO: 060-kernfs 062-changingowner 575 576 CHROOT: $chapter6 577 578 BOOT: $chapter7 579 569 mk_BLFS_TOOL: create-sbu_du-report 570 @\$(call echo_PHASE,Building BLFS-TOOLS) 571 @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\ 572 sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\ 573 sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL"; \\ 574 fi; 575 @touch \$@ 576 577 578 SETUP: $chapter3 579 LUSER: $chapter5 580 SUDO: 060-kernfs 062-changingowner 581 CHROOT: $chapter6 582 BOOT: $chapter7 583 BLFS_TOOL: $blfs_tool 584 585 586 create-sbu_du-report: mk_BOOT 587 @\$(call echo_message, Building) 588 @if [ "\$(ADD_REPORT)" = "y" ]; then \\ 589 ./create-sbu_du-report.sh logs $VERSION; \\ 590 \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\ 591 fi; 592 @touch \$@ 580 593 581 594 restore-luser-env: … … 609 622 ) >> $MKFILE 610 623 611 # Add SBU-disk_usage report target612 echo "create-sbu_du-report:" >> $MKFILE613 if [[ "$REPORT" = "y" ]] ; then614 (615 cat << EOF616 @\$(call echo_message, Building)617 @./create-sbu_du-report.sh logs $VERSION618 @\$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report)619 @touch \$@620 621 622 EOF623 ) >> $MKFILE624 else echo -e "\t@true\n\n" >> $MKFILE; fi625 626 624 # Bring over the items from the Makefile.tmp 627 625 cat $MKFILE.tmp >> $MKFILE -
LFS/master.sh
r1f81129 r1838bc7 459 459 @touch \$@ 460 460 461 462 SETUP: $chapter4 463 464 LUSER: $chapter5 465 466 SUDO: 057-changingowner 059-kernfs 467 468 CHROOT: $chapter6 469 470 BOOT: $chapter789 471 461 mk_BLFS_TOOL: create-sbu_du-report 462 @\$(call echo_PHASE,Building BLFS-TOOLS) 463 @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\ 464 sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\ 465 sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL"; \\ 466 fi; 467 @touch \$@ 468 469 470 SETUP: $chapter4 471 LUSER: $chapter5 472 SUDO: 057-changingowner 059-kernfs 473 CHROOT: $chapter6 474 BOOT: $chapter789 475 BLFS_TOOL: $blfs_tool 476 477 478 create-sbu_du-report: mk_BOOT 479 @\$(call echo_message, Building) 480 @if [ "\$(ADD_REPORT)" = "y" ]; then \\ 481 ./create-sbu_du-report.sh logs $VERSION; \\ 482 \$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report); \\ 483 fi; 484 @touch \$@ 472 485 473 486 restore-luser-env: … … 500 513 ) >> $MKFILE 501 514 502 # Add SBU-disk_usage report target503 echo "create-sbu_du-report:" >> $MKFILE504 if [[ "$REPORT" = "y" ]] ; then505 (506 cat << EOF507 @\$(call echo_message, Building)508 @./create-sbu_du-report.sh logs $VERSION509 @\$(call echo_report,$VERSION-SBU_DU-$(date --iso-8601).report)510 @touch \$@511 512 513 EOF514 ) >> $MKFILE515 else echo -e "\t@true\n\n" >> $MKFILE; fi516 517 # Add BLFS_TOOL targets518 echo "mk_BLFS_TOOL:" >> $MKFILE519 if [[ "$BLFS_TOOL" = "y" ]] ; then520 (521 cat << EOF522 @\$(call echo_CHROOT_request)523 @ sudo mkdir -p $BUILDDIR$TRACKING_DIR524 @( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL")525 @touch \$@526 527 BLFS_TOOL: $blfs_tool528 529 530 EOF531 ) >> $MKFILE532 else echo -e "\t@true\n\n" >> $MKFILE; fi533 534 515 # Bring over the items from the Makefile.tmp 535 516 cat $MKFILE.tmp >> $MKFILE -
README
r1f81129 r1838bc7 82 82 83 83 For books that support it, there is an option to install blfs-tool and its 84 dependendencies on the final system. 84 dependendencies on the final system. The pre-made build dependencies 85 scripts has been written thinking on a LFS build. For CLFS and HLFS 86 builds you may need to adjust that scripts, that are found into the 87 common/blfs-tool-deps directory in the jhalfs sources tree. 85 88 86 89 After booting the new xLFS system some steps are needed to finish -
common/libs/func_wrt_Makefile
r1f81129 r1838bc7 22 22 LGROUP = $LGROUP 23 23 SCRIPT_ROOT = $SCRIPT_ROOT 24 ADD_BLFS_TOOLS = $BLFS_TOOL25 24 26 25 BASEDIR = \$(MOUNT_PT) … … 38 37 PRT_DU = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found \$(MOUNT_PT) \`\n" 39 38 PRT_DU_CR = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n" 39 40 ADD_REPORT = $REPORT 41 ADD_BLFS_TOOLS = $BLFS_TOOL 42 40 43 41 44 export PATH := \${PATH}:/usr/sbin
Note:
See TracChangeset
for help on using the changeset viewer.