[lorax] Keep virtio_console harder.
Brian C. Lane
bcl at redhat.com
Thu Jun 19 21:42:46 UTC 2014
On Thu, Jun 19, 2014 at 05:21:12PM -0400, David Shea wrote:
> Kernel modules in F21 are compressed, so sometimes the file we want to
> keep is virtio_console.ko.xz
> ---
> share/runtime-cleanup.tmpl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
> index 3cc1c20..c7d345e 100644
> --- a/share/runtime-cleanup.tmpl
> +++ b/share/runtime-cleanup.tmpl
> @@ -92,7 +92,7 @@ arch/x86/kvm
> %endfor
> remove lib/modules/*/{build,source,*.map}
> ## Need to keep virtio_console.ko in drivers/char
> -runcmd chroot ${root} find /lib/modules -regex ".*/kernel/drivers/char/.*" \! -name virtio_console.ko -delete
> +runcmd chroot ${root} find /lib/modules -regex ".*/kernel/drivers/char/.*" \! -name virtio_console.ko\* -delete
> ## NOTE: depmod gets re-run after cleanup finishes
>
> ## remove unused themes, theme engines, icons, etc.
> --
> 2.0.0
AckAck
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list