Pass tracking file to gen_pkg_book
This is needed for managing -pass1 packages, since their version can only be found in the tracking file (thanks to previous commit).
This commit is contained in:
parent
a6fbc65357
commit
b8e5cad4c0
2 changed files with 8 additions and 4 deletions
|
@ -95,7 +95,7 @@ ifneq ($(REV),sysv)
|
|||
endif
|
||||
|
||||
$(BOOK_XML): $(CONFIG_OUT)
|
||||
$(Q)$(TOPDIR)/gen_pkg_book.sh $(TOPDIR) $(BLFS_FULL) $(LFS_FULL)
|
||||
$(Q)$(TOPDIR)/gen_pkg_book.sh $(TRACKFILE) $(TOPDIR) $(BLFS_FULL) $(LFS_FULL)
|
||||
|
||||
$(CONFIG_OUT): $(CONFIG_CONFIG_IN)
|
||||
$(Q)CONFIG_="" KCONFIG_CONFIG=configuration \
|
||||
|
|
|
@ -4,15 +4,19 @@
|
|||
#
|
||||
set -e
|
||||
|
||||
TOPDIR=$1
|
||||
TRACKFILE=$1
|
||||
if test -z "$TRACKFILE"; then
|
||||
TRACKFILE=/var/lib/jhalfs/BLFS/instpkg.xml
|
||||
fi
|
||||
TOPDIR=$2
|
||||
if test -z "$TOPDIR"; then
|
||||
TOPDIR=$(pwd)
|
||||
fi
|
||||
BLFS_FULL=$2
|
||||
BLFS_FULL=$3
|
||||
if test -z "$BLFS_FULL"; then
|
||||
BLFS_FULL=${TOPDIR}/blfs-xml/tmp/blfs-full.xml
|
||||
fi
|
||||
LFS_FULL=$3
|
||||
LFS_FULL=$4
|
||||
if test -z "$LFS_FULL"; then
|
||||
LFS_FULL=${TOPDIR}/lfs-xml/tmp/lfs-full.xml
|
||||
fi
|
||||
|
|
Reference in a new issue