From: Paul Hänsch Date: Mon, 25 Jun 2018 01:08:25 +0000 (+0200) Subject: put swap before home for better use with sfdisk X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=031d282c295fefead2e6609561a11e3140e144cc;p=bootimage put swap before home for better use with sfdisk --- diff --git a/Makefile b/Makefile index b4d9440..431590c 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,10 @@ stretch_%.squashfs: stretch_%_config/ sync /dev/sd%2: /dev/sd% .FORCE + mkswap -L SWAP ${@} + sync + +/dev/sd%3: /dev/sd% .FORCE mkdir -p mount mkfs.btrfs -fL SQUASHCLIENT ${@} mount -t btrfs ${@} mount @@ -68,7 +72,3 @@ 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 3bdfdd9..095fc6e 100644 --- a/partitions +++ b/partitions @@ -2,5 +2,5 @@ label: dos unit: sectors : start=2048, size=3G, type=83, bootable -: type=83 : size=2G, type=82 +: type=83