You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel_config_set_y EXPERT # Too many config options are hidden behind EXPERT=y, lets have it always on
75
76
76
-
display_alert "Disabling module compression and signing / debug / auto version""armbian-kernel""debug"
77
-
# DONE: Disable: signing, and compression of modules, for speed.
78
-
kernel_config_set_n CONFIG_MODULE_COMPRESS_XZ # No use double-compressing modules
79
-
kernel_config_set_n CONFIG_MODULE_COMPRESS_ZSTD
80
-
kernel_config_set_n CONFIG_MODULE_COMPRESS_GZIP
81
-
82
-
if linux-version compare "${KERNEL_MAJOR_MINOR}" ge 6.12;then
83
-
kernel_config_set_n CONFIG_MODULE_COMPRESS # Introduced in 6.12 (see https://github.com/torvalds/linux/commit/c7ff693fa2094ba0a9d0a20feb4ab1658eff9c33)
84
-
elif linux-version compare "${KERNEL_MAJOR_MINOR}" ge 6.0;then
85
-
kernel_config_set_y CONFIG_MODULE_COMPRESS_NONE # Introduced in 6.0
86
-
else
87
-
kernel_config_set_n CONFIG_MODULE_COMPRESS # Only available up to 5.12
88
-
fi
89
-
77
+
display_alert "Disabling module signing / debug / auto version""armbian-kernel""debug"
90
78
kernel_config_set_n CONFIG_SECURITY_LOCKDOWN_LSM
91
79
kernel_config_set_n CONFIG_MODULE_SIG # No use signing modules
92
80
kernel_config_set_n CONFIG_MODULE_SIG_ALL # No use auto-signing modules
0 commit comments