From: Vishwas Udupa Date: Wed, 12 Nov 2025 11:28:23 +0000 (+0530) Subject: findutils:/var is populated by base-files, so no need to repack empty dir X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52278e6400911a3688df63a6ac7f04757d572da;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git findutils:/var is populated by base-files, so no need to repack empty dir findutils installs an empty /var which is already created by base-files. It doesn't need to be packaged by findutils. this helps to align towards stateless system expectations or when updates are done via meta-updater. Signed-off-by: Vishwas Udupa Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/findutils/findutils_4.10.0.bb b/meta/recipes-extended/findutils/findutils_4.10.0.bb index 29ad6c73506..91bb1be1708 100644 --- a/meta/recipes-extended/findutils/findutils_4.10.0.bb +++ b/meta/recipes-extended/findutils/findutils_4.10.0.bb @@ -15,6 +15,10 @@ EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort" # need od from coreutils for -t option RDEPENDS:${PN}-ptest += "bash sed grep coreutils" +do_install:append() { + rmdir ${D}${localstatedir} +} + do_install_ptest:class-target() { mkdir -p ${D}${PTEST_PATH}/tests/ cp ${S}/init.cfg ${D}${PTEST_PATH}