func_install_blfs: gen_pkg_book needs the tracking file
The tracking file is needed for gen_pkg_book.sh as a first argument. Since it is called to generate the initial scriptlets, it needs to be passed the full path of the tracking file, including $BUILD_DIR. The $TOPDIR is now the second argument (and still needs to be passed too).
This commit is contained in:
parent
141d072bf6
commit
f81d8bdb6f
1 changed files with 3 additions and 1 deletions
|
@ -140,7 +140,9 @@ for OPT_VAR in CFLAGS CXXFLAGS LDFLAGS; do
|
|||
done
|
||||
|
||||
# Generates the scripts for the blfs tools dependencies (in ./scripts)
|
||||
yes "yes" | $BUILDDIR$BLFS_ROOT/gen_pkg_book.sh $BUILDDIR$BLFS_ROOT
|
||||
yes "yes" | $BUILDDIR$BLFS_ROOT/gen_pkg_book.sh \
|
||||
$BUILDDIR$TRACKING_DIR/instpkg.xml \
|
||||
$BUILDDIR$BLFS_ROOT
|
||||
|
||||
# Move the scriptlets where they should be
|
||||
sudo rm -rf $BUILDDIR$BLFS_ROOT/scripts
|
||||
|
|
Reference in a new issue