TRACKFILE should not contain LFS packages that are also in BLFS, ticket #1723

This commit is contained in:
Pierre Labastie 2019-09-25 07:50:45 +00:00
parent 0974c32271
commit a1795f0351
2 changed files with 11 additions and 9 deletions

View file

@ -98,11 +98,12 @@ if [ x$ANSWER = "xyes" ] ; then
for pack in $(grep '<productname' $LFS_FULL |
sed 's/.*>\([^<]*\)<.*/\1/' |
sort | uniq); do
if [ "$pack" = "libstdc++" -o \
"$pack" = "tcl" -o \
"$pack" = "tcl-core" -o \
"$pack" = "expect" -o \
"$pack" = "dejagnu" ]; then continue; fi
case "x$pack" in
xtcl | xexpect | xdejagnu | xgcc* | *pass[12] | xvim |
xshadow | xPython | xlinux-headers | xdbus | xsystemd )
continue ;;
esac
VERSION=$(grep -A1 ">$pack</product" $LFS_FULL |
head -n2 |
sed -n '2s/.*>\([^<]*\)<.*/\1/p')

View file

@ -205,10 +205,11 @@ update:
@for pack in \$\$(grep '<productname' ../$LFS_XML/tmp/lfs-full.xml | \\
sed 's/.*>\([^<]*\)<.*/\1/' | \\
sort | uniq); do \\
if [ "x\$\$pack" = xtcl -o \\
"x\$\$pack" = xexpect -o \\
"x\$\$pack" = xdejagnu ]; then continue; \\
fi; \\
case "x\$\$pack" in \\
xtcl | xexpect | xdejagnu | xgcc* | *pass[12] | xvim | \\
xshadow | xPython | xlinux-headers | xdbus | xsystemd )\\
continue ;; \\
esac; \\
VERSION=\$\$(grep -A1 ">\$\$pack</product" \\
../$LFS_XML/tmp/lfs-full.xml | \\
head -n2| \\