Keep virtio_console harder.
Kernel modules in F21 are compressed, so sometimes the file we want to keep is virtio_console.ko.xz
This commit is contained in:
parent
f4b8e4547f
commit
5f9cb25baf
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user