1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
openwrt/include
Michael Pratt 729909c07f
prereq-build: do not replace binaries with symlinks
Some programs, like bash and patch, are checked by prereq stage
and have a symlink installed, but then is later built from source.

Now that the prereq-build checks are not successful
just by finding the file alone, it is possible for
a new symlink to overwrite the installed binary.

If a normal file is found in staging_dir/host/bin,
let the check look for the associated stampfile, and if found,
skip creation of a symlink and exit successfully.

Suggested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-06-05 08:31:50 +02:00
..
site generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
autotools.mk autotools: add list of fake paths to tools 2023-05-04 06:07:26 +02:00
bpf.mk bpf: ignore missing LLVM bins on package for non compile steps 2023-01-19 00:29:09 +01:00
cmake.mk
debug.mk
depends.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
device_table.txt
download.mk download: create immutable subversion checkout archive 2023-05-18 16:17:52 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: export GIT_CEILING_DIRECTORIES for package builds 2023-05-31 19:33:00 +02:00
image-commands.mk build: Allow specifying uImage time 2023-05-20 21:29:25 +02:00
image.mk build: Allow specifying uImage time 2023-05-20 21:29:25 +02:00
kernel-5.15 kernel: bump 5.15 to 5.15.114 2023-05-31 07:31:41 +02:00
kernel-6.1 kernel: bump 6.1 to 6.1.31 2023-06-02 21:23:12 +02:00
kernel-build.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
kernel-defaults.mk kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function 2023-05-22 22:28:18 +02:00
kernel-version.mk kernel: fix wrong detection of Linux-Testing-Version in makefile DUMP 2023-05-31 20:28:40 +02:00
kernel.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
logo.png
logo.svg
meson.mk
netfilter.mk netfilter: add kmod-nf-conntrack 2023-02-18 17:12:30 +01:00
nls.mk nls.mk: fixup cmake packages 2022-11-27 00:52:06 +01:00
openssl-module.mk openssl: add legacy provider 2023-04-05 08:24:49 -03:00
package-bin.mk
package-defaults.mk build: disable automake dependency tracking 2023-03-13 22:53:41 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: export GIT_CEILING_DIRECTORIES for package builds 2023-05-31 19:33:00 +02:00
prereq-build.mk prereq-build: add missing check for Perl IPC::Cmd 2023-05-28 08:58:06 +02:00
prereq.mk prereq-build: do not replace binaries with symlinks 2023-06-05 08:31:50 +02:00
quilt.mk
rootfs.mk
scan.awk
scan.mk treewide: add ORIG_PATH variable 2023-06-05 08:31:47 +02:00
shell.sh
subdir.mk
target.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
toolchain-build.mk toolchain: fix dangling symlink to self in FixupLibdir 2022-07-01 19:17:36 +02:00
toplevel.mk treewide: add ORIG_PATH variable 2023-06-05 08:31:47 +02:00
trusted-firmware-a.mk trusted-firmware-a.mk: fix build with binutils 2.39+ 2023-01-21 11:55:23 +01:00
u-boot.mk
uclibc++.mk
unpack.mk include: use libdeflate's gzip to decompress 2023-01-17 21:40:18 +01:00
verbose.mk
version.mk