diff options
-rw-r--r-- | meta-filesystems/recipes-filesystems/owfs/owfs_3.2p2.bb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p2.bb b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p2.bb index 50865cccda..857aaf216d 100644 --- a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p2.bb +++ b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p2.bb | |||
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/owfs/owfs \ | |||
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
20 | 20 | ||
21 | inherit autotools-brokensep update-rc.d pkgconfig | 21 | inherit autotools-brokensep update-rc.d pkgconfig systemd |
22 | 22 | ||
23 | EXTRA_OECONF = " \ | 23 | EXTRA_OECONF = " \ |
24 | --with-fuseinclude=${STAGING_INCDIR} \ | 24 | --with-fuseinclude=${STAGING_INCDIR} \ |
@@ -52,9 +52,12 @@ DESCRIPTION_libownet = "easy C-language 1-wire interface to the owserver protoco | |||
52 | DESCRIPTION_owmon = "Monitor for owserver settings and statistics" | 52 | DESCRIPTION_owmon = "Monitor for owserver settings and statistics" |
53 | DESCRIPTION_owtap = "Packet sniffer for the owserver protocol" | 53 | DESCRIPTION_owtap = "Packet sniffer for the owserver protocol" |
54 | 54 | ||
55 | FILES_owftpd = "${bindir}/owftpd" | 55 | FILES_owftpd = "${bindir}/owftpd ${systemd_system_unitdir}/owftpd.service" |
56 | FILES_owhttpd = "${bindir}/owhttpd ${sysconfdir}/init.d/owhttpd" | 56 | FILES_owhttpd = "${bindir}/owhttpd ${sysconfdir}/init.d/owhttpd \ |
57 | FILES_owserver = "${bindir}/owserver ${sysconfdir}/init.d/owserver" | 57 | ${systemd_system_unitdir}/owhttpd.service" |
58 | FILES_owserver = "${bindir}/owserver ${sysconfdir}/init.d/owserver \ | ||
59 | ${systemd_system_unitdir}/owserver.service \ | ||
60 | ${systemd_system_unitdir}/owserver.socket" | ||
58 | FILES_owshell = "${bindir}/owread ${bindir}/owwrite \ | 61 | FILES_owshell = "${bindir}/owread ${bindir}/owwrite \ |
59 | ${bindir}/owdir ${bindir}/owpresent \ | 62 | ${bindir}/owdir ${bindir}/owpresent \ |
60 | ${bindir}/owget ${bindir}/owside" | 63 | ${bindir}/owget ${bindir}/owside" |
@@ -63,9 +66,15 @@ FILES_owtap = "${bindir}/owtap" | |||
63 | FILES_libowcapi = "${libdir}/libowcapi-*" | 66 | FILES_libowcapi = "${libdir}/libowcapi-*" |
64 | FILES_libow = "${libdir}/libow-*" | 67 | FILES_libow = "${libdir}/libow-*" |
65 | FILES_libownet = "${libdir}/libownet-*" | 68 | FILES_libownet = "${libdir}/libownet-*" |
69 | FILES_${PN} += "${systemd_system_unitdir}/owfs.service" | ||
66 | 70 | ||
67 | INITSCRIPT_PACKAGES = "owhttpd owserver" | 71 | INITSCRIPT_PACKAGES = "owhttpd owserver" |
68 | INITSCRIPT_NAME_owserver = "owserver" | 72 | INITSCRIPT_NAME_owserver = "owserver" |
69 | INITSCRIPT_NAME_owhttpd = "owhttpd" | 73 | INITSCRIPT_NAME_owhttpd = "owhttpd" |
70 | INITSCRIPT_PARAMS_owserver = "defaults 20" | 74 | INITSCRIPT_PARAMS_owserver = "defaults 20" |
71 | INITSCRIPT_PARAMS_owhttpd = "defaults 21" | 75 | INITSCRIPT_PARAMS_owhttpd = "defaults 21" |
76 | |||
77 | SYSTEMD_SERVICE_${PN} = "owfs.service" | ||
78 | SYSTEMD_SERVICE_${PN}-owftpd = "owftpd.service" | ||
79 | SYSTEMD_SERVICE_${PN}-owhttpd = "owhttpd.service" | ||
80 | SYSTEMD_SERVICE_${PN}-owserver = "owserver.service owserver.socket" | ||