kumquat-buildroot/support/scripts
Thomas Petazzoni 184cb52f6d support/scripts/fix-rpath: exclude /lib/firmware in the target
The /lib/firmware directory contains random firmware for various
devices. It happens that some of them might be or appear to be ELF
files, but they shouldn't be checked by fix-rpath. For example, one of
the Qualcomm VPU firmware file appears to be an ELF file, but patchelf
isn't happy about it:

$ ./output/host/bin/patchelf --print-rpath output/target/lib/firmware/qcom/venus-4.2/venus.b00
patchelf: patchelf.cc:387: void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym>::parse() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn; Elf_Sym = Elf32_Sym]: Assertion `shstrtabIndex < shdrs.size()' failed.
Aborted (core dumped)

Even though patchelf definitely shouldn't crash, it anyway doesn't
make sense to check ELF files in /lib/firmware, so let's exclude this
directory from our check.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-12 21:15:49 +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 support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
brpkgutil.py support/scripts/graph-depends: use the standard python logging module 2018-04-01 22:25:57 +02:00
check-bin-arch support/check-bin-arch: exclude kernel modules for merged /usr 2018-03-07 23:03:52 +01:00
check-host-rpath support/check-rpath: recognise PIE 2017-09-27 00:13:55 +02:00
check-kernel-headers.sh
check-uniq-files support/check-uniq-files: support weird locales and filenames 2018-03-31 15:32:00 +02:00
eclipse-register-toolchain eclipse-register-toolchain: toolchain is no longer installed in $(HOST_DIR)/usr 2017-07-05 16:06:27 +02:00
expunge-gconv-modules
fix-configure-powerpc64.sh support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
fix-rpath support/scripts/fix-rpath: exclude /lib/firmware in the target 2018-04-12 21:15:49 +02:00
genimage.sh support/scripts/genimage.sh: show usage when invoked incorrectly 2017-12-11 20:14:39 +01:00
graph-build-time graph-build-time: fix code style 2018-01-29 23:14:24 +01:00
graph-depends support/scripts/graph-depends: add --flat-list option 2018-04-01 22:25:57 +02:00
hardlink-or-copy support/scripts: fix shebang with bash 2017-06-08 21:43:05 +02:00
mkmakefile
mkusers support/scripts: allow /etc/shadow to be symlinked 2017-06-24 17:49:48 +02:00
pkg-stats support/scripts/pkg-stats: replace with new Python version 2018-04-04 22:05:33 +02:00
pycompile.py pycompile: fix code style 2018-01-29 23:14:24 +01:00
setlocalversion setlocalversion: fix detection of hg revision for untagged versions 2017-07-03 11:40:49 +02:00
size-stats size-stats: fix code style 2018-01-29 23:14:24 +01:00
xorg-release