diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-03 11:43:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-03 11:43:58 +0000 |
commit | d3b36e1cf2b9ee8b1210b1ac9f236b165f65cb81 (patch) | |
tree | d39eefe4a312b8895abd7ef8a9eb7a670280f5b3 /alpine.mk | |
parent | b1b976901acb8c24d1b4e20fe51a910c397f6ad4 (diff) | |
download | abuild-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-x | alpine.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |