[kernel-snaps-uc20][PATCH 1/2] Add kernel.efi handle.
Dimitri John Ledkov
xnox at ubuntu.com
Fri Nov 22 15:53:51 UTC 2019
If a kernel.efi image is produced by the initramfs tooling, include it
in the snap.
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index 7ea96b0..7c292de 100644
--- a/Makefile
+++ b/Makefile
@@ -129,6 +129,9 @@ install:
else \
mv chroot/boot/vmlinu?-* $(DESTDIR)/kernel.img; \
fi
+ if [ -f chroot/boot/kernel.efi ]; then \
+ mv chroot/boot/kernel.efi $(DESTDIR)/kernel.efi; \
+ fi
mv chroot/boot/initrd.img-* $(DESTDIR)/initrd.img
# Copy meta data into the snap. The ABI file itself actually was
# not used for anything and just done for completeness. Since new
--
2.24.0
More information about the kernel-team
mailing list