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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Wen-chien Jesse Sung
BugLink: https://launchpad.net/bugs/1802260

Signed-off-by: Wen-chien Jesse Sung <[hidden email]>
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index 7e3ee09..5ef8473 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,11 @@ all:
  fi
  mkdir -p chroot/etc/initramfs-tools/conf.d
  echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf
+ 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
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

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

Paolo Pisati-5
Acked-by: Paolo Pisati <[hidden email]>
On Fri, Nov 23, 2018 at 10:57 AM Wen-chien Jesse Sung
<[hidden email]> wrote:

>
> BugLink: https://launchpad.net/bugs/1802260
>
> Signed-off-by: Wen-chien Jesse Sung <[hidden email]>
> ---
>  Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 7e3ee09..5ef8473 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -78,6 +78,11 @@ all:
>         fi
>         mkdir -p chroot/etc/initramfs-tools/conf.d
>         echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf
> +       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
> [hidden email]
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



--
bye,
p.

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

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

Kleber Souza
In reply to this post by Wen-chien Jesse Sung
On 11/23/18 10:57 AM, Wen-chien Jesse Sung wrote:
> BugLink: https://launchpad.net/bugs/1802260
>
> Signed-off-by: Wen-chien Jesse Sung <[hidden email]>

The linux-snap/cosmic repo seems to be not used for any kernel snap
image. Actually we only produce kernel snaps for the LTS releases.

Anyway I'm ack'ing this patch:

Acked-by: Kleber Sacilotto de Souza <[hidden email]>


Thanks,

Kleber

> ---
>  Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 7e3ee09..5ef8473 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -78,6 +78,11 @@ all:
>   fi
>   mkdir -p chroot/etc/initramfs-tools/conf.d
>   echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf
> + 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



--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

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

Kleber Souza
In reply to this post by Wen-chien Jesse Sung
On 11/23/18 10:57 AM, Wen-chien Jesse Sung wrote:

> BugLink: https://launchpad.net/bugs/1802260
>
> Signed-off-by: Wen-chien Jesse Sung <[hidden email]>
> ---
>  Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 7e3ee09..5ef8473 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -78,6 +78,11 @@ all:
>   fi
>   mkdir -p chroot/etc/initramfs-tools/conf.d
>   echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf
> + 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

Applied to linux-snap/cosmic/master branch.

Thanks,
Kleber


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team