kumquat-buildroot/package/busybox
Thomas De Schampheleire c4dce0ae0f system: don't attempt swapon/swapoff in inittab if not available
The default inittab files added by busybox and sysvinit run 'swapon -a'
during init and 'swapoff -a' during shutdown.

But, the swapon/swapoff programs are not guaranteed to be
available. For the busybox versions, it is steered by
CONFIG_SWAPON/CONFIG_SWAPOFF. For the util-linux versions, it is steered by
BR2_PACKAGE_UTIL_LINUX_BINARIES.

In a case where swapon/swapoff is not available but the inittab tries to
execute them, the boot log would be polluted by error messages like:

    swapon: not found

Avoid this by commenting out the swapon/swapoff lines if the swapon/swapoff
binaries are not available.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[Peter: test with -x]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-05 15:57:56 +01:00
..
0001-networking-libiproute-use-linux-if_packet.h-instead-.patch
0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch
busybox-minimal.config
busybox.config busybox: Enable domain search list support in udhcpc 2019-08-03 17:49:54 +02:00
busybox.hash package/busybox: bump version to 1.31.1 2019-10-26 20:51:21 +02:00
busybox.mk system: don't attempt swapon/swapoff in inittab if not available 2020-02-05 15:57:56 +01:00
Config.in package/busybox: change how its SELinux support is enabled 2020-02-03 16:49:43 +01:00
inittab
mdev.conf
S01syslogd package/busybox: fix S0{1sys, 2k}logd indentation 2019-04-16 00:06:51 +02:00
S02klogd package/busybox: fix S0{1sys, 2k}logd indentation 2019-04-16 00:06:51 +02:00
S02sysctl package/busybox: add init script for sysctl 2019-08-03 18:48:09 +02:00
S10mdev package/busybox: run mdev in daemon mode 2019-06-20 16:08:14 +02:00
S15watchdog
S50telnet
udhcpc.script package/busybox: udhcpc.script: wait for ipv6 default route from RA for stateful DHCPv6 2019-10-27 20:24:33 +01:00