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:
parent
2880f7ea0f
commit
52287bf6be
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue