Fix environment variables when building file list for core updates

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-05-24 13:17:30 +02:00
parent 6c86682e64
commit 3ddd5b66a9
2 changed files with 9 additions and 1 deletions

View File

@@ -56,7 +56,8 @@ core/%:
eval $$(cat /usr/src/config/rootfiles/$@/meta)
#Generate ROOTFILES from filelists
$(DIR_SRC)/src/scripts/archive.files \
BUILD_ARCH=$(BUILD_ARCH) BUILDTARGET=$(BUILDTARGET) KVER=$(KVER) \
$(DIR_SRC)/src/scripts/archive.files \
$(DIR_SRC)/config/rootfiles/$@/filelists \
$(DIR_SRC)/config/rootfiles/$@/files \
$(DIR_SRC)/config/rootfiles/$@/files.$(BUILD_ARCH) \

View File

@@ -19,6 +19,13 @@
# #
###############################################################################
for i in BUILD_ARCH BUILDTARGET KVER; do
if [ -z "${!i}" ]; then
echo "${i} not set" >&2
exit 1
fi
done
FILELIST=
for dir in $@; do