From 67c1ef2c9ec0564294658a4e0d5b622f3da808b8 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 29 Oct 2021 09:35:53 +0200 Subject: [PATCH] recovery-initramfs-init: fix psplash communication FIFO path The latest version of psplash changed the default path to store the communication FIFO with other processes to "/run" to allow keeping the information between reboots, however we are using this tool from an initramfs where "/run" does not exist, producing multiple errors trying to write to a nonexistent path, delaying the update process. This commit forces psplash to use an existing path like "/tmp" to handle the communication FIFO, because we don't need to maintain the update information. https://onedigi.atlassian.net/browse/CC8X-318 Signed-off-by: Arturo Buzarra --- .../recovery/recovery-initramfs/recovery-initramfs-init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-digi-dey/recipes-core/recovery/recovery-initramfs/recovery-initramfs-init b/meta-digi-dey/recipes-core/recovery/recovery-initramfs/recovery-initramfs-init index e94758352..499a429b4 100644 --- a/meta-digi-dey/recipes-core/recovery/recovery-initramfs/recovery-initramfs-init +++ b/meta-digi-dey/recipes-core/recovery/recovery-initramfs/recovery-initramfs-init @@ -502,6 +502,9 @@ mkdir -p /var/lock # Set kernel console loglevel. sysctl -q -w kernel.printk=4 +# Set path for psplash communication FIFO +export PSPLASH_FIFO_DIR="/tmp" + # Start psplash. psplash &