[master/rhel7] runtime-cleanup.tmpl: keep virtio-rng (#1179000)
Colin Walters
walters at verbum.org
Tue Jan 6 17:35:02 UTC 2015
On Tue, Jan 6, 2015, at 12:20 PM, Brian C. Lane wrote:
> +runcmd chroot ${root} find /lib/modules \
> + -regex ".*/kernel/drivers/char/.*" \
> + \! -name virtio_console.ko\* \
> + \! -name hw_random \
> + \! -name virtio-rng.ko\* \
> + \! -name ipmi\* \
> + -delete
This is kind of begging for a more declarative lorax "prune_kernel_modules_except" verb or something.
Hmm...doesn't the "kernel-core"[1] work in F21 address this sufficiently that we could use that and drop this pruning?
Regardless, current patch looks like it fixes the bug to me.
[1] http://fedoraproject.org/wiki/Changes/Modular_Kernel_Packaging_for_Cloud
More information about the anaconda-patches
mailing list