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:
parent
f439506eb8
commit
4618c76208
|
|
@ -372,6 +372,9 @@ fi
|
||||||
# Give some time for the devices to settle down
|
# Give some time for the devices to settle down
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
# Run all shell scripts in postinstall folder
|
||||||
|
run-parts /etc/*-postinsts
|
||||||
|
|
||||||
# Setup fw_printenv.
|
# Setup fw_printenv.
|
||||||
mkdir -p /var/lock
|
mkdir -p /var/lock
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue