From patchwork Fri Nov 23 09:56:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen-chien Jesse Sung X-Patchwork-Id: 1002237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 431Wtr44r0z9s8J; Fri, 23 Nov 2018 20:57:08 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gQ8Ct-0001zy-Tt; Fri, 23 Nov 2018 09:57:03 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1gQ8Cs-0001yM-Ci for kernel-team@lists.ubuntu.com; Fri, 23 Nov 2018 09:57:02 +0000 Received: from 123-204-41-50.static.seed.net.tw ([123.204.41.50] helo=cola.voip.idv.tw) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gQ8Cr-00055C-IW; Fri, 23 Nov 2018 09:57:02 +0000 From: Wen-chien Jesse Sung To: kernel-team@lists.ubuntu.com Subject: [Bionic][deb-to-snap master][PATCH] deb to snap: add nvme and hid modules to initrd for amd64 Date: Fri, 23 Nov 2018 17:56:57 +0800 Message-Id: <20181123095657.10634-1-jesse.sung@canonical.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://launchpad.net/bugs/1802260 Signed-off-by: Wen-chien Jesse Sung Acked-by: Paolo Pisati Acked-by: Kleber Sacilotto de Souza --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 580189d..9c9a58c 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,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 --allow-insecure-repositories update $(ENV) chroot chroot apt-get -y --allow-unauthenticated install initramfs-tools-ubuntu-core linux-firmware xz-utils mount --bind /proc chroot/proc