diff mbox series

[wrynose,meta-filesystems,12/45] owfs: Register systemd services on the server packages

Message ID 20261201064402.3934788-12-anuj.mittal@oss.qualcomm.com
State Under Review
Delegated to: Anuj Mittal
Headers show
Series [wrynose,meta-networking,01/45] proftpd: upgrade 1.3.9d -> 1.3.9e | expand

Commit Message

Anuj Mittal Dec. 1, 2026, 6:43 a.m. UTC
From: Khem Raj <khem.raj@oss.qualcomm.com>

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>
(cherry picked from commit 973f1eb6b00703da567efe5b46f22deb47eda093)
Signed-off-by: Anuj Mittal <anuj.mittal@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 94379939de..2df7acb36d 100644
--- a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb
+++ b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p4.bb
@@ -73,7 +73,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"