From: Paul Hänsch Date: Mon, 25 Jun 2018 00:40:43 +0000 (+0200) Subject: Copy Makefile so it can be used for HDD installation X-Git-Url: http://git.plutz.net/?p=bootimage;a=commitdiff_plain;h=b9f5a663704e1b1ab4e311a3edd340e2eca63307 Copy Makefile so it can be used for HDD installation --- diff --git a/Makefile b/Makefile index 33d5dd1..b4d9440 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ stretch_%.squashfs: stretch_%_config/ mkdir -p mount mkfs.ext3 -FL SQUASHBOOT ${@} mount -t ext3 ${@} mount - cp -L vmlinuz initrd.img *.squashfs syslinux.cfg mount/ + cp -L vmlinuz initrd.img *.squashfs syslinux.cfg Makefile partitions mount/ cp $(addprefix /usr/lib/syslinux/modules/bios/, menu.c32 libutil.c32) mount/ extlinux -i mount/ umount mount/ @@ -68,3 +68,7 @@ stretch_%.squashfs: stretch_%_config/ chmod 0755 mount/home umount mount/ sync + +/dev/sd%3: /dev/sd% .FORCE + mkswap -L SWAP ${@} + sync diff --git a/partitions b/partitions index ec71edc..3bdfdd9 100644 --- a/partitions +++ b/partitions @@ -1,5 +1,6 @@ label: dos unit: sectors -: start=2048, size=6291456, type=83, bootable +: start=2048, size=3G, type=83, bootable : type=83 +: size=2G, type=82