When installing BLFS tools, the database of installed packages is populated

with LFS pacakges. But packages installed only in tools should not be in
this database. As a side note, it would be cleaner to use an xsl stylesheet
for that.
This commit is contained in:
Pierre Labastie 2018-12-08 09:04:01 +00:00
parent 1646303d91
commit 94a78ddfa2

View file

@ -219,6 +219,10 @@ 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; \\
VERSION=\$\$(grep -A1 ">\$\$pack</product" \\
../$LFS_XML/tmp/lfs-full.xml | \\
head -n2| \\