From 720d627bd3a088693c35422de7ccd69572be9bdf Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Wed, 2 Oct 2024 18:02:20 +0200 Subject: [PATCH] cccs: add libubootenv as RDEPENDS of daemon Some parameters of the CCCS configuration file need to be substituted at run-time during a postinst script. Such script takes actions depending on the value of U-Boot env variables. The libubootenv recipe itself also has a postinst script that modifies the U-Boot env configuration file (on NAND-based platforms). If there are no dependencies between these two recipes, poky will decide the order in which the postinst scripts are named (and thus executed) during the first boot. By creating the rdepends to libubootenv, we guarantee that its postinst script is run before the cccs one, which depends on the environment being accessible. Signed-off-by: Hector Palacios https://onedigi.atlassian.net/browse/DEL-9282 --- meta-digi-dey/recipes-digi/cccs/cccs_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb index 64713d67f..2c639d010 100644 --- a/meta-digi-dey/recipes-digi/cccs/cccs_git.bb +++ b/meta-digi-dey/recipes-digi/cccs/cccs_git.bb @@ -157,6 +157,7 @@ RDEPENDS:${PN}-daemon = " \ ${PN} \ ${PN}-cert \ initscripts-functions \ + libubootenv \ " # 'cccsd-gs-demo-init' script uses '/etc/init.d/functions'