diff options
Diffstat (limited to 'external/poky/meta/recipes-devtools/run-postinsts')
-rwxr-xr-x | external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | 2 | ||||
-rw-r--r-- | external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts index 95eff04e..f84a7e18 100755 --- a/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts +++ b/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts @@ -67,7 +67,7 @@ exec_postinst_scriptlets() { echo "Running postinst $i..." [ "$POSTINST_LOGGING" = "1" ] && eval echo "Running postinst $i..." $append_log if [ -x $i ]; then - eval sh -c $i $append_log + (sh -c $i $append_log) rm $i else echo "ERROR: postinst $i failed." diff --git a/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service b/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service index d42addf5..7f72f338 100644 --- a/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service +++ b/external/poky/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service @@ -8,7 +8,7 @@ Before=sysinit.target Type=oneshot ExecStart=#SBINDIR#/run-postinsts ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service -RemainAfterExit=No +RemainAfterExit=yes TimeoutSec=0 [Install] |