X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=Makefile;h=493495c952fc0f63778d4b7e68d675295d28b346;hb=04325fbee8e511aa606b2222d1e7712884d8541b;hp=ff9b317d2b747b76c4dd5b8776c6c9c5103cfb89;hpb=b619ac9018f4609d6930513fca31afd90f0c4689;p=bootimage diff --git a/Makefile b/Makefile index ff9b317..493495c 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 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 syslinux-common syslinux-efi 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 efibootmgr firmware-linux-free 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 syslinux-common syslinux-efi systemd unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip include *.mk @@ -48,17 +48,32 @@ stretch_%.squashfs: stretch_%_config/ rm "$@" || true mksquashfs "$<" "$@" -comp xz +vmlinuz: stretch_*_root/ + ln -fs '$<$@' ./ + +initrd.img: stretch_*_root/ + ln -fs '$<$@' ./ + /dev/sd%: partitions .FORCE sfdisk ${@}