]> git.plutz.net Git - bootimage/commitdiff
Copy Makefile so it can be used for HDD installation
authorPaul Hänsch <paul@plutz.net>
Mon, 25 Jun 2018 00:40:43 +0000 (02:40 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 25 Jun 2018 00:40:43 +0000 (02:40 +0200)
Makefile
partitions

index 33d5dd1e47005c85d41b764178f0578406b34c70..b4d9440b7dc0c180d8ef86e6c2b511286d95fcc8 100644 (file)
--- 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
index ec71edce00d13f9a7b51734a13eadaaa13fb0ba6..3bdfdd9adf089a9abc543841eda1c130e2c99c05 100644 (file)
@@ -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