X-Git-Url: http://git.plutz.net/?p=bootimage;a=blobdiff_plain;f=Makefile;h=b4d9440b7dc0c180d8ef86e6c2b511286d95fcc8;hp=33d5dd1e47005c85d41b764178f0578406b34c70;hb=b9f5a663704e1b1ab4e311a3edd340e2eca63307;hpb=702e7e3681dbf6356fa722102086289776115971 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