Commit 0f68446d authored by Anton Midyukov's avatar Anton Midyukov

build.mk: initial .work/aptbox immediately after configuring the profile

This will allow apt to be request before/without the hasher is created.
parent 0837be65
......@@ -57,10 +57,13 @@ IMAGEDIR ?= $(shell \
)
LOGDIR ?= $(wildcard $(IMAGEDIR))
make-aptbox:
@mkdir -p $(BUILDDIR)/.work/pkgbox; \
mkaptbox --without-stuff --target=$(ARCH) --apt-config=$(wildcard $(APTCONF)) -- $(BUILDDIR)/.work/pkgbox
# actual build starter
# NB: our output MUST go into stderr to escape POSTPROC
build-image: profile/populate
build-image: make-aptbox profile/populate
@{ \
if [ -n "$(CHECK)" ]; then \
echo "$(TIME) skipping actual image build (CHECK is set)"; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment