kconfig check: require CONFIG_SWAP for zram (MR 2085)
While zram has uses outside of swap-on-zram, I would believe that the main use of zram in postmarketOS is swap-on-zram. In addition to that, I imagine many probably expect swap-on-zram to work if the zram kconfig succeeds.
This commit is contained in:
parent
68fe7df046
commit
3c98cae230
|
@ -455,6 +455,7 @@ necessary_kconfig_options_zram = {
|
|||
"ZRAM_MEMORY_TRACKING": True,
|
||||
"CRYPTO_LZ4": True,
|
||||
"LZ4_COMPRESS": True,
|
||||
"SWAP": True,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
@ -25,7 +25,6 @@ CONFIG_HAVE_KERNEL_LZO=y
|
|||
CONFIG_KERNEL_GZIP=y
|
||||
# CONFIG_KERNEL_LZMA is not set
|
||||
CONFIG_DEFAULT_HOSTNAME="(none)"
|
||||
CONFIG_SWAP=y
|
||||
# needed for bubblewrap
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
|
@ -54,3 +53,4 @@ CONFIG_ZRAM_WRITEBACK=y
|
|||
CONFIG_ZRAM_MEMORY_TRACKING=y
|
||||
CONFIG_CRYPTO_LZ4=y
|
||||
CONFIG_LZ4_COMPRESS=y
|
||||
CONFIG_SWAP=y
|
||||
|
|
Loading…
Reference in New Issue