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
|
||||
rm -f packages
|
||||
case "${PROGNAME}" in
|
||||
clfs)
|
||||
if [[ "${PROGNAME}" != "blfs" ]] ; then
|
||||
echo -n "Creating <${PROGNAME}> specific packages file"
|
||||
grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \
|
||||
-e 's@">@"@' \
|
||||
-e '/generic/d' > packages
|
||||
-e 's@">@"@' > packages
|
||||
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
|
||||
fi
|
||||
|
||||
# Done. Moving on...
|
||||
get_sources
|
||||
|
|
Reference in a new issue