diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-11 08:10:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-11 08:14:19 +0100 |
commit | 5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95 (patch) | |
tree | 440d43e3c1f3d008bc4a7e190e240bd70074390e | |
parent | a703bb6159dd69020fb40db7a6a0811f45869972 (diff) | |
download | openembedded-core-5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95.tar.gz openembedded-core-5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95.tar.bz2 openembedded-core-5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95.zip |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image-prelink.bbclass | 2 |
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 @@ do_rootfs[depends] += "prelink-native:do_populate_sysroot" -IMAGE_PREPROCESS_COMMAND += "prelink_setup; prelink_image; " +IMAGE_PREPROCESS_COMMAND_append_libc-glibc = " prelink_setup; prelink_image; " python prelink_setup () { oe.utils.write_ld_so_conf(d) |