Skip to content
Snippets Groups Projects
Commit 85969b6e authored by Héctor Orón Martínez's avatar Héctor Orón Martínez
Browse files

minimal: drop hardware exclusions


Due to different variety of hardware, Minnowboard Turbot Quad
needs an Ethernet driver which is not found in the shipped
modules. Therefore we ship all kernel modules and fine tune
it later if we need to shrink size even more.

Signed-off-by: default avatarHéctor Orón Martínez <hector.oron@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D7375
parent 8c8c1497
No related branches found
No related tags found
No related merge requests found
# Drop most kernel modules, but keep the ones we need for boot and networking
# on reference hardware (Minnowboard Max). In production you'd build these
# into your kernel, but we're using a generic distro kernel here.
path-exclude=/lib/modules/*
# xor: for btrfs
path-include=/lib/modules/*/kernel/crypto/xor.ko
# hid: for USB keyboards
path-include=/lib/modules/*/kernel/drivers/hid/hid-generic.ko
path-include=/lib/modules/*/kernel/drivers/hid/hid.ko
path-include=/lib/modules/*/kernel/drivers/hid/usbhid/*
path-include=/lib/modules/*/kernel/drivers/mmc/*
path-include=/lib/modules/*/kernel/drivers/net/ethernet/realtek/r8169.ko
# mii: for r8169
path-include=/lib/modules/*/kernel/drivers/net/mii.ko
# usb basics: for USB keyboards and thumb drives so we can debug
path-include=/lib/modules/*/kernel/drivers/usb/class/*
path-include=/lib/modules/*/kernel/drivers/usb/common/*
path-include=/lib/modules/*/kernel/drivers/usb/host/*
path-include=/lib/modules/*/kernel/drivers/usb/phy/*
path-include=/lib/modules/*/kernel/drivers/usb/storage/*
# virtio: for qemu virtual machines
path-include=/lib/modules/*/kernel/drivers/virtio/*
path-include=/lib/modules/*/kernel/fs/btrfs/btrfs.ko
# fat and nls: for the EFI System Partition, USB thumb drives, etc.
path-include=/lib/modules/*/kernel/fs/fat/*
path-include=/lib/modules/*/kernel/fs/nls/nls_iso8859-1.ko
path-include=/lib/modules/*/kernel/fs/nls/nls_utf8.ko
# raid6_pq: for btrfs
path-include=/lib/modules/*/kernel/lib/raid6/raid6_pq.ko
path-include=/lib/modules/*/modules.*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment