imagebuilder: pass IB=1 on checking requirements
authorPaul Spooren <mail@aparcar.org>
Wed, 10 Jun 2020 02:24:29 +0000 (22:24 -0400)
committerPaul Spooren <mail@aparcar.org>
Tue, 19 Jan 2021 22:59:49 +0000 (12:59 -1000)
The patch 4a1a58a3  build, imagebuilder: Do not require libncurses-dev
was supposed to remove libncurses as a requirement for the ImageBuilder.
However as the IB=1 is only exported during building, not for checking
requirements, it did never actually work.

This commit export IB=1 to the requirement check.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 4f3806364011aa3aef26fcab2e7b71837a777bcc)

target/imagebuilder/files/Makefile

index 2bdb2b5bde155b9565bd8e6d3cf862b737e079f1..326dd2ba2f83268398df1fab8a57d109f1b1391a 100644 (file)
@@ -84,7 +84,7 @@ PROFILE_LIST = $(foreach p,$(PROFILE_NAMES), \
 
 staging_dir/host/.prereq-build: include/prereq-build.mk
        mkdir -p tmp
-       @$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \
+       @$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq IB=1 2>/dev/null || { \
                echo "Prerequisite check failed. Use FORCE=1 to override."; \
                false; \
        }