diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-22 14:49:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-23 09:24:31 +0100 |
commit | 73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17 (patch) | |
tree | 0fb88d70ed2f7de2a902c90bf093ce57b40e2709 /meta/classes/image-prelink.bbclass | |
parent | a09f8e32044c8daec2d2fb3ff0e830c21402df6e (diff) | |
download | openembedded-core-contrib-73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-prelink.bbclass')
-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 6a8afa8fa95..04dd57c940a 100644 --- a/meta/classes/image-prelink.bbclass +++ b/meta/classes/image-prelink.bbclass @@ -33,7 +33,7 @@ prelink_image () { fi cat ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf >> $ldsoconf - dynamic_loader=$(linuxloader) + dynamic_loader=${@get_linuxloader(d)} # prelink! if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then |