diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-04-01 14:36:33 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-03 18:57:13 +0200 |
commit | 565dfeb1280343fb3f838581169e5d7a1c947862 (patch) | |
tree | 0c8df2183fd7f24a31dc4db213d5d99a1bce938f /scripts/sercomm-payload.py | |
parent | 829fa33899911f5e2a1229a6fdea98feb1d09029 (diff) | |
download | upstream-565dfeb1280343fb3f838581169e5d7a1c947862.tar.gz upstream-565dfeb1280343fb3f838581169e5d7a1c947862.tar.bz2 upstream-565dfeb1280343fb3f838581169e5d7a1c947862.zip |
zram-swap: bail out early if the kernel doesn't support swap
Since KERNEL_SWAP is only enabled by default for !SMALL_FLASH targets, we need
to check if the current kernel supports swap before trying to configure
zram-swap, as opkg can't check for kernel dependencies.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'scripts/sercomm-payload.py')
0 files changed, 0 insertions, 0 deletions