X-Git-Url: http://git.plutz.net/?p=bootimage;a=blobdiff_plain;f=Makefile;h=c4ccfc7089161f80fca3516159917172ad1fafa9;hp=9b3579004d63ddc815a0325a3888ac0568a0a7b4;hb=ed291b1b7646fb1c4e9101ff765eaff4ffd24a1e;hpb=eb2aa23f727d4ed8767aaa81193d5fa0b2fc2216 diff --git a/Makefile b/Makefile index 9b35790..c4ccfc7 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,9 @@ 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 +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 ${@}