Changeset 6921b21
- Timestamp:
- 07/30/2006 03:13:03 PM (18 years ago)
- Branches:
- 1.0
- Children:
- d82b935
- Parents:
- b8020ac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
README.PACO
rb8020ac r6921b21 2 2 # # 3 3 # README FILE FOR JHALFS PACO PATCH # 4 # By: Tor Olav Stava # 5 # (torstava@broadpark.no # 4 6 # # 5 7 ########################################### 6 7 8 ##### NOTES #####9 10 Patch author: Tor Olav Stava (t-ol-sta@online.no)11 12 Any comments directly regarding the patch should be directed to the author13 or the ALFS mailing list.14 15 The patch author is not a member of the ALFS team, and all work is done16 on a voluntary basis.17 8 18 9 … … 20 11 21 12 This patch will enable the paco pacKAGE oRGANIZER to be used with jhalfs. 22 At the moment only the LFS, BLFS, and HLFS-glibc parts are supported. 23 24 25 ##### PREREQUISITES ##### 26 27 Before using jhalfs you should have some experience with LFS. 28 29 If you don't know what LFS is about, then head over to 30 http://www.linuxfromscratch.org/lfs and start from there. 13 At the moment only the LFS and HLFS-glibc parts are supported. 31 14 32 15 … … 40 23 41 24 3. Run the wanted script. 42 (Only ./lfs ./hlfs --model glibc, and ./blfsif you want to use paco)25 (Only ./lfs or ./hlfs --model glibc if you want to use paco) 43 26 44 27 4. Download the paco source package to the $BUILDDIR/sources dir. 45 paco-1.10. 8or later is recommended.28 paco-1.10.10 or later is recommended. 46 29 If using a newer paco version, remember to update also the 47 30 PACO_VERSION variable. 48 31 49 32 5. Run make. 33 34 35 ##### PREREQUISITES ##### 36 37 Before using jhalfs you should have some experience with LFS. 38 39 If you don't know what LFS is about, then head over to 40 http://www.linuxfromscratch.org/lfs and start from there. 41 42 43 ##### NOTES ##### 44 45 Patch author: Tor Olav Stava (torstava@broadpark.no) 46 Any comments directly regarding the patch should be directed to the author 47 or the ALFS mailing list. The patch author is not a member of the ALFS team, 48 and all work is done on a voluntary basis. 50 49 51 50 -
contrib/jhalfs-paco.patch
rb8020ac r6921b21 1 1 Index: LFS/master.sh 2 2 =================================================================== 3 --- LFS/master.sh (revision 28 29)3 --- LFS/master.sh (revision 2862) 4 4 +++ LFS/master.sh (working copy) 5 @@ -17 6,6 +176,11 @@5 @@ -173,6 +173,11 @@ 6 6 # Keep the script file name 7 7 this_script=`basename $file` … … 15 15 # dependencies and target creation. 16 16 case "${this_script}" in 17 @@ -18 3,6 +188,18 @@17 @@ -180,6 +185,18 @@ 18 18 *stripping*) [[ "${STRIP}" = "0" ]] && continue ;; 19 19 esac … … 34 34 name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@'` 35 35 36 @@ -23 5,7 +252,9 @@36 @@ -232,7 +249,9 @@ 37 37 # and not to use chroot. 38 38 case "${this_script}" in … … 45 45 46 46 # Remove the build directory(ies) except if the package build fails. 47 @@ -25 5,6 +274,16 @@47 @@ -252,6 +271,16 @@ 48 48 PREV=${this_script}${N} 49 49 # Set system_build envar for iteration targets … … 62 62 } 63 63 64 @@ -31 5,8 +344,18 @@64 @@ -312,8 +341,18 @@ 65 65 else 66 66 wrt_run_as_chroot2 "$this_script" "$file" … … 83 83 Index: LFS/lfs.xsl 84 84 =================================================================== 85 --- LFS/lfs.xsl (revision 28 29)85 --- LFS/lfs.xsl (revision 2862) 86 86 +++ LFS/lfs.xsl (working copy) 87 87 @@ -32,6 +32,9 @@ … … 95 95 <xsl:apply-templates select="//sect1"/> 96 96 </xsl:template> 97 @@ -20 0,6 +203,33 @@97 @@ -206,6 +209,33 @@ 98 98 <xsl:apply-templates/> 99 99 <xsl:text> || true
</xsl:text> … … 148 148 Index: common/config 149 149 =================================================================== 150 --- common/config (revision 28 29)150 --- common/config (revision 2862) 151 151 +++ common/config (working copy) 152 152 @@ -86,6 +86,14 @@ … … 157 157 +#--- Use paco? 0(no)/1(yes) 158 158 +USE_PACO=1 159 +PACO_VERSION=1.10. 8159 +PACO_VERSION=1.10.10 160 160 + 161 161 +#--- Name of the Paco source package … … 177 177 Index: common/func_validate_configs.sh 178 178 =================================================================== 179 --- common/func_validate_configs.sh (revision 28 29)179 --- common/func_validate_configs.sh (revision 2862) 180 180 +++ common/func_validate_configs.sh (working copy) 181 181 @@ -84,9 +84,9 @@ … … 431 431 Index: common/common-functions 432 432 =================================================================== 433 --- common/common-functions (revision 28 29)433 --- common/common-functions (revision 2862) 434 434 +++ common/common-functions (working copy) 435 435 @@ -69,6 +69,9 @@ … … 461 461 Index: HLFS/hlfs.xsl 462 462 =================================================================== 463 --- HLFS/hlfs.xsl (revision 28 29)463 --- HLFS/hlfs.xsl (revision 2862) 464 464 +++ HLFS/hlfs.xsl (working copy) 465 465 @@ -39,6 +39,9 @@ … … 473 473 <xsl:apply-templates select="//sect1"/> 474 474 </xsl:template> 475 @@ -1 91,6 +194,10 @@475 @@ -177,6 +180,10 @@ 476 476 <!-- Fixing bootscripts installation --> 477 477 <xsl:when test="ancestor::sect1[@id='bootable-bootscripts'] and … … 484 484 <xsl:text>cd ../blfs-bootscripts-&blfs-bootscripts-version;
</xsl:text> 485 485 </xsl:when> 486 @@ -2 57,6 +264,25@@486 @@ -237,6 +244,27 @@ 487 487 <xsl:apply-templates/> 488 488 <xsl:text> || true
</xsl:text> 489 489 </xsl:when> 490 + 490 491 + <!-- paco begin --> 491 492 + <!-- General rule --> … … 495 496 + contains(string(),'install')"> 496 497 + <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so
</xsl:text> 497 + <xsl:apply-templates/> 498 + <xsl:apply-templates/> 498 499 + <xsl:text>
</xsl:text> 499 500 + </xsl:when> 500 501 + <!-- Linux-libc-headers --> 501 502 + <xsl:when test="$use_paco != '0' and $model != 'uclibc' and 502 + ancestor::sect1[@id='ch-system-linux- libc-headers'] and503 + ancestor::sect1[@id='ch-system-linux-headers'] and 503 504 + contains(string(),'install ')"> 504 505 + <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so
</xsl:text> 505 + <xsl:apply-templates/> 506 + <xsl:apply-templates/> 506 507 + <xsl:text>
</xsl:text> 507 508 + </xsl:when> 508 509 + <!-- paco end --> 510 + 509 511 <!-- The rest of commands --> 510 512 <xsl:otherwise> … … 512 514 Index: HLFS/master.sh 513 515 =================================================================== 514 --- HLFS/master.sh (revision 28 29)516 --- HLFS/master.sh (revision 2862) 515 517 +++ HLFS/master.sh (working copy) 516 @@ -250,6 +250,11 @@ 518 @@ -76,7 +76,9 @@ 519 @echo "export PKGDIR=\$(SRC)" > envars 520 EOF 521 ) >> $MKFILE.tmp 522 + wrt_paco_prep 523 wrt_run_as_chroot1 "$toolchain" "$this_script" 524 + wrt_paco_log "`echo $toolchain | sed -e 's@[0-9]\{3\}-@@'`" 525 ;; 526 527 *) 528 @@ -310,6 +312,11 @@ 517 529 # Keep the script file name 518 530 this_script=`basename $file` … … 526 538 case $this_script in 527 539 # We'll run the chroot commands differently than the others, so skip them in the 528 @@ - 259,6 +264,18 @@540 @@ -319,6 +326,18 @@ 529 541 *-stripping* ) [[ "$STRIP" = "0" ]] && continue ;; 530 542 esac … … 534 546 + if [[ -z "$N" ]]; then 535 547 + case $this_script in 536 + *linux- libc-headers)548 + *linux-headers) 537 549 + TMP_SCRIPT="$this_script" 538 + this_script=`echo $this_script | sed -e 's/linux- libc-headers/a-paco/'`550 + this_script=`echo $this_script | sed -e 's/linux-headers/a-paco/'` 539 551 + wrt_paco_inst "$this_script" 540 552 + this_script="$TMP_SCRIPT" ;; … … 545 557 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` 546 558 547 @@ -3 34,7 +351,9 @@548 wrt_ run_as_root"${this_script}" "${file}"559 @@ -385,7 +404,9 @@ 560 wrt_RunAsRoot "hlfs" "${this_script}" "${file}" 549 561 ;; 550 562 *) # The rest of Chapter06 … … 555 567 esac 556 568 # 557 @@ - 367,6 +386,16 @@569 @@ -405,6 +426,16 @@ 558 570 PREV=${this_script}${N} 559 571 # Set system_build envar for iteration targets … … 572 584 573 585 } 574 @@ -4 26,9 +455,19 @@586 @@ -463,9 +494,19 @@ 575 587 else # Initialize the log and run the script 576 588 wrt_run_as_chroot2 "${this_script}" "${file}" … … 592 604 esac 593 605 606 Index: contrib/jhalfs-paco.patch 607 =================================================================== 608 --- contrib/jhalfs-paco.patch (revision 2862) 609 +++ contrib/jhalfs-paco.patch (working copy) 610 @@ -1,8 +1,8 @@ 611 Index: LFS/master.sh 612 =================================================================== 613 ---- LFS/master.sh (revision 2829) 614 +--- LFS/master.sh (revision 2861) 615 +++ LFS/master.sh (working copy) 616 -@@ -176,6 +176,11 @@ 617 +@@ -173,6 +173,11 @@ 618 # Keep the script file name 619 this_script=`basename $file` 620 621 @@ -14,7 +14,7 @@ 622 # We'll run the chroot commands differently than the others, so skip them in the 623 # dependencies and target creation. 624 case "${this_script}" in 625 -@@ -183,6 +188,18 @@ 626 +@@ -180,6 +185,18 @@ 627 *stripping*) [[ "${STRIP}" = "0" ]] && continue ;; 628 esac 629 630 @@ -33,7 +33,7 @@ 631 # Grab the name of the target 632 name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@'` 633 634 -@@ -235,7 +252,9 @@ 635 +@@ -232,7 +249,9 @@ 636 # and not to use chroot. 637 case "${this_script}" in 638 *kernfs) wrt_run_as_root "${this_script}" "$file" ;; 639 @@ -44,7 +44,7 @@ 640 esac 641 642 # Remove the build directory(ies) except if the package build fails. 643 -@@ -255,6 +274,16 @@ 644 +@@ -252,6 +271,16 @@ 645 PREV=${this_script}${N} 646 # Set system_build envar for iteration targets 647 system_build=$chapter6 648 @@ -61,7 +61,7 @@ 649 done # end for file in chapter06/* 650 } 651 652 -@@ -315,8 +344,18 @@ 653 +@@ -312,8 +341,18 @@ 654 else 655 wrt_run_as_chroot2 "$this_script" "$file" 656 fi 657 @@ -82,7 +82,7 @@ 658 659 Index: LFS/lfs.xsl 660 =================================================================== 661 ---- LFS/lfs.xsl (revision 2829) 662 +--- LFS/lfs.xsl (revision 2861) 663 +++ LFS/lfs.xsl (working copy) 664 @@ -32,6 +32,9 @@ 665 <!-- Locale settings --> 666 @@ -94,7 +94,7 @@ 667 <xsl:template match="/"> 668 <xsl:apply-templates select="//sect1"/> 669 </xsl:template> 670 -@@ -200,6 +203,33 @@ 671 +@@ -206,6 +209,33 @@ 672 <xsl:apply-templates/> 673 <xsl:text> || true
</xsl:text> 674 </xsl:when> 675 @@ -147,7 +147,7 @@ 676 +make logme 677 Index: common/config 678 =================================================================== 679 ---- common/config (revision 2829) 680 +--- common/config (revision 2861) 681 +++ common/config (working copy) 682 @@ -86,6 +86,14 @@ 683 #--- Run farce testing 0(no)/1(yes) 684 @@ -156,7 +156,7 @@ 685 +#==== PACO VARIABLES ==== 686 +#--- Use paco? 0(no)/1(yes) 687 +USE_PACO=1 688 -+PACO_VERSION=1.10.8 689 ++PACO_VERSION=1.10.10 690 + 691 +#--- Name of the Paco source package 692 +PACO_FILE=paco-$PACO_VERSION.tar.* 693 @@ -176,22 +176,24 @@ 694 +LD_PRELOAD=/usr/lib/libpaco-log.so 695 Index: common/func_validate_configs.sh 696 =================================================================== 697 ---- common/func_validate_configs.sh (revision 2829) 698 +--- common/func_validate_configs.sh (revision 2861) 699 +++ common/func_validate_configs.sh (working copy) 700 -@@ -84,9 +84,9 @@ 701 +@@ -86,10 +86,10 @@ 702 inline_doc 703 704 # First internal variables, then the ones that change the book's flavour, and lastly system configuration variables 705 -- local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP PAGE TIMEZONE LANG LC_ALL" 706 -- local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG" 707 -- local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG" 708 -+ local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP PAGE TIMEZONE LANG LC_ALL" 709 -+ local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG" 710 -+ local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG" 711 +- local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP PAGE TIMEZONE LANG LC_ALL" 712 +- local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG" 713 +- local -r clfs2_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE ARCH TARGET OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG" 714 +- local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG" 715 ++ local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP PAGE TIMEZONE LANG LC_ALL" 716 ++ local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG" 717 ++ local -r clfs2_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE ARCH TARGET OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG" 718 ++ local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG" 719 720 local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,' 721 local -r ERROR_MSG_pt2=' check the config file ${BOLD}${GREEN}\<$(echo $PROGNAME | tr [a-z] [A-Z])/config\> or \<common/config\>${OFF}' 722 -@@ -176,6 +176,7 @@ 723 +@@ -179,6 +179,7 @@ 724 [[ "$GETPKG" = "1" ]] && validate_against_str "x0x x1x" 725 fi ;; 726 RUNMAKE) validate_against_str "x0x x1x" ;; 727 @@ -430,7 +432,7 @@ 728 +make logme 729 Index: common/common-functions 730 =================================================================== 731 ---- common/common-functions (revision 2829) 732 +--- common/common-functions (revision 2861) 733 +++ common/common-functions (working copy) 734 @@ -69,6 +69,9 @@ 735 in the configuration file has the proper packages and patches for the 736 @@ -442,7 +444,7 @@ 737 ${BOLD} -O, --optimize${OFF} 738 Optimize [0-2] 739 0 = no optimization 740 -@@ -733,6 +736,7 @@ 741 +@@ -759,6 +762,7 @@ 742 --stringparam lc_all $LC_ALL \ 743 --stringparam keymap $KEYMAP \ 744 --stringparam grsecurity_host $GRSECURITY_HOST \ 745 @@ -450,7 +452,7 @@ 746 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 747 ;; 748 lfs) 749 -@@ -744,6 +748,7 @@ 750 +@@ -770,6 +774,7 @@ 751 --stringparam timezone $TIMEZONE \ 752 --stringparam page $PAGE \ 753 --stringparam lang $LANG \ 754 @@ -460,7 +462,7 @@ 755 *) exit 1 ;; 756 Index: HLFS/hlfs.xsl 757 =================================================================== 758 ---- HLFS/hlfs.xsl (revision 2829) 759 +--- HLFS/hlfs.xsl (revision 2861) 760 +++ HLFS/hlfs.xsl (working copy) 761 @@ -39,6 +39,9 @@ 762 <xsl:param name="lang" select="C"/> 763 @@ -472,7 +474,7 @@ 764 <xsl:template match="/"> 765 <xsl:apply-templates select="//sect1"/> 766 </xsl:template> 767 -@@ -191,6 +194,10 @@ 768 +@@ -177,6 +180,10 @@ 769 <!-- Fixing bootscripts installation --> 770 <xsl:when test="ancestor::sect1[@id='bootable-bootscripts'] and 771 string() = 'make install'"> 772 @@ -483,10 +485,11 @@ 773 <xsl:text>make install
</xsl:text> 774 <xsl:text>cd ../blfs-bootscripts-&blfs-bootscripts-version;
</xsl:text> 775 </xsl:when> 776 -@@ -257,6 +264,25 @@ 777 +@@ -237,6 +244,27 @@ 778 <xsl:apply-templates/> 779 <xsl:text> || true
</xsl:text> 780 </xsl:when> 781 ++ 782 + <!-- paco begin --> 783 + <!-- General rule --> 784 + <xsl:when test="$use_paco != '0' and $model != 'uclibc' and 785 @@ -494,26 +497,37 @@ 786 + contains(string(),'make') and 787 + contains(string(),'install')"> 788 + <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so
</xsl:text> 789 -+ <xsl:apply-templates/> 790 ++ <xsl:apply-templates/> 791 + <xsl:text>
</xsl:text> 792 + </xsl:when> 793 + <!-- Linux-libc-headers --> 794 + <xsl:when test="$use_paco != '0' and $model != 'uclibc' and 795 -+ ancestor::sect1[@id='ch-system-linux-libc-headers'] and 796 ++ ancestor::sect1[@id='ch-system-linux-headers'] and 797 + contains(string(),'install ')"> 798 + <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so
</xsl:text> 799 -+ <xsl:apply-templates/> 800 ++ <xsl:apply-templates/> 801 + <xsl:text>
</xsl:text> 802 + </xsl:when> 803 + <!-- paco end --> 804 ++ 805 <!-- The rest of commands --> 806 <xsl:otherwise> 807 <xsl:apply-templates/> 808 Index: HLFS/master.sh 809 =================================================================== 810 ---- HLFS/master.sh (revision 2829) 811 +--- HLFS/master.sh (revision 2861) 812 +++ HLFS/master.sh (working copy) 813 -@@ -250,6 +250,11 @@ 814 +@@ -76,7 +76,9 @@ 815 + @echo "export PKGDIR=\$(SRC)" > envars 816 + EOF 817 + ) >> $MKFILE.tmp 818 ++ wrt_paco_prep 819 + wrt_run_as_chroot1 "$toolchain" "$this_script" 820 ++ wrt_paco_log "`echo $toolchain | sed -e 's@[0-9]\{3\}-@@'`" 821 + ;; 822 + 823 + *) 824 +@@ -310,6 +312,11 @@ 825 # Keep the script file name 826 this_script=`basename $file` 827 828 @@ -525,7 +539,7 @@ 829 # Skip this script depending on jhalfs.conf flags set. 830 case $this_script in 831 # We'll run the chroot commands differently than the others, so skip them in the 832 -@@ -259,6 +264,18 @@ 833 +@@ -319,6 +326,18 @@ 834 *-stripping* ) [[ "$STRIP" = "0" ]] && continue ;; 835 esac 836 837 @@ -533,9 +547,9 @@ 838 + # linux-libc-headers, except in iterartive builds 839 + if [[ -z "$N" ]]; then 840 + case $this_script in 841 -+ *linux-libc-headers) 842 ++ *linux-headers) 843 + TMP_SCRIPT="$this_script" 844 -+ this_script=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'` 845 ++ this_script=`echo $this_script | sed -e 's/linux-headers/a-paco/'` 846 + wrt_paco_inst "$this_script" 847 + this_script="$TMP_SCRIPT" ;; 848 + esac 849 @@ -544,8 +558,8 @@ 850 # Grab the name of the target 851 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` 852 853 -@@ -334,7 +351,9 @@ 854 - wrt_run_as_root "${this_script}" "${file}" 855 +@@ -385,7 +404,9 @@ 856 + wrt_RunAsRoot "hlfs" "${this_script}" "${file}" 857 ;; 858 *) # The rest of Chapter06 859 + wrt_paco_prep 860 @@ -554,7 +568,7 @@ 861 ;; 862 esac 863 # 864 -@@ -367,6 +386,16 @@ 865 +@@ -405,6 +426,16 @@ 866 PREV=${this_script}${N} 867 # Set system_build envar for iteration targets 868 system_build=$chapter6 869 @@ -571,7 +585,7 @@ 870 done # end for file in chapter06/* 871 872 } 873 -@@ -426,9 +455,19 @@ 874 +@@ -463,9 +494,19 @@ 875 else # Initialize the log and run the script 876 wrt_run_as_chroot2 "${this_script}" "${file}" 877 fi 878 @@ -593,7 +607,7 @@ 879 880 Index: master.sh 881 =================================================================== 882 ---- master.sh (revision 2829) 883 +--- master.sh (revision 2861) 884 +++ master.sh (working copy) 885 @@ -149,6 +149,8 @@ 886 887 @@ -604,7 +618,7 @@ 888 --optimize | -O ) 889 test $# = 1 && eval "$exit_missing_arg" 890 shift 891 -@@ -440,6 +442,14 @@ 892 +@@ -444,6 +446,14 @@ 893 [[ $VERBOSITY > 0 ]] && echo "OK" 894 fi 895 # 896 @@ -619,7 +633,7 @@ 897 # optimize module 898 if [[ "$OPTIMIZE" != "0" ]]; then 899 [[ $VERBOSITY > 0 ]] && echo -n "Loading optimization module..." 900 -@@ -486,6 +496,8 @@ 901 +@@ -490,6 +500,8 @@ 902 if [[ "$PWD" != "$JHALFSDIR" ]]; then 903 cp $COMMON_DIR/{makefile-functions,progress_bar.sh} $JHALFSDIR/ 904 # 594 905 Index: master.sh 595 906 =================================================================== 596 --- master.sh (revision 28 29)907 --- master.sh (revision 2862) 597 908 +++ master.sh (working copy) 598 909 @@ -149,6 +149,8 @@
Note:
See TracChangeset
for help on using the changeset viewer.