moby: try (and fail) to reduce kernel config
this reapplies the following commits from before `autoModules=true`, but commented out: - fa0508521995f4510ee4e08f9d1eb086eb64f707 - 513c4b1aa0e2800ea1d867ec158510bb56fac794
This commit is contained in:
@@ -128,23 +128,12 @@ linux_latest.override {
|
|||||||
patch = null;
|
patch = null;
|
||||||
extraStructuredConfig = with lib.kernel; {
|
extraStructuredConfig = with lib.kernel; {
|
||||||
NR_CPUS = lib.mkForce (freeform "64");
|
NR_CPUS = lib.mkForce (freeform "64");
|
||||||
SLAB_BUCKETS = lib.mkForce no;
|
|
||||||
RANDOM_KMALLOC_CACHES = lib.mkForce no;
|
RANDOM_KMALLOC_CACHES = lib.mkForce no;
|
||||||
DEFAULT_MMAP_MIN_ADDR = lib.mkForce (freeform "4096");
|
|
||||||
TRANSPARENT_HUGEPAGE_MADVISE = lib.mkForce no;
|
|
||||||
ZONE_DEVICE = lib.mkForce no;
|
|
||||||
BT_HCIUART_BCSP = lib.mkForce no;
|
BT_HCIUART_BCSP = lib.mkForce no;
|
||||||
HOTPLUG_PCI_PCIE = lib.mkForce no;
|
HOTPLUG_PCI_PCIE = lib.mkForce no;
|
||||||
UEVENT_HELPER = lib.mkForce yes;
|
|
||||||
LOGO = lib.mkForce yes;
|
|
||||||
LOGO_LINUX_CLUT224 = yes;
|
|
||||||
DRM_ACCEL = lib.mkForce no;
|
DRM_ACCEL = lib.mkForce no;
|
||||||
POWERCAP = lib.mkForce no;
|
|
||||||
CPUMASK_OFFSTACK = no;
|
|
||||||
KFENCE = lib.mkForce no;
|
KFENCE = lib.mkForce no;
|
||||||
|
|
||||||
HID_BPF = lib.mkForce no;
|
|
||||||
|
|
||||||
BLK_INLINE_ENCRYPTION = lib.mkForce no;
|
BLK_INLINE_ENCRYPTION = lib.mkForce no;
|
||||||
ATH10K_DFS_CERTIFIED = lib.mkForce no;
|
ATH10K_DFS_CERTIFIED = lib.mkForce no;
|
||||||
MOUSE_ELAN_I2C_SMBUS = lib.mkForce no;
|
MOUSE_ELAN_I2C_SMBUS = lib.mkForce no;
|
||||||
@@ -175,6 +164,19 @@ linux_latest.override {
|
|||||||
|
|
||||||
RUNTIME_TESTING_MENU = lib.mkForce yes;
|
RUNTIME_TESTING_MENU = lib.mkForce yes;
|
||||||
|
|
||||||
|
# TODO: one of these is required for boot?
|
||||||
|
SLAB_BUCKETS = lib.mkForce no;
|
||||||
|
DEFAULT_MMAP_MIN_ADDR = lib.mkForce (freeform "4096");
|
||||||
|
TRANSPARENT_HUGEPAGE_MADVISE = lib.mkForce no;
|
||||||
|
ZONE_DEVICE = lib.mkForce no;
|
||||||
|
UEVENT_HELPER = lib.mkForce yes;
|
||||||
|
LOGO = lib.mkForce yes;
|
||||||
|
LOGO_LINUX_CLUT224 = yes;
|
||||||
|
POWERCAP = lib.mkForce no;
|
||||||
|
CPUMASK_OFFSTACK = no;
|
||||||
|
# or maybe this?
|
||||||
|
HID_BPF = lib.mkForce no;
|
||||||
|
|
||||||
# TODO: one of these is required for boot?
|
# TODO: one of these is required for boot?
|
||||||
USB_SERIAL = lib.mkForce module;
|
USB_SERIAL = lib.mkForce module;
|
||||||
FSL_MC_UAPI_SUPPORT = lib.mkForce no;
|
FSL_MC_UAPI_SUPPORT = lib.mkForce no;
|
||||||
|
Reference in New Issue
Block a user