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:
Newbyte 2021-07-17 18:17:20 +02:00 committed by Clayton Craft
parent 68fe7df046
commit 3c98cae230
No known key found for this signature in database
GPG Key ID: 7A3461CA187CEA54
2 changed files with 2 additions and 1 deletions

View File

@ -455,6 +455,7 @@ necessary_kconfig_options_zram = {
"ZRAM_MEMORY_TRACKING": True,
"CRYPTO_LZ4": True,
"LZ4_COMPRESS": True,
"SWAP": True,
}
},
}

View File

@ -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