Allow to regenerate packages database and meta-packages dependencies without updating the BLFS book sources.
This commit is contained in:
parent
26906e0f8f
commit
ecfb828667
2 changed files with 4 additions and 4 deletions
|
@ -6,8 +6,8 @@ set -e
|
|||
|
||||
declare -r SVN="svn://svn.linuxfromscratch.org"
|
||||
|
||||
BLFS_XML=$1 # Book directory
|
||||
DOC_MODE=$2 # Action to take, update or get
|
||||
DOC_MODE=$1 # Action to take, update, get or none
|
||||
BLFS_XML=$2 # Book directory
|
||||
TREE=$3 # SVN tree for the BLFS book version
|
||||
|
||||
[[ -z $BLFS_XML ]] && BLFS_XML=blfs-xml
|
||||
|
@ -70,7 +70,7 @@ inline_doc
|
|||
esac
|
||||
}
|
||||
|
||||
BOOK_Source
|
||||
[ "${DOC_MODE}" != "none" ] && BOOK_Source
|
||||
|
||||
echo -en "\n\tGenerating packages database file ..."
|
||||
generate_packages
|
||||
|
|
2
blfs
2
blfs
|
@ -132,7 +132,7 @@ sed -i 's,tracking-dir,'$TRACKING_DIR',' update_book.sh gen-makefile.sh
|
|||
if [[ -d $BLFS_XML ]] ; then
|
||||
./update_book.sh
|
||||
else
|
||||
./update_book.sh $BLFS_XML get $TREE
|
||||
./update_book.sh get $BLFS_XML $TREE
|
||||
fi
|
||||
|
||||
# Generate Config.in and run the menuconfig interface
|
||||
|
|
Reference in a new issue