[Acked] [kernel-snaps-uc20][PATCH 1/2] Add kernel.efi handle.

Andy Whitcroft apw at canonical.com
Thu Nov 28 10:27:13 UTC 2019


On Fri, Nov 22, 2019 at 03:53:51PM +0000, Dimitri John Ledkov wrote:
> 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
> 

Acked-by: Andy Whitcroft <apw at canonical.com>



More information about the kernel-team mailing list