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 <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2024-10-02 18:00:31 +02:00
parent 2880f7ea0f
commit 52287bf6be
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ do_install:append:ccimx6ul() {
fi 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 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 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 sed -i "/firmware_download_path = \/mnt\/update/c\firmware_download_path = \/home\/root" /etc/cccs.conf