X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=Makefile;h=431590c47b39fdf9c597f797586e44769ebc47e2;hb=031d282c295fefead2e6609561a11e3140e144cc;hp=9b3579004d63ddc815a0325a3888ac0568a0a7b4;hpb=eb2aa23f727d4ed8767aaa81193d5fa0b2fc2216;p=bootimage diff --git a/Makefile b/Makefile index 9b35790..431590c 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ 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 -Include *.mk +include *.mk stretch_%_root/bin/sh: btrfs subvolume create "$(subst bin/sh,,$@)" || mkdir "$(subst bin/sh,,$@)" @@ -45,3 +45,30 @@ stretch_%_config/: stretch_%_root/ ${CONFIG} permissions .FORCE stretch_%.squashfs: stretch_%_config/ rm "$@" || true mksquashfs "$<" "$@" -comp xz + +/dev/sd%: partitions .FORCE + sfdisk ${@}