Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=e83b9da59221e299e720ec9a0e9d988420a2e7d3

commit e83b9da59221e299e720ec9a0e9d988420a2e7d3
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Oct 20 13:42:17 2011 +0200

more space for the usb installer

diff --git a/Makefile b/Makefile
index 9f09a14..e88b80d 100644
--- a/Makefile
+++ b/Makefile
@@ -228,9 +228,9 @@ initrd_gz: clean config.mak devices initrd
gzip -9 -c initrd-$(CARCH).img > initrd-$(CARCH).img.gz

create_usb_img:
-       dd if=/dev/zero of=frugalware-$(FWVER)-$(CARCH)-usb.img bs=516096c 
count=$(CYL_COUNT)
+       dd if=/dev/zero of=frugalware-$(FWVER)-$(CARCH)-usb.img bs=516096c 
count=$(shell echo $(CYL_COUNT) + 2 | bc)
ifneq ($(CARCH),ppc)
-       echo -e 'n\np\n1\n\n\na\n1\nw'|/sbin/fdisk -u -C$(CYL_COUNT) -S63 -H16 
frugalware-$(FWVER)-$(CARCH)-usb.img || true
+       echo -e 'n\np\n1\n\n\na\n1\nw'|/sbin/fdisk -u -C$(shell echo 
$(CYL_COUNT) + 2 | bc) -S63 -H16 frugalware-$(FWVER)-$(CARCH)-usb.img || true
endif

usb_img: check_root create_usb_img
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to