From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CEA8138334 for ; Mon, 25 Nov 2019 13:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 503FBE07FE; Mon, 25 Nov 2019 13:53:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32AB7E07FE for ; Mon, 25 Nov 2019 13:53:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5591C34D386 for ; Mon, 25 Nov 2019 13:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EB698BC for ; Mon, 25 Nov 2019 13:53:07 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1574689202.af2dcc0455d6601a7490b13cb6876fb5f6d62c62.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts X-VCS-Directories: defaults/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: af2dcc0455d6601a7490b13cb6876fb5f6d62c62 X-VCS-Branch: master Date: Mon, 25 Nov 2019 13:53:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3b79791b-7ddb-42e2-9f46-c94e39d6fbb3 X-Archives-Hash: 2c6b5f01c60b1606b24799106a0b53a2 commit: af2dcc0455d6601a7490b13cb6876fb5f6d62c62 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Nov 25 13:40:02 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Nov 25 13:40:02 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=af2dcc04 initrd.scripts: modules_scan(): Always load Virtio/HyperV modules Signed-off-by: Thomas Deutschmann gentoo.org> defaults/initrd.scripts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 053ac68..561788d 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -36,6 +36,11 @@ modules_scan() { if [ "${GK_HW_LOAD_ALL_MODULES}" = '1' ] then smart_loading= + elif [ "${1}" = "virtio" ] || [ "${1}" = "hyperv" ] + then + # Virtio/HyperV modules group is special -- it's about + # hypervisor support in general, not root block device + smart_loading= elif [ "${1}" = "net" ] then # We already load network modules only when we need