From 9497ca232586925dea248c913405470eb82528a7 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 2 Nov 2022 14:51:22 +0800 Subject: [PATCH] fetchmail: Fix buildpaths warning. WARNING: fetchmail-6.4.23-r0 do_package_qa: QA Issue: File /usr/bin/fetchmailconf in package fetchmail contains reference to TMPDIR [buildpaths] Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb b/meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb index e4ad0a39e1..266573681e 100644 --- a/meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb +++ b/meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb @@ -18,5 +18,9 @@ inherit autotools gettext pkgconfig python3-dir python3native EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix}" +do_install:append() { + sed -i 's,${RECIPE_SYSROOT_NATIVE},,g' ${D}${bindir}/fetchmailconf +} + PACKAGES =+ "fetchmail-python" FILES:fetchmail-python = "${libdir}/${PYTHON_DIR}/*"