From eccc25ea093340a4e3ba662ed8d9e858800cd134 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Wed, 20 Nov 2019 01:23:45 +0100 Subject: initrd.scripts: modules_load() refactored - Add support for LABEL/UUID in root kernel parameter - When loading network, always load all network modules even when root block device is already available - Always load crypto and USB module group when CRYPT_{ROOT,SWAP} is set. - Always load fs module group. - Add gk.hw.load-all kernel command-line argument to allow user to force loading of all module groups. Signed-off-by: Thomas Deutschmann --- defaults/linuxrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'defaults/linuxrc') diff --git a/defaults/linuxrc b/defaults/linuxrc index ee46293..f01203b 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -283,6 +283,14 @@ do fi unset tmp_disabled ;; + gk.hw.load-all=*) + tmp_disabled=${x#*=} + if is_true "${tmp_disabled}" + then + GK_HW_LOAD_ALL_MODULES=1 + fi + unset tmp_disabled + ;; gk.log.disabled=*) tmp_disabled=${x#*=} if is_true "${tmp_disabled}" -- cgit v1.2.3-65-gdbad