Keep the zram kernel module
Needed by the zram.service Related: rhbz#1196721
This commit is contained in:
parent
bf8d25fc91
commit
9b57050fc6
@ -80,7 +80,7 @@ sound drivers/media drivers/hwmon drivers/video
|
|||||||
net/atm net/bluetooth net/sched net/sctp
|
net/atm net/bluetooth net/sched net/sctp
|
||||||
net/rds net/l2tp net/decnet net/netfilter net/ipv4 net/ipv6
|
net/rds net/l2tp net/decnet net/netfilter net/ipv4 net/ipv6
|
||||||
drivers/watchdog drivers/target drivers/rtc drivers/input/joystick
|
drivers/watchdog drivers/target drivers/rtc drivers/input/joystick
|
||||||
drivers/bluetooth drivers/hid drivers/edac drivers/staging
|
drivers/bluetooth drivers/hid drivers/edac
|
||||||
drivers/usb/serial drivers/usb/host drivers/usb/misc
|
drivers/usb/serial drivers/usb/host drivers/usb/misc
|
||||||
fs/ocfs2 fs/ceph fs/nfsd fs/ubifs fs/nilfs2
|
fs/ocfs2 fs/ceph fs/nfsd fs/ubifs fs/nilfs2
|
||||||
arch/x86/kvm
|
arch/x86/kvm
|
||||||
@ -100,6 +100,10 @@ runcmd chroot ${root} find /lib/modules \
|
|||||||
\! -name virtio-rng.ko\* \
|
\! -name virtio-rng.ko\* \
|
||||||
\! -name ipmi\* \
|
\! -name ipmi\* \
|
||||||
-delete
|
-delete
|
||||||
|
runcmd chroot ${root} find /lib/modules \
|
||||||
|
-regex ".*/kernel/drivers/staging/.*" \
|
||||||
|
\! -name zram\* \
|
||||||
|
-delete
|
||||||
## NOTE: depmod gets re-run after cleanup finishes
|
## NOTE: depmod gets re-run after cleanup finishes
|
||||||
|
|
||||||
## remove unused themes, theme engines, icons, etc.
|
## remove unused themes, theme engines, icons, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user