Go to file
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
arch arch/arc: explicitly set "max-page-size" for GNU LD 2019-12-25 22:09:52 +01:00
board board/freescale/common/imx: add support for i.MX8 2020-02-05 12:25:29 +01:00
boot boot/uboot: needs make >= 4.0 2020-02-03 21:29:56 +01:00
configs configs/bananapro: bump Linux to 5.4.7 2020-02-04 19:28:51 +01:00
docs Makefile, manual, website: Bump copyright year 2020-01-29 22:31:02 +01:00
fs fs: don't use := when not needed 2019-10-27 10:35:06 +01:00
linux linux: bump CIP RT kernel to version 4.19.98-cip19-rt7 2020-02-05 11:40:29 +01:00
package system: don't attempt swapon/swapoff in inittab if not available 2020-02-05 15:57:56 +01:00
support support/testing: new opkg test case 2020-02-03 22:17:42 +01:00
system system: don't attempt swapon/swapoff in inittab if not available 2020-02-05 15:57:56 +01:00
toolchain toolchain/toolchain-external: warn for untested GCC/kernel version 2020-02-02 08:53:25 +01:00
utils utils/check-package: ignore ACLOCAL_PATH 2020-02-04 17:15:19 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: fix check for 80/132 columns 2019-04-10 12:31:33 +02:00
.gitignore
.gitlab-ci.yml support/testing: new opkg test case 2020-02-03 22:17:42 +01:00
.gitlab-ci.yml.in gitlab-ci: use our updated docker base image 2019-10-27 21:52:28 +01:00
CHANGES Update for 2019.02.9 2020-01-12 21:39:09 +01:00
Config.in core: implement per-package SDK and target 2019-11-29 14:24:05 +01:00
Config.in.legacy package/gcc: remove gcc 5.5 or1k fork 2020-02-04 21:18:42 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS package/elixir: new package 2020-02-05 15:37:51 +01:00
Makefile Makefile, manual, website: Bump copyright year 2020-01-29 22:31:02 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches