From 4618c7620846f0ef25b43ba5a30174e54038cfb2 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Fri, 23 Jun 2017 10:43:49 +0200 Subject: [PATCH] recovery-initramfs: execute all post installation scripts In the recovery images we are using a custom init so we are not executing any post-installation that is required for a correct rootfs setup, so call all the post installation scripts from our custom init. The package installation could be ipk, rpm or deb, so call to the *postint folder. Given that the recovery rootfs is a ramdisk, there is no need to remove the post installation scripts. https://jira.digi.com/browse/DEL-4430 Signed-off-by: Isaac Hermida --- .../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 07bdf4439..5f70a0e3d 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 @@ -372,6 +372,9 @@ fi # Give some time for the devices to settle down sleep 2 +# Run all shell scripts in postinstall folder +run-parts /etc/*-postinsts + # Setup fw_printenv. mkdir -p /var/lock