summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/isp-imx
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 /recipes-bsp/isp-imx
parent01d65a00275c2e6016dc9003cc38cd63f6b0fe71 (diff)
downloadmeta-freescale-7fecdcede764dc2081f6105f03bcc385d3219aba.tar.gz
isp-imx: do not prevent restart of service
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
Diffstat (limited to 'recipes-bsp/isp-imx')
-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 @@
1From ce8dd8db37de85952419a5b28a48ec20d1310cf7 Mon Sep 17 00:00:00 2001
2From: Chris Dimich <Chris.Dimich@boundarydevices.com>
3Date: Wed, 17 Feb 2021 14:09:39 -0800
4Subject: [PATCH 1/1] imx8-isp.service: do not prevent restart of service
5
6Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
7---
8 imx/imx8-isp.service | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/imx/imx8-isp.service b/imx/imx8-isp.service
12index 93d2e9b3a..4f0cd88ca 100644
13--- a/imx/imx8-isp.service
14+++ b/imx/imx8-isp.service
15@@ -10,7 +10,7 @@ StartLimitBurst=5
16 Restart=on-failure
17 RestartSec=5s
18 # ENXIO
19-RestartPreventExitStatus=6
20+#RestartPreventExitStatus=6
21 ExecStart=/opt/imx8-isp/bin/start_isp.sh
22
23 [Install]
24--
252.29.0
26
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
9 9
10SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ 10SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \
11 file://0001-BufferManager.h-add-missing-header-file.patch;patchdir=.. \ 11 file://0001-BufferManager.h-add-missing-header-file.patch;patchdir=.. \
12 file://0001-imx8-isp.service-do-not-prevent-restart-of-service.patch;patchdir=.. \
12 file://0001-run.sh-fix-bashism.patch;patchdir=.. \ 13 file://0001-run.sh-fix-bashism.patch;patchdir=.. \
13 file://0001-start_isp.sh-fix-test-to-be-generic.patch;patchdir=.. \ 14 file://0001-start_isp.sh-fix-test-to-be-generic.patch;patchdir=.. \
14" 15"