[master/rhel7] runtime-cleanup.tmpl: keep virtio-rng (#1179000)

Brian C. Lane bcl at redhat.com
Tue Jan 6 18:48:17 UTC 2015


On Tue, Jan 06, 2015 at 12:35:02PM -0500, Colin Walters wrote:
> 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.

Yeah, it is pretty much time to add something to handle this, but not
for master first.

> 
> Hmm...doesn't the "kernel-core"[1] work in F21 address this sufficiently that we could use that and drop this pruning?

No because these iso's need to boot in various places so the driver set
we need isn't the same as for cloud.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list