moby: kernel: drop pmos config

PPP still boots
This commit is contained in:
2024-09-24 22:27:25 +00:00
parent 2e3e950b29
commit 97bce7e39b

View File

@@ -1,7 +1,7 @@
{ {
lib, lib,
linux_latest, 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 #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 enableCommonConfig = true; #< enable nixpkgs config options
kernelPatches = [ kernelPatches = [
{ # {
name = "pmos-config"; # name = "pmos-config";
patch = null; # patch = null;
extraStructuredConfig = builtins.removeAttrs # extraStructuredConfig = builtins.removeAttrs
linux-postmarketos-pinephonepro.structuredConfig # linux-postmarketos-pinephonepro.structuredConfig
[ # [
"BASE_SMALL" # pmos: =0 ??? # "BASE_SMALL" # pmos: =0 ???
"BRIDGE_NETFILTER" # pmos: =y, but option only supports m # "BRIDGE_NETFILTER" # pmos: =y, but option only supports m
"NFT_COMPAT" # 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_TARGET_CHECKSUM" # pmos: =y, but option only supports m
"NETFILTER_XT_MATCH_IPVS" # 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 # "IP_NF_MATCH_RPFILTER" # pmos: =y, but option only supports m
"DRM_PANEL_HIMAX_HX8394" # 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 # "DRM_PANEL_SIMPLE" # pmos: =y, but option only supports m
"FSCACHE" # pmos: =y, but option only supports m # "FSCACHE" # pmos: =y, but option only supports m
# these options conflict with nixos defaults # # these options conflict with nixos defaults
"BINFMT_MISC" # pmos:m, nixpkgs:y # "BINFMT_MISC" # pmos:m, nixpkgs:y
"BPF_JIT_ALWAYS_ON" # pmos:y, nixpkgs:n # "BPF_JIT_ALWAYS_ON" # pmos:y, nixpkgs:n
"CMA_SIZE_MBYTES" # pmos:256, nixpkgs:32 # "CMA_SIZE_MBYTES" # pmos:256, nixpkgs:32
"CRYPTO_TEST" # pmos:m, nixpkgs:n # "CRYPTO_TEST" # pmos:m, nixpkgs:n
"DEFAULT_MMAP_MIN_ADDR" # pmos:4096, nixpkgs:32768 # "DEFAULT_MMAP_MIN_ADDR" # pmos:4096, nixpkgs:32768
"IP_DCCP_CCID3" # pmos:y, nixpkgs:n # "IP_DCCP_CCID3" # pmos:y, nixpkgs:n
"IP_NF_TARGET_REDIRECT" # pmos:y, nixpkgs:m # "IP_NF_TARGET_REDIRECT" # pmos:y, nixpkgs:m
"IP_PNP" # pmos:y, nixpkgs:n # "IP_PNP" # pmos:y, nixpkgs:n
"MMC_BLOCK_MINORS" # pmos:256, nixpkgs:32 # "MMC_BLOCK_MINORS" # pmos:256, nixpkgs:32
"NET_DROP_MONITOR" # pmos:m, nixpkgs:y # "NET_DROP_MONITOR" # pmos:m, nixpkgs:y
"NLS_UTF8" # pmos:y, nixpkgs:m # "NLS_UTF8" # pmos:y, nixpkgs:m
"NOTIFIER_ERROR_INJECTION" # pmos:m, nixpkgs:n # "NOTIFIER_ERROR_INJECTION" # pmos:m, nixpkgs:n
"NR_CPUS" # pmos:64, nixpkgs:384 # "NR_CPUS" # pmos:64, nixpkgs:384
"PREEMPT" # pmos:y, nixpkgs:n # "PREEMPT" # pmos:y, nixpkgs:n
"STANDALONE" # pmos:y, nixpkgs:n # "STANDALONE" # pmos:y, nixpkgs:n
"TRANSPARENT_HUGEPAGE_ALWAYS" # pmos:y, nixpkgs:n # "TRANSPARENT_HUGEPAGE_ALWAYS" # pmos:y, nixpkgs:n
"UEVENT_HELPER" # pmos:y, nixpkgs:n # "UEVENT_HELPER" # pmos:y, nixpkgs:n
"USB_SERIAL" # pmos:m, nixpkgs:y # "USB_SERIAL" # pmos:m, nixpkgs:y
"ZSMALLOC" # pmos:m, nixpkgs:y # "ZSMALLOC" # pmos:m, nixpkgs:y
# these options don't break build, but are nonsensical # # these options don't break build, but are nonsensical
"BASE_FULL" # "BASE_FULL"
"CC_VERSION_TEXT" # "CC_VERSION_TEXT"
"GCC_VERSION" # "GCC_VERSION"
] # ]
; # ;
} # }
# { # {
# name = "add-removed"; # name = "add-removed";
# patch = null; # patch = null;