search for: not_kmods

Displaying 1 result from an estimated 1 matches for "not_kmods".

Did you mean: net_mods
2016 Mar 18
1
[PATCH supermin] init: Add a blacklist of kmods that we want to exclude from the mini initrd.
...-git a/src/ext2_initrd.ml b/src/ext2_initrd.ml index 63ed493..a177018 100644 --- a/src/ext2_initrd.ml +++ b/src/ext2_initrd.ml @@ -54,6 +54,13 @@ let kmods = [ "megaraid*.ko*"; ] +(* A blacklist of kmods which match the above patterns, but which we + * subsequently remove. + *) +let not_kmods = [ + "virtio-gpu.ko*"; +] + let rec build_initrd debug tmpdir modpath initrd = if debug >= 1 then printf "supermin: ext2: creating minimal initrd '%s'\n%!" initrd; @@ -73,7 +80,8 @@ let rec build_initrd debug tmpdir modpath initrd = fun topset modl -...