diff mbox series

[master,kirkstone] cups: Fix missing installation of sysvinit scripts

Message ID 20230706084140.778241-1-claus.stovgaard@gmail.com
State New, archived
Headers show
Series [master,kirkstone] cups: Fix missing installation of sysvinit scripts | expand

Commit Message

Claus Stovgaard July 6, 2023, 8:41 a.m. UTC
Configuration with --without-systemd causes the SYSTEMD_DIR to have a
value of "no"

cups configure test for, if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.

Removing --without-systemd and just keep it empty result in an empty
SYSTEMD_DIR variable and the sysvinit scripts is installed as expected.
Though the cups configure script could be improved to work consistent
with "--without-*" options.

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
---
 meta/recipes-extended/cups/cups.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index d77758fd3f..865c14851c 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -46,7 +46,7 @@  PACKAGECONFIG[avahi] = "--with-dnssd=avahi,--with-dnssd=no,avahi"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
 PACKAGECONFIG[gnutls] = "--with-tls=gnutls,--with-tls=no,gnutls"
 PACKAGECONFIG[pam] = "--enable-pam --with-pam-module=unix, --disable-pam, libpam"
-PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--without-systemd,systemd"
+PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},,systemd"
 PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd"
 PACKAGECONFIG[webif] = "--enable-webif,--disable-webif"