diff mbox series

[meta-filesystems,15/16] owfs: Register systemd services on the server packages

Message ID 20261116001038.440763-15-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-oe,01/16] python3-zstandard: Fix RDEPENDS override syntax | expand

Commit Message

Khem Raj Nov. 16, 2026, 12:10 a.m. UTC
The services were set on ${PN}-owftpd, ${PN}-owhttpd and ${PN}-owserver,
but the packages are named owftpd, owhttpd and owserver, and they were
not in SYSTEMD_PACKAGES either, so only owfs.service was enabled.

Use the real package names and add them to SYSTEMD_PACKAGES. Keep the
anonymous FTP server owftpd disabled by default, matching the initscripts
which are only installed for owhttpd and owserver.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb
index 7351b54f8b..f0b7a233b0 100644
--- a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb
+++ b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb
@@ -74,7 +74,9 @@  INITSCRIPT_NAME:owhttpd = "owhttpd"
 INITSCRIPT_PARAMS:owserver = "defaults 20"
 INITSCRIPT_PARAMS:owhttpd = "defaults 21"

+SYSTEMD_PACKAGES = "${PN} owftpd owhttpd owserver"
 SYSTEMD_SERVICE:${PN} = "owfs.service"
-SYSTEMD_SERVICE:${PN}-owftpd = "owftpd.service"
-SYSTEMD_SERVICE:${PN}-owhttpd = "owhttpd.service"
-SYSTEMD_SERVICE:${PN}-owserver = "owserver.service owserver.socket"
+SYSTEMD_SERVICE:owftpd = "owftpd.service"
+SYSTEMD_AUTO_ENABLE:owftpd = "disable"
+SYSTEMD_SERVICE:owhttpd = "owhttpd.service"
+SYSTEMD_SERVICE:owserver = "owserver.service owserver.socket"