moby: kernel: drop pmos config
PPP still boots
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
linux_latest,
|
||||
linux-postmarketos-pinephonepro,
|
||||
# linux-postmarketos-pinephonepro,
|
||||
#VVV nixpkgs calls `.override` on the kernel to configure additional things, but we don't care about those things
|
||||
...
|
||||
}:
|
||||
@@ -13,50 +13,50 @@ linux_latest.override {
|
||||
enableCommonConfig = true; #< enable nixpkgs config options
|
||||
|
||||
kernelPatches = [
|
||||
{
|
||||
name = "pmos-config";
|
||||
patch = null;
|
||||
extraStructuredConfig = builtins.removeAttrs
|
||||
linux-postmarketos-pinephonepro.structuredConfig
|
||||
[
|
||||
"BASE_SMALL" # pmos: =0 ???
|
||||
"BRIDGE_NETFILTER" # pmos: =y, but option only supports m
|
||||
"NFT_COMPAT" # pmos: =y, but option only supports m
|
||||
"NETFILTER_XT_TARGET_CHECKSUM" # pmos: =y, but option only supports m
|
||||
"NETFILTER_XT_MATCH_IPVS" # pmos: =y, but option only supports m
|
||||
"IP_NF_MATCH_RPFILTER" # pmos: =y, but option only supports m
|
||||
"DRM_PANEL_HIMAX_HX8394" # pmos: =y, but option only supports m
|
||||
"DRM_PANEL_SIMPLE" # pmos: =y, but option only supports m
|
||||
"FSCACHE" # pmos: =y, but option only supports m
|
||||
# {
|
||||
# name = "pmos-config";
|
||||
# patch = null;
|
||||
# extraStructuredConfig = builtins.removeAttrs
|
||||
# linux-postmarketos-pinephonepro.structuredConfig
|
||||
# [
|
||||
# "BASE_SMALL" # pmos: =0 ???
|
||||
# "BRIDGE_NETFILTER" # pmos: =y, but option only supports m
|
||||
# "NFT_COMPAT" # pmos: =y, but option only supports m
|
||||
# "NETFILTER_XT_TARGET_CHECKSUM" # pmos: =y, but option only supports m
|
||||
# "NETFILTER_XT_MATCH_IPVS" # pmos: =y, but option only supports m
|
||||
# "IP_NF_MATCH_RPFILTER" # pmos: =y, but option only supports m
|
||||
# "DRM_PANEL_HIMAX_HX8394" # pmos: =y, but option only supports m
|
||||
# "DRM_PANEL_SIMPLE" # pmos: =y, but option only supports m
|
||||
# "FSCACHE" # pmos: =y, but option only supports m
|
||||
|
||||
# these options conflict with nixos defaults
|
||||
"BINFMT_MISC" # pmos:m, nixpkgs:y
|
||||
"BPF_JIT_ALWAYS_ON" # pmos:y, nixpkgs:n
|
||||
"CMA_SIZE_MBYTES" # pmos:256, nixpkgs:32
|
||||
"CRYPTO_TEST" # pmos:m, nixpkgs:n
|
||||
"DEFAULT_MMAP_MIN_ADDR" # pmos:4096, nixpkgs:32768
|
||||
"IP_DCCP_CCID3" # pmos:y, nixpkgs:n
|
||||
"IP_NF_TARGET_REDIRECT" # pmos:y, nixpkgs:m
|
||||
"IP_PNP" # pmos:y, nixpkgs:n
|
||||
"MMC_BLOCK_MINORS" # pmos:256, nixpkgs:32
|
||||
"NET_DROP_MONITOR" # pmos:m, nixpkgs:y
|
||||
"NLS_UTF8" # pmos:y, nixpkgs:m
|
||||
"NOTIFIER_ERROR_INJECTION" # pmos:m, nixpkgs:n
|
||||
"NR_CPUS" # pmos:64, nixpkgs:384
|
||||
"PREEMPT" # pmos:y, nixpkgs:n
|
||||
"STANDALONE" # pmos:y, nixpkgs:n
|
||||
"TRANSPARENT_HUGEPAGE_ALWAYS" # pmos:y, nixpkgs:n
|
||||
"UEVENT_HELPER" # pmos:y, nixpkgs:n
|
||||
"USB_SERIAL" # pmos:m, nixpkgs:y
|
||||
"ZSMALLOC" # pmos:m, nixpkgs:y
|
||||
# # these options conflict with nixos defaults
|
||||
# "BINFMT_MISC" # pmos:m, nixpkgs:y
|
||||
# "BPF_JIT_ALWAYS_ON" # pmos:y, nixpkgs:n
|
||||
# "CMA_SIZE_MBYTES" # pmos:256, nixpkgs:32
|
||||
# "CRYPTO_TEST" # pmos:m, nixpkgs:n
|
||||
# "DEFAULT_MMAP_MIN_ADDR" # pmos:4096, nixpkgs:32768
|
||||
# "IP_DCCP_CCID3" # pmos:y, nixpkgs:n
|
||||
# "IP_NF_TARGET_REDIRECT" # pmos:y, nixpkgs:m
|
||||
# "IP_PNP" # pmos:y, nixpkgs:n
|
||||
# "MMC_BLOCK_MINORS" # pmos:256, nixpkgs:32
|
||||
# "NET_DROP_MONITOR" # pmos:m, nixpkgs:y
|
||||
# "NLS_UTF8" # pmos:y, nixpkgs:m
|
||||
# "NOTIFIER_ERROR_INJECTION" # pmos:m, nixpkgs:n
|
||||
# "NR_CPUS" # pmos:64, nixpkgs:384
|
||||
# "PREEMPT" # pmos:y, nixpkgs:n
|
||||
# "STANDALONE" # pmos:y, nixpkgs:n
|
||||
# "TRANSPARENT_HUGEPAGE_ALWAYS" # pmos:y, nixpkgs:n
|
||||
# "UEVENT_HELPER" # pmos:y, nixpkgs:n
|
||||
# "USB_SERIAL" # pmos:m, nixpkgs:y
|
||||
# "ZSMALLOC" # pmos:m, nixpkgs:y
|
||||
|
||||
# these options don't break build, but are nonsensical
|
||||
"BASE_FULL"
|
||||
"CC_VERSION_TEXT"
|
||||
"GCC_VERSION"
|
||||
]
|
||||
;
|
||||
}
|
||||
# # these options don't break build, but are nonsensical
|
||||
# "BASE_FULL"
|
||||
# "CC_VERSION_TEXT"
|
||||
# "GCC_VERSION"
|
||||
# ]
|
||||
# ;
|
||||
# }
|
||||
# {
|
||||
# name = "add-removed";
|
||||
# patch = null;
|
||||
|
Reference in New Issue
Block a user