summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Korneichuk <sergei.korneichuk@xilinx.com>2022-02-22 19:09:33 -0800
committerMark Hatle <mark.hatle@xilinx.com>2022-02-24 08:01:58 -0800
commit299550b94abee3c8653fbcbc4f2e1f94fae7741e (patch)
tree899ea4c754cc4ba496e1abca0782b6162753620f
parentda6dee12e254bd22d2756cca247f5cafb6c2ff9c (diff)
downloadmeta-xilinx-299550b94abee3c8653fbcbc4f2e1f94fae7741e.tar.gz
dfx-mgr: fix systemd service file
Fix ExecStart and Description. Add Documentation and comments. Fix warnings during systemd start-up. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service11
-rw-r--r--meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb2
2 files changed, 10 insertions, 3 deletions
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service
index af21f3c1..12239266 100644
--- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service
+++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service
@@ -1,8 +1,15 @@
1# SPDX-License-Identifier: MIT
2#
3# DFX manager daemon is used to demonstrate Dynamic Function eXchange (DFX)
4# or partial reconfiguration feature on Xilinx Zynq UltraScale+ and newer.
5# See: UG909 "Vivado Design Suite User Guide Dynamic Function eXchange"
6
1[Unit] 7[Unit]
2Description=dfx-mgr 8Description=dfx-mgrd Dynamic Function eXchange
9Documentation=https://github.com/Xilinx/dfx-mgr
3 10
4[Service] 11[Service]
5ExecStart=/usr/bin/dfx-mgr.sh & 12ExecStart=/usr/bin/dfx-mgrd
6 13
7[Install] 14[Install]
8WantedBy=multi-user.target 15WantedBy=multi-user.target
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
index 5e40785c..5bba168c 100644
--- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
@@ -62,7 +62,7 @@ do_install(){
62 62
63 install -m 0755 ${S}/src/dfx-mgr.sh ${D}${bindir}/ 63 install -m 0755 ${S}/src/dfx-mgr.sh ${D}${bindir}/
64 install -d ${D}${systemd_system_unitdir} 64 install -d ${D}${systemd_system_unitdir}
65 install -m 0755 ${WORKDIR}/dfx-mgr.service ${D}${systemd_system_unitdir} 65 install -m 0644 ${WORKDIR}/dfx-mgr.service ${D}${systemd_system_unitdir}
66} 66}
67 67
68PACKAGES =+ "libdfx-mgr libdfxgraph" 68PACKAGES =+ "libdfx-mgr libdfxgraph"