summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-prelink.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-22 14:49:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 17:58:59 +0100
commit516697bed676a4567a4ff93022b9ac592648619a (patch)
tree56225b5efd37255636d4180bd18743335d7478a1 /meta/classes/image-prelink.bbclass
parent7b23f6124bf40c8c9beb4a46b1477728c90d65ab (diff)
downloadpoky-516697bed676a4567a4ff93022b9ac592648619a.tar.gz
linuxloader: Convert to python function
We could do with one decent general purpose python function to query the path to the dynamic loader. Convert the shell code into python. Also correct baremetal to return "None", not musl loaders. (From OE-Core rev: 73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17) 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 6a8afa8fa9..04dd57c940 100644
--- a/meta/classes/image-prelink.bbclass
+++ b/meta/classes/image-prelink.bbclass
@@ -33,7 +33,7 @@ prelink_image () {
33 fi 33 fi
34 cat ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf >> $ldsoconf 34 cat ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf >> $ldsoconf
35 35
36 dynamic_loader=$(linuxloader) 36 dynamic_loader=${@get_linuxloader(d)}
37 37
38 # prelink! 38 # prelink!
39 if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then 39 if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then