Go to file
Nicolas Carrier 88666e0fbb package/apache: atomic creation of pid file.
The original pattern for creating the pid file was:
open_create(pid_file)
write(pid_file, pid)
close(pid_file)

But if a power outage occurs between open_create and write, the file will
be empty and httpd will refuse to start afterwards unless the corrupt pid
file is removed.

This patch uses the pattern:
open_create(temp_pid_file)
write(temp_pid_file)
close(temp_pid_file)
rename(temp_pid_file, pid_file)
which is guaranteed to be atomic, provided that temp_pid_file and pid_file
are located in the same file system, which this patch does by creating
a temporary file name with the pattern:
    pid_file_name + random_suffix

Patch is upstream as of
dd10a9352e,
which will be in the next 2.5.x version.

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
[Thomas: update to use upstreamed patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 67fbb903b6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-04-30 15:03:25 +02:00
arch arch/arc: explicitly set "max-page-size" for GNU LD 2019-12-25 22:09:52 +01:00
board board/freescale: use correct ahab-container.img file name 2020-02-26 22:27:59 +01:00
boot boot/syslinux: fix build of efi part with gnu-efi 3.0.10 2020-04-08 16:23:39 +02:00
configs configs/qemu_arm_vexpress_tz_defconfig: optee needs host-python3 w/ modules 2020-03-08 20:55:33 +01:00
docs docs/manual: minor typo fix 2020-04-08 13:33:36 +02:00
fs fs/initramfs: fix show-info 2020-03-27 23:13:12 +01:00
linux {linux, linux-headers}: bump 5.{4, 5, 6}.x series 2020-04-09 00:00:40 +02:00
package package/apache: atomic creation of pid file. 2020-04-30 15:03:25 +02:00
support support/testing: test_python_django: use the timeout_multiplier value 2020-04-29 23:42:22 +02:00
system Revert "system: don't attempt swapon/swapoff in inittab if not available" 2020-02-08 20:13:07 +01:00
toolchain Makefile: make-4.3 now longer un-escapes \# in macros 2020-04-08 13:25:28 +02:00
utils utils/genrandconfig: drop outdated python-nfc check 2020-03-04 19:08:12 +01:00
.defconfig
.flake8 .flake8: fix check for 80/132 columns 2019-04-10 12:31:33 +02:00
.gitignore
.gitlab-ci.yml support/testing: add libftdi1 test case 2020-02-23 11:12:09 +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 2020.02.1 2020-04-10 22:42:41 +02:00
Config.in Config.in: drop BR2_NEEDS_HOST_{JAVAC,JAR} 2020-03-03 23:55:48 +01:00
Config.in.legacy package/classpath: drop package 2020-03-03 23:49:49 +01:00
COPYING
DEVELOPERS DEVELOPERS: add Michael Fischer for gnuplot and sdl2 2020-02-27 23:12:10 +01:00
Makefile Update for 2020.02.1 2020-04-10 22:42:41 +02:00
Makefile.legacy
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