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 <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2017-06-23 10:43:49 +02:00 committed by Alex Gonzalez
parent f439506eb8
commit 4618c76208
1 changed files with 3 additions and 0 deletions

View File

@ -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