forked from dracutdevs/dracut
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
90kernel-modules: don't install any block driver if not needed
If hostonly mode is in use, and there isn't any block device included as hostonly device, then the initramfs won't need any block driver. Eg. for kdump built image, there could be only one nfs mount point, or the initramfs may only execute some network operation then reboot. In such case, skip block driver installation to save space and time. Signed-off-by: Kairui Song <[email protected]>
- Loading branch information
Showing
1 changed file
with
25 additions
and
7 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