kumquat-buildroot/support/scripts
Carlos Santos 9e546440d3 support/scripts/check-kernel-headers.sh: use a trap to remove the temporary file
The POSIX specification defines a 'trap <action> EXIT' mechanism that is
useful to perform clean-up actions in shell scripts. A trap has two main
advantages over hand-crafted clean-up mechanisms:

- It runs even if the process is terminated by a SIGTERM.
- It runs even if the script stops due to a pipeline failure (set -e).

Now we can make the script to stop immediately if a compilation error
occurs, instead of letting it try to run an unexisting program.

This change may appear to be overkill but Buildroot is an open source
project and each piece of code is a potential learning tool for other
developments. We must strive to provide good examples.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Acked-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-25 22:07:29 +02:00
..
apply-patches.sh support/scripts/apply-patches.sh: do not apply patches with renames 2017-09-19 22:51:25 +02:00
br2-external core: allow br2-external trees to provide opensl 2019-08-04 00:13:37 +02:00
brpkgutil.py support/scripts: use show-info to extract dependency graph 2019-05-07 23:03:41 +02:00
check-bin-arch support/scripts/check-bin-arch: ignore /usr/lib/grub 2019-05-20 22:33:14 +02:00
check-host-rpath support/scripts/check-host-rpath: document existing functions 2019-01-17 22:38:34 +01:00
check-kernel-headers.sh support/scripts/check-kernel-headers.sh: use a trap to remove the temporary file 2019-09-25 22:07:29 +02:00
check-merged-usr.sh skeleton-custom: use a script to check merged usr structure 2019-02-06 17:03:30 +01:00
check-uniq-files support/scripts/check-uniq-files: remove csv module import 2018-04-25 21:19:22 +02:00
eclipse-register-toolchain
expunge-gconv-modules
fix-configure-powerpc64.sh
fix-rpath support/scripts/fix-rpath: exclude /lib/firmware in the target 2018-04-12 21:15:49 +02:00
generate-gitlab-ci-yml .gitlab-ci.yml: use "extends" keyword 2019-02-06 11:40:28 +01:00
genimage.sh support/scripts/genimage.sh: show usage when invoked incorrectly 2017-12-11 20:14:39 +01:00
graph-build-time support/scripts/graph-build-time: replace confusing colors 2019-02-04 15:23:27 +01:00
graph-depends support/graph-depends: use the new make-based dependency tree 2019-03-25 19:31:02 +01:00
hardlink-or-copy
mkmakefile support/scripts/mkmakefile: make wrapper silent by default 2018-11-02 21:23:02 +01:00
mkusers support/scripts/mkusers: preserve group members 2018-09-12 21:22:25 +02:00
pkg-stats support/scripts/pkg-stats: simplify Git commit id retrieval 2019-09-15 16:10:22 +02:00
pycompile.py pycompile: fix code style 2018-01-29 23:14:24 +01:00
setlocalversion support/scripts/setlocalversion: ignore user settings for Mercurial 2019-02-04 21:25:33 +01:00
size-stats support/graph-size: reorder colours assigned to sizes 2019-08-26 22:51:47 +02:00