From 73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 22 Aug 2018 14:49:52 +0000 Subject: 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 --- meta/classes/image-prelink.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/image-prelink.bbclass') 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 () { 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 -- cgit 1.2.3-korg