parent
68656592e2
commit
a0e35dbbe0
@ -82,7 +82,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/edac drivers/staging
|
||||||
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
|
||||||
@ -102,6 +102,12 @@ runcmd chroot ${root} find /lib/modules \
|
|||||||
\! -name virtio-rng.ko\* \
|
\! -name virtio-rng.ko\* \
|
||||||
\! -name ipmi\* \
|
\! -name ipmi\* \
|
||||||
-delete
|
-delete
|
||||||
|
# Remove all of drivers/hid except for logitech modules.
|
||||||
|
runcmd chroot ${root} find /lib/modules \
|
||||||
|
-regex ".*/kernel/drivers/hid/.*" \
|
||||||
|
\! -name hid-logitech-hidpp.ko\* \
|
||||||
|
\! -name hid-logitech-dj.ko\* \
|
||||||
|
-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