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

This commit is contained in:
Natanael Copa 2009-06-03 08:16:17 +00:00
parent 3af6730c2f
commit 8732195fd5
1 changed files with 1 additions and 1 deletions

View File

@ -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