cccs: fix name of the package to remove in read-only filesystems

The package name has changed due to commit 52287bf6be.
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 <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2024-10-10 16:42:58 +02:00
parent 97d8740fb2
commit e586f50bd4
1 changed files with 1 additions and 0 deletions

View File

@ -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)}