Now LFS, CLFS, and HLFS have a packages.ent file.
This commit is contained in:
parent
a0f0bee1e4
commit
0596057894
1 changed files with 6 additions and 25 deletions
|
@ -612,31 +612,12 @@ extract_commands() { #
|
||||||
|
|
||||||
# Create the packages file. We need it for proper Makefile creation
|
# Create the packages file. We need it for proper Makefile creation
|
||||||
rm -f packages
|
rm -f packages
|
||||||
case "${PROGNAME}" in
|
if [[ "${PROGNAME}" != "blfs" ]] ; then
|
||||||
clfs)
|
echo -n "Creating <${PROGNAME}> specific packages file"
|
||||||
echo -n "Creating <${PROGNAME}> specific packages file"
|
grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \
|
||||||
grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \
|
-e 's@">@"@' > packages
|
||||||
-e 's@">@"@' \
|
echo " ...OK"
|
||||||
-e '/generic/d' > packages
|
fi
|
||||||
echo " ...OK"
|
|
||||||
;;
|
|
||||||
|
|
||||||
hlfs)
|
|
||||||
echo -n "Creating <${PROGNAME}> specific packages file"
|
|
||||||
grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' \
|
|
||||||
-e 's@">@"@' \
|
|
||||||
-e '/generic/d' >> packages
|
|
||||||
echo " ...OK"
|
|
||||||
;;
|
|
||||||
|
|
||||||
lfs)
|
|
||||||
echo -n "Creating <${PROGNAME}> specific packages file"
|
|
||||||
grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' \
|
|
||||||
-e 's@">@"@' \
|
|
||||||
-e '/generic/d' >> packages
|
|
||||||
echo " ...OK"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Done. Moving on...
|
# Done. Moving on...
|
||||||
get_sources
|
get_sources
|
||||||
|
|
Reference in a new issue