Go to file
Thomas De Schampheleire cee060e98e core infra: make sure apply-patches is called with correct tar
Buildroot has a mechanism to detect a too-old or missing tar program on the
host machine, and builds a custom host-tar if needed. An example situation
is a RHEL5 host machine, where tar is knowingly too old.

The apply-patches script also employs tar, in case the patches come as an
archive. However, tar is called as 'tar' without any absolute path, and the
environment does not point in any way to the possibly custom tar. As a
result, the too-old-tar is called. A particular problem is the flag '-a'
which is missing on e.g. RHEL5.

Previously, this problem went unnoticed: tar would fail, but apply-patches
did not notice it, and the overall return code of the script was 'success'.
However, commit d5ae67b4 added 'set -e' to the script, causing any error to
halt execution of the script with an error.

Fix the problem by adding the Buildroot-built host tools to the PATH when
calling apply-patches.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-02-01 22:10:44 +01:00
arch arch: add OpenRISC architecture support 2017-01-25 22:53:53 +01:00
board configs/qemu: bump to the latest kernel version 2017-01-31 14:25:24 +01:00
boot package: fix reverse dependencies of util-linux 2017-01-28 21:02:51 +13:00
configs configs/imx6q-sabresd: Bump to 4.9.7 kernel 2017-02-01 21:37:28 +01:00
docs docs/website/sponsors.html: Google and Mind sponsors of FOSDEM 2017 meeting 2017-02-01 21:52:10 +01:00
fs fs/tar: make --no-recursion effective 2016-12-28 10:13:21 +01:00
linux linux: bump default to version 4.9.7 2017-02-01 21:38:24 +01:00
package core infra: make sure apply-patches is called with correct tar 2017-02-01 22:10:44 +01:00
support core: do not reset DEPENDENCIES_HOST_PREREQ in dependencies.mk 2017-01-28 20:30:41 +13:00
system package: update comments for reverse dependencies of util-linux 2017-01-28 21:03:04 +13:00
toolchain toolchain-external: remove stale references to (ARCH_)LIBC_A_LOCATION 2017-02-01 22:04:49 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2016.11.2 2017-01-25 09:50:33 +01:00
Config.in package/google-breakpad: really fix the C++11 dependency 2016-12-22 10:36:20 +01:00
Config.in.legacy perl-db-file: remove this package 2016-12-27 18:00:50 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: update Thomas De Schampheleire 2017-02-01 22:03:35 +01:00
Makefile Makefile, manual: Bump copyright year 2017-01-27 19:10:22 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

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