Changeset 799b0d1


Ignore:
Timestamp:
05/01/2006 09:50:33 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
6ca2943
Parents:
15cad16
Message:

Updated paco patch.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • README.PACO

    r15cad16 r799b0d1  
    4343
    44444. Download the paco source package to the $BUILDDIR/sources dir.
    45    paco-1.10.4 or later is recommended.
     45   paco-1.10.7 or later is recommended.
    4646   If using a newer paco version, remember to update also the
    4747   PACO_VERSION variable.
  • contrib/jhalfs-paco.patch

    r15cad16 r799b0d1  
    11Index: LFS/master.sh
    22===================================================================
    3 --- LFS/master.sh       (revision 2598)
     3--- LFS/master.sh       (revision 2606)
    44+++ LFS/master.sh       (working copy)
    5 @@ -183,6 +183,16 @@
     5@@ -183,6 +183,18 @@
    66       *stripping*) [[ "${STRIP}" = "0" ]] && continue ;;
    77     esac
     
    1212+      case $this_script in
    1313+        *linux-libc-headers)
    14 +          PACO_NUM=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'`
    15 +          wrt_paco_inst "$PACO_NUM" ;;
     14+          TMP_SCRIPT="$this_script"
     15+          this_script=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'`
     16+          wrt_paco_inst "$this_script"
     17+          this_script="$TMP_SCRIPT" ;;
    1618+      esac
    1719+    fi
     
    2022     name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@'`
    2123 
    22 @@ -225,7 +235,9 @@
     24@@ -225,7 +237,9 @@
    2325     # and not to use chroot.
    2426     case "${this_script}" in
     
    3133 
    3234     # Remove the build directory(ies) except if the package build fails.
    33 @@ -245,6 +257,14 @@
     35@@ -245,6 +259,16 @@
    3436     PREV=${this_script}${N}
    3537     # Set system_build envar for iteration targets
     
    3941+    case "${this_script}" in
    4042+      *readjusting)
    41 +        PACO_NUM=`echo ${this_script} | sed -e 's/readjusting/x-paco/'`
    42 +        wrt_paco_inst "$PACO_NUM" ;;
     43+        TMP_SCRIPT="$this_script"
     44+        this_script=`echo ${this_script} | sed -e 's/readjusting/x-paco/'`
     45+        wrt_paco_inst "$this_script"
     46+        this_script="$TMP_SCRIPT" ;;
    4347+    esac
    4448+
     
    4650 }
    4751 
    48 @@ -306,6 +326,14 @@
     52@@ -306,6 +330,14 @@
    4953                 wrt_run_as_chroot2 "$this_script" "$file"
    5054               fi
     
    6367Index: LFS/lfs.xsl
    6468===================================================================
    65 --- LFS/lfs.xsl (revision 2598)
     69--- LFS/lfs.xsl (revision 2606)
    6670+++ LFS/lfs.xsl (working copy)
    6771@@ -32,6 +32,9 @@
     
    111115Index: BLFS/master.sh
    112116===================================================================
    113 --- BLFS/master.sh      (revision 2598)
     117--- BLFS/master.sh      (revision 2606)
    114118+++ BLFS/master.sh      (working copy)
    115119@@ -79,6 +79,19 @@
     
    135139Index: BLFS/blfs.xsl
    136140===================================================================
    137 --- BLFS/blfs.xsl       (revision 2598)
     141--- BLFS/blfs.xsl       (revision 2606)
    138142+++ BLFS/blfs.xsl       (working copy)
    139143@@ -159,7 +159,7 @@
     
    146150           <xsl:apply-templates select="userinput" mode="screen"/>
    147151         </xsl:otherwise>
     152Index: common/paco-build-hlfs.sh
     153===================================================================
     154--- common/paco-build-hlfs.sh   (revision 0)
     155+++ common/paco-build-hlfs.sh   (revision 0)
     156@@ -0,0 +1,11 @@
     157+#!/bin/sh
     158+set -e
     159+
     160+cd $PKGDIR
     161+./configure --with-pic \
     162+       --disable-static \
     163+       --disable-gpaco \
     164+       --sysconfdir=/etc &&
     165+make &&
     166+make install &&
     167+make logme
    148168Index: common/config
    149169===================================================================
    150 --- common/config       (revision 2598)
     170--- common/config       (revision 2606)
    151171+++ common/config       (working copy)
    152 @@ -75,6 +75,14 @@
     172@@ -80,6 +80,14 @@
    153173 #--- Run farce testing 0(no)/1(yes)
    154174 RUN_FARCE=0
     
    157177+#--- Use paco? 0(no)/1(yes)
    158178+USE_PACO=1
    159 +PACO_VERSION=1.10.4
     179+PACO_VERSION=1.10.7
    160180+
    161181+#--- Name of the Paco source package
     
    165185 # Don't edit it unless you know what you are doing
    166186 
    167 @@ -87,3 +95,9 @@
     187@@ -92,3 +100,9 @@
    168188 
    169189 #--- farce report log directory
     
    177197Index: common/func_validate_configs.sh
    178198===================================================================
    179 --- common/func_validate_configs.sh     (revision 2598)
     199--- common/func_validate_configs.sh     (revision 2606)
    180200+++ common/func_validate_configs.sh     (working copy)
    181201@@ -84,10 +84,10 @@
     
    183203 
    184204   # First internal variables, then the ones that change the book's flavour, and lastly system configuration variables
    185 -  local -r blfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE HPKG         DEPEND                TEST"
    186 -  local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE HPKG RUNMAKE MODEL GRSECURITY_HOST TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG KEYMAP         PAGE TIMEZONE LANG LC_ALL"
    187 -  local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE HPKG RUNMAKE METHOD  ARCH  TARGET  TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG KEYMAP VIMLANG PAGE TIMEZONE LANG"
    188 -  local -r  lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE HPKG RUNMAKE                       TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG        VIMLANG PAGE TIMEZONE LANG"
    189 +  local -r blfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO HPKG         DEPEND                TEST"
    190 +  local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO HPKG RUNMAKE MODEL GRSECURITY_HOST TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG KEYMAP         PAGE TIMEZONE LANG LC_ALL"
    191 +  local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO HPKG RUNMAKE METHOD  ARCH  TARGET  TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG KEYMAP VIMLANG PAGE TIMEZONE LANG"
    192 +  local -r  lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO HPKG RUNMAKE                       TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG        VIMLANG PAGE TIMEZONE LANG"
     205-  local -r blfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG         DEPEND                TEST"
     206-  local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG KEYMAP         PAGE TIMEZONE LANG LC_ALL"
     207-  local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD  ARCH  TARGET  TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG KEYMAP VIMLANG PAGE TIMEZONE LANG"
     208-  local -r  lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE                       TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG        VIMLANG PAGE TIMEZONE LANG"
     209+  local -r blfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG         DEPEND                TEST"
     210+  local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG KEYMAP         PAGE TIMEZONE LANG LC_ALL"
     211+  local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE METHOD  ARCH  TARGET  TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG KEYMAP VIMLANG PAGE TIMEZONE LANG"
     212+  local -r  lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE                       TEST REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG        VIMLANG PAGE TIMEZONE LANG"
    193213 
    194214   local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,'
     
    196216@@ -179,6 +179,7 @@
    197217       # Validate general parameters..
    198        HPKG)       validate_against_str "x0x x1x" ;;
     218       GETPKG)     validate_against_str "x0x x1x" ;;
    199219       RUNMAKE)    validate_against_str "x0x x1x" ;;
    200220+      USE_PACO)   validate_against_str "x0x x1x" ;;
     
    227247+
    228248+  # Copy the paco build script to the correct directory and make it executable
    229 +  cp $JHALFSDIR/paco-build.sh $JHALFSDIR/${PROGNAME}-commands/$paco_file &&
     249+  cp $JHALFSDIR/paco-build-$PROGNAME.sh $JHALFSDIR/${PROGNAME}-commands/$paco_file &&
    230250+  chmod +x $JHALFSDIR/${PROGNAME}-commands/$paco_file
    231251+
     
    319339+}
    320340+
    321 Index: common/paco-build.sh
    322 ===================================================================
    323 --- common/paco-build.sh        (revision 0)
    324 +++ common/paco-build.sh        (revision 0)
     341Index: common/paco-build-lfs.sh
     342===================================================================
     343--- common/paco-build-lfs.sh    (revision 0)
     344+++ common/paco-build-lfs.sh    (revision 0)
    325345@@ -0,0 +1,9 @@
    326346+#!/bin/sh
     
    335355Index: common/common-functions
    336356===================================================================
    337 --- common/common-functions     (revision 2598)
     357--- common/common-functions     (revision 2606)
    338358+++ common/common-functions     (working copy)
    339359@@ -59,6 +59,9 @@
     
    347367         Run test suites  [0-3]
    348368           0 = none
    349 @@ -630,6 +633,7 @@
     369@@ -566,6 +569,7 @@
    350370                  --stringparam lc_all $LC_ALL \
    351371                  --stringparam keymap $KEYMAP \
     
    355375       ;;
    356376     lfs)
    357 @@ -641,6 +645,7 @@
     377@@ -577,6 +581,7 @@
    358378                  --stringparam timezone $TIMEZONE \
    359379                  --stringparam page $PAGE \
     
    365385Index: HLFS/hlfs.xsl
    366386===================================================================
    367 --- HLFS/hlfs.xsl       (revision 2598)
     387--- HLFS/hlfs.xsl       (revision 2606)
    368388+++ HLFS/hlfs.xsl       (working copy)
    369389@@ -39,6 +39,9 @@
     
    416436Index: HLFS/master.sh
    417437===================================================================
    418 --- HLFS/master.sh      (revision 2598)
     438--- HLFS/master.sh      (revision 2606)
    419439+++ HLFS/master.sh      (working copy)
    420 @@ -342,6 +342,16 @@
     440@@ -253,6 +253,18 @@
    421441       *-stripping* )  [[ "$STRIP" = "0" ]] && continue ;;
    422442     esac
     
    427447+      case $this_script in
    428448+        *linux-libc-headers)
    429 +          PACO_NUM=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'`
    430 +          wrt_paco_inst "$PACO_NUM" ;;
     449+          TMP_SCRIPT="$this_script"
     450+          this_script=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'`
     451+          wrt_paco_inst "$this_script"
     452+          this_script="$TMP_SCRIPT" ;;
    431453+      esac
    432454+    fi
     
    435457     name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'`
    436458 
    437 @@ -411,7 +421,9 @@
     459@@ -322,7 +334,9 @@
    438460         wrt_run_as_root "${this_script}" "${file}"
    439461         ;;
     
    445467     esac
    446468     #
    447 @@ -444,6 +456,14 @@
     469@@ -355,6 +369,16 @@
    448470     PREV=${this_script}${N}
    449471     # Set system_build envar for iteration targets
     
    453475+    case "${this_script}" in
    454476+      *readjusting)
    455 +        PACO_NUM=`echo $this_script | sed -e 's/readjusting/x-paco/'`
    456 +        wrt_paco_inst "$PACO_NUM" ;;
     477+        TMP_SCRIPT="$this_script"
     478+        this_script=`echo $this_script | sed -e 's/readjusting/x-paco/'`
     479+        wrt_paco_inst "$this_script"
     480+        this_script="$TMP_SCRIPT" ;;
    457481+    esac
    458482+
     
    460484 
    461485 }
    462 @@ -506,6 +526,15 @@
     486@@ -417,6 +441,15 @@
    463487           wrt_run_as_chroot2 "${this_script}" "${file}"
    464488         fi
     
    478502Index: master.sh
    479503===================================================================
    480 --- master.sh   (revision 2598)
     504--- master.sh   (revision 2606)
    481505+++ master.sh   (working copy)
    482506@@ -70,6 +70,11 @@
     
    501525       test $# = 1 && eval "$exit_missing_arg"
    502526       shift
    503 @@ -480,6 +487,15 @@
     527@@ -468,6 +475,15 @@
    504528 
    505529 if [[ "$PWD" != "$JHALFSDIR" ]]; then
     
    507531+  if [[ $USE_PACO != "0" ]] ; then
    508532+    if [[ $PROGNAME != "blfs" ]]; then
    509 +      cp $COMMON_DIR/paco-build.sh $JHALFSDIR/
     533+      cp $COMMON_DIR/paco-build-$PROGNAME.sh $JHALFSDIR/
    510534+    else
    511535+      echo -e "export PACO_INCLUDE=$PACO_INCLUDE" > $JHALFSDIR/pacovars
Note: See TracChangeset for help on using the changeset viewer.