Commit 8732195f authored by Natanael Copa's avatar Natanael Copa
Browse files

alpine.mk: wait with calculating dir size til the dir is filled up

parent 3af6730c
......@@ -229,7 +229,7 @@ $(ISO_SHA1): $(ISO)
# USB image
#
USBIMG := $(ALPINE_NAME)-$(ALPINE_RELEASE)-$(ALPINE_ARCH).img
USBIMG_SIZE := $(shell echo $$(( `du -s $(ISO_DIR) | awk '{print $$1}'` + 8192 )) )
USBIMG_SIZE = $(shell echo $$(( `du -s $(ISO_DIR) | awk '{print $$1}'` + 8192 )) )
MBRPATH := /usr/share/syslinux/mbr.bin
# the offset where the frist partition is found
USBIMG_OFFSET := 16384
......
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