From b9f5a663704e1b1ab4e311a3edd340e2eca63307 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 25 Jun 2018 02:40:43 +0200 Subject: [PATCH] Copy Makefile so it can be used for HDD installation --- Makefile | 6 +++++- partitions | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2