From 21c147ebcdf83cbb4d73777f7acabe6a748531c2 Mon Sep 17 00:00:00 2001 From: Jerrod Frost <13701401+jcfrosty@users.noreply.github.com> Date: Fri, 13 Aug 2021 11:14:09 -0500 Subject: [PATCH] rebuild initrd for new modules and modprobe rules **WARNING: DO NOT MERGE THIS PR IF ADDITIONAL KERNEL MODULES ARE ADDED BY DEFAULT IN THE ISO!** Adding kernel modules can result in the need to add the modules to the initramfs for proper early boot support. (KMS for example) Adding kernel modules can also add modprobe rules to /etc/modprobe.d/ . Those rules will not take affect until the initramfs is rebuilt and included. --- packages/kernel-modules/kernel-modules/finalize.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/kernel-modules/kernel-modules/finalize.yaml b/packages/kernel-modules/kernel-modules/finalize.yaml index d3836078c257a..2400568067044 100644 --- a/packages/kernel-modules/kernel-modules/finalize.yaml +++ b/packages/kernel-modules/kernel-modules/finalize.yaml @@ -1,2 +1,3 @@ install: -- depmod -a \ No newline at end of file +- depmod -a +- mos kernel gi --all --grub --set-links