X-Git-Url: http://git.plutz.net/?p=bootimage;a=blobdiff_plain;f=Makefile;h=c4ccfc7089161f80fca3516159917172ad1fafa9;hp=b4d9440b7dc0c180d8ef86e6c2b511286d95fcc8;hb=ed291b1b7646fb1c4e9101ff765eaff4ffd24a1e;hpb=b9f5a663704e1b1ab4e311a3edd340e2eca63307 diff --git a/Makefile b/Makefile index b4d9440..c4ccfc7 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GROUPS := sudo ARCH := amd64 CONFIG := config_base/ -PACKAGES := apt bilibop-lockfs btrfs-tools busybox-static bzip2 ca-certificates cron deborphan extlinux gzip htop ifupdown init iputils-ping irqbalance isc-dhcp-client less live-boot live-boot-initramfs-tools make man-db nbd-client net-tools nmap ntpdate openssh-client openssh-server p7zip-full pciutils rsync squashfs-tools sshfs sudo systemd unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip +PACKAGES := apt bilibop-lockfs btrfs-tools busybox-static bzip2 ca-certificates cron deborphan extlinux gzip htop ifupdown init iputils-ping irqbalance isc-dhcp-client less live-boot live-boot-initramfs-tools make man-db nbd-client net-tools nmap ntpdate openssh-client openssh-server p7zip-full pciutils rsync squashfs-tools sshfs sudo syslinux-common systemd unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip include *.mk @@ -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