Changeset e3f4b9a4
- Timestamp:
- 08/17/2017 11:27:07 AM (7 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 91e8eaa
- Parents:
- ce244f6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/update-lfs.sh
rce244f6 re3f4b9a4 96 96 97 97 if [ x$ANSWER = "xyes" ] ; then 98 for pack in $(grep '<productname' $LFS_FULL |99 sed 's/.*>\([^<]*\)<.*/\1/' |100 sort | uniq); do101 if [ "$pack" = "libstdc++" ]; then continue; fi102 VERSION=$(grep -A1 ">$pack</product" $LFS_FULL |103 head -n2 |104 sed -n '2s/.*>\([^<]*\)<.*/\1/p')98 for pack in $(grep '<productname' $LFS_FULL | 99 sed 's/.*>\([^<]*\)<.*/\1/' | 100 sort | uniq); do 101 if [ "$pack" = "libstdc++" ]; then continue; fi 102 VERSION=$(grep -A1 ">$pack</product" $LFS_FULL | 103 head -n2 | 104 sed -n '2s/.*>\([^<]*\)<.*/\1/p') 105 105 #Debug 106 106 echo $pack: $VERSION 107 107 #End debug 108 xsltproc --stringparam packages $MYDIR/packages.xml \ 109 --stringparam package $pack \ 110 --stringparam version $VERSION \ 111 -o track.tmp \ 112 $MYDIR/xsl/bump.xsl ${TRACKFILE} 113 sed -i "s@PACKDESC@$MYDIR/packdesc.dtd@" track.tmp 114 xmllint --format --postvalid track.tmp > ${TRACKFILE} 115 rm track.tmp 116 done 117 VERSION=$(grep 'echo.*lfs-release' $LFS_FULL | 118 sed 's/.*echo[ ]*\([^ ]*\).*/\1/') 119 #Debug 120 echo LFS-Release: $VERSION 121 #End debug 108 122 xsltproc --stringparam packages $MYDIR/packages.xml \ 109 --stringparam package $pack\123 --stringparam package LFS-Release \ 110 124 --stringparam version $VERSION \ 111 125 -o track.tmp \ … … 114 128 xmllint --format --postvalid track.tmp > ${TRACKFILE} 115 129 rm track.tmp 116 done117 130 fi 118 131 #Debug -
common/libs/func_install_blfs
rce244f6 re3f4b9a4 220 220 sed 's/.*>\([^<]*\)<.*/\1/' | \\ 221 221 sort | uniq); do \\ 222 VERSION=\$\$(grep -A1 " \$\$pack</product" \\222 VERSION=\$\$(grep -A1 ">\$\$pack</product" \\ 223 223 ../$LFS_XML/tmp/lfs-full.xml | \\ 224 224 head -n2| \\ … … 233 233 rm track.tmp; \\ 234 234 done; \\ 235 VERSION=\$\$(grep 'echo.*lfs-release' ../$LFS_XML/tmp/lfs-full.xml | \\ 236 sed 's/.*echo[ ]*\([^ ]*\).*/\1/'); \\ 237 xsltproc --stringparam packages ../packages.xml \\ 238 --stringparam package LFS-Release \\ 239 --stringparam version \$\$VERSION \\ 240 -o track.tmp \\ 241 ../xsl/bump.xsl \$(TRACKING_FILE); \\ 242 sed -i 's@PACKDESC@$BLFS_ROOT/packdesc.dtd@' track.tmp; \\ 243 xmllint --format --postvalid track.tmp > \$(TRACKING_FILE); \\ 244 rm track.tmp; \\ 235 245 for file in *-*; do \\ 236 246 xsltproc --stringparam packages ../packages.xml \\
Note:
See TracChangeset
for help on using the changeset viewer.