mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
busybox: make busybox.links.{suid, nosuid} reproducible
The busybox.link.* files are generated from autoconf.h and applets.h, which are both auto-generated by the build system. The contents of the two files might be in different order, and so the link files are not reproducble as is. Fix this by sorting the lists using `sort`. (From OE-Core rev: bade7cc344c2f0e9316f973c34e9c9dfcbdbe32d) Signed-off-by: Martin Hundebøll <martin@geanix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
436da7fbf3
commit
c31c80aa8a
@@ -184,7 +184,8 @@ do_compile() {
|
||||
oe_runmake busybox_unstripped
|
||||
mv busybox_unstripped busybox.$s
|
||||
oe_runmake busybox.links
|
||||
mv busybox.links busybox.links.$s
|
||||
sort busybox.links > busybox.links.$s
|
||||
rm busybox.links
|
||||
done
|
||||
|
||||
# hard fail if sh is being linked to the suid busybox (detects bug 10346)
|
||||
|
||||
Reference in New Issue
Block a user