From d4ef8d1abb747830ca4f5df7faa29c9ded7c4d5b Mon Sep 17 00:00:00 2001 From: Miguel Bernal Marin Date: Thu, 7 Jun 2018 13:38:15 -0500 Subject: [PATCH] fix cbc_attach service --- 0001-cbc_attach-fix-systemd-service.patch | 29 +++++++++++++++++++++++ series | 1 + 2 files changed, 30 insertions(+) create mode 100644 0001-cbc_attach-fix-systemd-service.patch create mode 100644 series diff --git a/0001-cbc_attach-fix-systemd-service.patch b/0001-cbc_attach-fix-systemd-service.patch new file mode 100644 index 0000000..18980fb --- /dev/null +++ b/0001-cbc_attach-fix-systemd-service.patch @@ -0,0 +1,29 @@ +From 1f26a4589363ce3b07f9bcb3d92609df9400c213 Mon Sep 17 00:00:00 2001 +From: Miguel Bernal Marin +Date: Thu, 7 Jun 2018 13:32:32 -0500 +Subject: [PATCH] cbc_attach: fix systemd service + +The service should be launched as: cbc_attach /dev/ttyS2 + +Suggested-by: Yao, Michael +Signed-off-by: Miguel Bernal Marin +--- + misc/cbc_attach/cbc_attach.service | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/misc/cbc_attach/cbc_attach.service b/misc/cbc_attach/cbc_attach.service +index 946ddd1..5fb126e 100644 +--- a/misc/cbc_attach/cbc_attach.service ++++ b/misc/cbc_attach/cbc_attach.service +@@ -5,7 +5,7 @@ After=sysinit.target local.target + Before=basic.target + + [Service] +-ExecStart=/usr/bin/cbc_attach -f /dev/ttyS2 ++ExecStart=/usr/bin/cbc_attach /dev/ttyS2 + Restart=always + Type=notify + +-- +2.17.1 + diff --git a/series b/series new file mode 100644 index 0000000..035e81b --- /dev/null +++ b/series @@ -0,0 +1 @@ +0001-cbc_attach-fix-systemd-service.patch