From f81d8bdb6f83a522dcd7196015f14ced5c83bda5 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 20 Dec 2021 10:30:18 +0100 Subject: [PATCH] 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). --- common/libs/func_install_blfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/libs/func_install_blfs b/common/libs/func_install_blfs index 5953c14..20761d9 100644 --- a/common/libs/func_install_blfs +++ b/common/libs/func_install_blfs @@ -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