From e586f50bd42cd2a4d17aedb96f162f9510228df3 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Thu, 10 Oct 2024 16:42:58 +0200 Subject: [PATCH] cccs: fix name of the package to remove in read-only filesystems The package name has changed due to commit 52287bf6be1. This fix makes use of the Yocto variable `REMOVE_POSTINST_RPN`, which holds the target name for the `remove-pkg-postinst-ontarget` class. Signed-off-by: Francisco Gil --- meta-digi-dey/recipes-digi/cccs/cccs_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb index 2c639d010..95768884d 100644 --- a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb +++ b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb @@ -96,6 +96,7 @@ pkg_postinst_ontarget:${PN}-daemon() { fi } +REMOVE_POSTINST_RPN = "${PN}-daemon" inherit ${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "remove-pkg-postinst-ontarget", \ oe.utils.ifelse(d.getVar("CCCS_CONF_PATH"), "remove-pkg-postinst-ontarget", ""), d)}