From patchwork Fri Jan 22 10:56:00 2021 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: 1430260 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) 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 4DMbm3087xz9sVF; Fri, 22 Jan 2021 21:56:17 +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 1l2u6t-0005Jb-OG; Fri, 22 Jan 2021 10:56:11 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l2u6q-0005Iz-2c for kernel-team@lists.ubuntu.com; Fri, 22 Jan 2021 10:56:08 +0000 Received: from 114-34-116-233.hinet-ip.hinet.net ([114.34.116.233] helo=cola.voip.idv.tw) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l2u6p-0003so-Cc; Fri, 22 Jan 2021 10:56:07 +0000 From: Wen-chien Jesse Sung To: kernel-team@lists.ubuntu.com Subject: [linux-uc20-efi][PATCH 1/1] UBUNTU: [Debian] Add megaraid_sas into initrd Date: Fri, 22 Jan 2021 18:56:00 +0800 Message-Id: <20210122105600.3117462-2-jesse.sung@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210122105600.3117462-1-jesse.sung@canonical.com> References: <20210122105600.3117462-1-jesse.sung@canonical.com> 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/1912752 Module megaraid_sas is required in order to some systems to boot with the pc-kernel snap. Append megaraid_sas to ubuntu-core-initramfs.conf before using ubuntu-core-initramfs to generate the initrd in order to include the particular module. Signed-off-by: Wen-chien Jesse Sung --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 1d85292..fc46042 100755 --- a/debian/rules +++ b/debian/rules @@ -50,6 +50,7 @@ override_dh_auto_build: apt-get download $$pkg; \ dpkg-deb -x $${pkg}_*.deb $$flavour; \ ); \ + echo megaraid_sas >> /usr/lib/ubuntu-core-initramfs/main/usr/lib/modules-load.d/ubuntu-core-initramfs.conf \ ubuntu-core-initramfs create-initrd --output $(initrd) \ --kernelver $(KERNEL_ABI_VERSION)-$$flavour; \ ubuntu-core-initramfs create-efi --unsigned --output $(efi) \