X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=Makefile;h=5ea6b7c89d90bd0d1daa07a965be32c22b423613;hb=b8e9b846cc0508d32553eb4260874fe21f4e6de3;hp=9b3579004d63ddc815a0325a3888ac0568a0a7b4;hpb=eb2aa23f727d4ed8767aaa81193d5fa0b2fc2216;p=bootimage diff --git a/Makefile b/Makefile index 9b35790..5ea6b7c 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,19 @@ stretch_%_config/: stretch_%_root/ ${CONFIG} permissions .FORCE stretch_%.squashfs: stretch_%_config/ rm "$@" || true mksquashfs "$<" "$@" -comp xz + +/dev/sd%: partitions vmlinuz initrd.img syslinux.cfg .FORCE + mkdir mount + sfdisk ${@}