X-Git-Url: http://git.plutz.net/?p=bootimage;a=blobdiff_plain;f=Makefile;fp=Makefile;h=0d6dd2593f44797f34036d86ed30f317d574080f;hp=ff9b317d2b747b76c4dd5b8776c6c9c5103cfb89;hb=5e193ba54893b74e515ece3917eec96ba73348b0;hpb=b619ac9018f4609d6930513fca31afd90f0c4689 diff --git a/Makefile b/Makefile index ff9b317..0d6dd25 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 @@ -57,8 +57,12 @@ stretch_%.squashfs: stretch_%_config/ mkfs.vfat -n SQUASHBOOT ${@} syslinux -i ${@} mount -t vfat ${@} mount - cp -L vmlinuz initrd.img *.squashfs syslinux.cfg Makefile partitions mount/ + mkdir -p mount/EFI/BOOT + cp /usr/lib/SYSLINUX.EFI/efi32/syslinux.efi mount/EFI/BOOT/BOOTIA32.EFI + cp $(addprefix /usr/lib/syslinux/modules/efi32/, ldlinux.e32 menu.c32 libutil.c32) mount/EFI/BOOT/ + cp -L vmlinuz initrd.img syslinux.cfg mount/EFI/BOOT/ cp $(addprefix /usr/lib/syslinux/modules/bios/, menu.c32 libutil.c32) mount/ + cp -L vmlinuz initrd.img *.squashfs syslinux.cfg Makefile partitions mount/ umount mount/ sync