summaryrefslogtreecommitdiffstats
path: root/alpine.mk
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-03 11:43:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-03 11:43:58 +0000
commitd3b36e1cf2b9ee8b1210b1ac9f236b165f65cb81 (patch)
treed39eefe4a312b8895abd7ef8a9eb7a670280f5b3 /alpine.mk
parentb1b976901acb8c24d1b4e20fe51a910c397f6ad4 (diff)
downloadabuild-d3b36e1cf2b9ee8b1210b1ac9f236b165f65cb81.tar.bz2
abuild-d3b36e1cf2b9ee8b1210b1ac9f236b165f65cb81.tar.xz
alpine.mk: configureable free space on usb image
use USBIMG_FREE to set how many kB you want to have as free space on usb image.
Diffstat (limited to 'alpine.mk')
-rwxr-xr-xalpine.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/alpine.mk b/alpine.mk
index 46a71e5..65f41f9 100755
--- a/alpine.mk
+++ b/alpine.mk
@@ -229,7 +229,8 @@ $(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_FREE ?= 8192
+USBIMG_SIZE = $(shell echo $$(( `du -s $(ISO_DIR) | awk '{print $$1}'` + $(USBIMG_FREE) )) )
MBRPATH := /usr/share/syslinux/mbr.bin
# the offset where the frist partition is found
USBIMG_OFFSET := 16384