From 52287bf6be1e524c1e5dc24ef9de0282c8164e24 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Wed, 2 Oct 2024 18:00:31 +0200 Subject: [PATCH] cccs: specify the runtime package (daemon) that requires the postinst The postinst modifies the /etc/cccs.conf config file used by the daemon. Signed-off-by: Hector Palacios --- meta-digi-dey/recipes-digi/cccs/cccs_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb index 41f670a0f..64713d67f 100644 --- a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb +++ b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb @@ -88,7 +88,7 @@ do_install:append:ccimx6ul() { fi } -pkg_postinst_ontarget:${PN}() { +pkg_postinst_ontarget:${PN}-daemon() { # If dualboot is enabled, change the CCCSD download path and set on the fly to yes on the first boot if [ "$(fw_printenv -n dualboot 2>/dev/null)" = "yes" ]; then sed -i "/firmware_download_path = \/mnt\/update/c\firmware_download_path = \/home\/root" /etc/cccs.conf