From 5e235fb2cb8b2c976416ad22c91b2a9ba7e87c03 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 14 Aug 2024 14:23:42 -0700 Subject: [PATCH] lprng: Specify target paths for needed utilities pr,openssl,chown,chgrp are guessed during configure and they are found on host, sometimes under native sysroot and some under HOSTTOOLS which is not right, therefore point to target locations of these tools Fixes all errors like below File /usr/sbin/lprng_certs in package lprng contains reference to TMPDIR Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- meta-oe/recipes-extended/lprng/lprng_3.8.C.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb b/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb index 73e4eac3dd..cd9d9e8a36 100644 --- a/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb +++ b/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb @@ -11,7 +11,9 @@ SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f inherit autotools gettext -EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost" +EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \ + CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \ + OPENSSL=${bindir}/openssl PRUTIL=${bindir}/pr" FILES:${PN}-dbg += "${libdir}/lprng/filters/.debug" # configure: WARNING: Program 'clear' is not found. Set environment CLEAR=no if you do not want to use it