summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-prelink.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-11 08:10:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-13 09:27:38 +0100
commitbb81ff1343d8d6213f0418fd18b10312c96c4617 (patch)
tree359ad9933a5d278ca127733e864d37523f8f7d8f /meta/classes/image-prelink.bbclass
parent9b32a558f663502d119b94264fa6cfa98086cb52 (diff)
downloadpoky-bb81ff1343d8d6213f0418fd18b10312c96c4617.tar.gz
image-prelink: Disable for musl images
For some reason prelink was refusing to prelink musl images but now sometimes does modify the binaries. Since musl has no support for this, such images end up broken and unable to boot. To avoid this, be explicit and only apply prelinking for libc-glibc. [YOCTO #11913] (From OE-Core rev: 5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-prelink.bbclass')
-rw-r--r--meta/classes/image-prelink.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass
index 4157df021a..6fcd699016 100644
--- a/meta/classes/image-prelink.bbclass
+++ b/meta/classes/image-prelink.bbclass
@@ -1,6 +1,6 @@
1do_rootfs[depends] += "prelink-native:do_populate_sysroot" 1do_rootfs[depends] += "prelink-native:do_populate_sysroot"
2 2
3IMAGE_PREPROCESS_COMMAND += "prelink_setup; prelink_image; " 3IMAGE_PREPROCESS_COMMAND_append_libc-glibc = " prelink_setup; prelink_image; "
4 4
5python prelink_setup () { 5python prelink_setup () {
6 oe.utils.write_ld_so_conf(d) 6 oe.utils.write_ld_so_conf(d)