-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
many: make kernel-modules components available on first boot (#14744)
* boot: copy kernel-modules components on installation * gadget: consider kernel-modules components when writing content Make sure that kernel-modules components are taken into account when creating the kernel tree on installation, also make sure that the respective mount units are in place too. * o/devicestate: add kernel-modules components to KernelSnapInfo We need this information to have them early installed on first boot after installation. * seed/seedtest: add extra snap and components * o/devicestate: consider kernel-modules components on API installs Make sure that kernel-modules components are considered when an installation is preformed using the snapd API, so the modules are available on early (first) boot. This is ensured by - Including these components in the drivers tree - Making sure there are mount units for them - Copying the components to the data partition * o/devicestate: consider mode when retrieving kernel-modules components Retrieve only kernel-modules for run mode when enabling them on installation. * tests/muinstaller-real: test kernel-modules installation Make sure that modules from kernel-modules components - are available early on first boot - are available early after rebooting in a joint refresh with a kernel * boot,overlord: minor fixes * cmd/snap-bootstrap: add TODO for kernel-modules components * tests: generalize build_kernel_with_comps.sh Change build_kernel_with_comps.sh so it can build a kernel-modules component for any desired kernel module. Use it in kernel-modules-components test. * tests/build-with-kernel-modules-components: add new test build-with-kernel-modules-components checks that when we build or do a factory reset with a seed including a kernel-modules component, the included kernel modules are available on early boot. * tests/lib/nested.sh: add support to create images with components * o/devicestate: move types around to fix nosectoot unit tests * tests/muinstaller-real: fix modules path
- Loading branch information
1 parent
0268f05
commit 82ef1e2
Showing
17 changed files
with
1,759 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.