config: Add BINFMT_ELF and BINFMT_SCRIPT
pmOS cannot boot without these two. There was recently someone in the unofficial postmarketOS Telegram group who used some minimal config and couldn't figure out why the initramfs couldn't start up, and these options being disabled turned out to be the culprit. As such, let's ensure these are enabled to make life easier for people setting up new kernel configurations. Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org> Tested-by: Oliver Smith <ollieparanoid@postmarketos.org> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230128203716.152281-1-newbyte@postmarketos.org%3E
This commit is contained in:
parent
a0cea6255a
commit
162867a08c
|
@ -318,6 +318,16 @@ necessary_kconfig_options = {
|
|||
"VT": True,
|
||||
}
|
||||
},
|
||||
">=2.6.0": {
|
||||
"all": {
|
||||
"BINFMT_ELF": True,
|
||||
},
|
||||
},
|
||||
">=3.10.0": {
|
||||
"all": {
|
||||
"BINFMT_SCRIPT": True,
|
||||
},
|
||||
},
|
||||
">=4.0.0": {
|
||||
"all": {
|
||||
"UEVENT_HELPER": True,
|
||||
|
|
|
@ -21,6 +21,8 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y
|
|||
#
|
||||
|
||||
# the required options
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_BINFMT_SCRIPT=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#
|
||||
|
||||
# the required options
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_BINFMT_SCRIPT=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
|
|
|
@ -27,6 +27,8 @@ CONFIG_KERNEL_GZIP=y
|
|||
CONFIG_DEFAULT_HOSTNAME="(none)"
|
||||
# needed for bubblewrap
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_BINFMT_SCRIPT=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
|
|
|
@ -21,6 +21,8 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y
|
|||
#
|
||||
|
||||
# the required options
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_BINFMT_SCRIPT=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
|
|
|
@ -28,6 +28,8 @@ CONFIG_DEFAULT_HOSTNAME="(none)"
|
|||
# needed for bubblewrap
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_BINFMT_ELF=y
|
||||
CONFIG_BINFMT_SCRIPT=y
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DM_CRYPT=y
|
||||
|
|
Loading…
Reference in New Issue