[Xenial][deb-to-snap master][PATCH] deb to snap: add nvme and hid modules to initrd for amd64

Paolo Pisati paolo.pisati at canonical.com
Wed Dec 5 08:51:23 UTC 2018


Acked-by: Paolo Pisati <paolo.pisati at canonical.com>
On Fri, Nov 23, 2018 at 10:57 AM Wen-chien Jesse Sung
<jesse.sung at canonical.com> wrote:
>
> BugLink: https://launchpad.net/bugs/1802260
>
> Signed-off-by: Wen-chien Jesse Sung <jesse.sung at canonical.com>
> ---
>  Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 16d008e..4f3ec75 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -80,6 +80,11 @@ all:
>         echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf
>         # LP1794279: vc4-kms-v3d and hardware accelerated framebuffer support
>         echo "i2c-bcm2708" > chroot/etc/initramfs-tools/modules
> +       if [ "$(DPKG_ARCH)" = "amd64" ]; then \
> +         echo "nvme" >> chroot/etc/initramfs-tools/modules; \
> +         echo "usbhid" >> chroot/etc/initramfs-tools/modules; \
> +         echo "hid-generic" >> chroot/etc/initramfs-tools/modules; \
> +       fi
>         $(ENV) chroot chroot apt-get -y update
>         $(ENV) chroot chroot apt-get -y --allow-unauthenticated install initramfs-tools-ubuntu-core linux-firmware xz-utils
>         mount --bind /proc chroot/proc
> --
> 2.19.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



-- 
bye,
p.



More information about the kernel-team mailing list