-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add (optional) support for loading modules
Add support for loading modules in tiny-initramfs. The support is extremely simple, it just looks for a file /modules in the initramfs image, where each line should be the absolute path (within the initramfs image) to the module file name, followed optionally by a space and the options. No dependency resolution is performed, the modules are loaded in the order they are specified in the /modules file. The construction of the initramfs image should take care of the proper order of the modules and adding all required dependencies. If a module cannot be loaded, an error message will be shown, but tiny-initramfs will still try to mount the root file system.
- Loading branch information
Showing
4 changed files
with
233 additions
and
28 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
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