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
..
2023-05-28 13:19:10 +02:00
2022-01-17 09:14:26 +01:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2023-05-20 21:29:25 +02:00
2023-05-31 07:31:41 +02:00
2023-06-02 21:23:12 +02:00
2023-05-28 13:19:10 +02:00
2022-04-09 15:56:04 +02:00
2023-02-18 17:12:30 +01:00
2022-11-27 00:52:06 +01:00
2023-04-05 08:24:49 -03:00
2023-06-05 08:31:47 +02:00
2023-05-28 13:19:10 +02:00
2023-06-05 08:31:47 +02:00
2021-10-24 18:20:50 +02:00
2021-02-05 14:54:47 +01:00