busybox: enable swapon/off by default to make it consistent with mkswap

No size increase on busybox binary.
  Since busybox mkswap is already enabled by default it seems reasonable
  to enable swapon/off too. For ex. this obsoletes installing block-mount
  dependency for zram-swap.

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
This commit is contained in:
Emil Muratov 2018-11-01 21:53:43 +03:00 committed by Christian Lamparter
parent b062c90f47
commit afa5ce2493

View File

@ -1755,16 +1755,16 @@ config BUSYBOX_DEFAULT_SETSID
default n default n
config BUSYBOX_DEFAULT_SWAPON config BUSYBOX_DEFAULT_SWAPON
bool bool
default n default y
config BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD config BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD
bool bool
default n default y
config BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI config BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI
bool bool
default n default y
config BUSYBOX_DEFAULT_SWAPOFF config BUSYBOX_DEFAULT_SWAPOFF
bool bool
default n default y
config BUSYBOX_DEFAULT_FEATURE_SWAPONOFF_LABEL config BUSYBOX_DEFAULT_FEATURE_SWAPONOFF_LABEL
bool bool
default n default n