From 0817a4de9320af75d2672ea84a15c16c7f351c2d Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Thu, 11 Jan 2024 12:11:26 +0100 Subject: [PATCH] cccs: dualboot: set by default on the fly to true To work in a dualboot memory layout out of the box, the most common use case of the firmware update through the cloud should be on the fly because in nand platforms there is not enough memory to keep the update file in the system. https://onedigi.atlassian.net/browse/DEL-8305 Signed-off-by: Francisco Gil --- meta-digi-dey/recipes-digi/cccs/cccs_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb index d35847eca..10d5e5b34 100644 --- a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb +++ b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2023, Digi International Inc. +# Copyright (C) 2017-2024, Digi International Inc. SUMMARY = "Digi's ConnectCore Cloud services" SECTION = "libs" @@ -57,9 +57,10 @@ do_install:append:ccimx6ul() { } pkg_postinst_ontarget:${PN}() { - # If dualboot is enabled, change the CCCSD download path 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 sed -i "/firmware_download_path = \/mnt\/update/c\firmware_download_path = \/home\/root" /etc/cccs.conf + sed -i "/on_the_fly = false/c\on_the_fly = true" /etc/cccs.conf fi }