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:
parent
1646303d91
commit
94a78ddfa2
1 changed files with 4 additions and 0 deletions
|
@ -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| \\
|
||||
|
|
Reference in a new issue