cups: Fix missing installation of sysvinit scripts
PATCH 1/1 cups: Fix missing installation of sysvinit scripts
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 <[email protected]>
--- meta/recipes-extended/cups/cups.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/cups/cups.inc +1 -1
@@ -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"
Signature · 1 line
2.39.3