aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Dimich <Chris.Dimich@boundarydevices.com>2021-02-17 15:11:54 -0800
committerOtavio Salvador <otavio@ossystems.com.br>2021-02-17 20:22:20 -0300
commit7fecdcede764dc2081f6105f03bcc385d3219aba (patch)
tree60132ffc74e61a80e168de5ff7a63e5abea48e82
parent01d65a00275c2e6016dc9003cc38cd63f6b0fe71 (diff)
downloadmeta-freescale-7fecdcede764dc2081f6105f03bcc385d3219aba.tar.gz
meta-freescale-7fecdcede764dc2081f6105f03bcc385d3219aba.tar.bz2
meta-freescale-7fecdcede764dc2081f6105f03bcc385d3219aba.zip
isp-imx: do not prevent restart of service
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0001-imx8-isp.service-do-not-prevent-restart-of-service.patch26
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.6.0.bb1
2 files changed, 27 insertions, 0 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-imx8-isp.service-do-not-prevent-restart-of-service.patch b/recipes-bsp/isp-imx/isp-imx/0001-imx8-isp.service-do-not-prevent-restart-of-service.patch
new file mode 100644
index 00000000..86391d4b
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0001-imx8-isp.service-do-not-prevent-restart-of-service.patch
@@ -0,0 +1,26 @@
+From ce8dd8db37de85952419a5b28a48ec20d1310cf7 Mon Sep 17 00:00:00 2001
+From: Chris Dimich <Chris.Dimich@boundarydevices.com>
+Date: Wed, 17 Feb 2021 14:09:39 -0800
+Subject: [PATCH 1/1] imx8-isp.service: do not prevent restart of service
+
+Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
+---
+ imx/imx8-isp.service | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/imx/imx8-isp.service b/imx/imx8-isp.service
+index 93d2e9b3a..4f0cd88ca 100644
+--- a/imx/imx8-isp.service
++++ b/imx/imx8-isp.service
+@@ -10,7 +10,7 @@ StartLimitBurst=5
+ Restart=on-failure
+ RestartSec=5s
+ # ENXIO
+-RestartPreventExitStatus=6
++#RestartPreventExitStatus=6
+ ExecStart=/opt/imx8-isp/bin/start_isp.sh
+
+ [Install]
+--
+2.29.0
+
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.6.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.6.0.bb
index 8dd8c898..8f42faef 100644
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.6.0.bb
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.6.0.bb
@@ -9,6 +9,7 @@ inherit fsl-eula-unpack cmake systemd
SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \
file://0001-BufferManager.h-add-missing-header-file.patch;patchdir=.. \
+ file://0001-imx8-isp.service-do-not-prevent-restart-of-service.patch;patchdir=.. \
file://0001-run.sh-fix-bashism.patch;patchdir=.. \
file://0001-start_isp.sh-fix-test-to-be-generic.patch;patchdir=.. \
"