mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 04:20:38 -09:00
package/cups: install D-Bus config file cups.conf
When CUPS is built with D-Bus enabled, install cups.conf under /usr/share/dbus-1/system.d as it already happens in other packages that have D-Bus configs e.g. dnsmasq, wpa_supplicant etc. Signed-off-by: Andreas Vida <andreas.vida@ginzinger.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b7cfa2371b
commit
a7acedfeeb
@@ -45,6 +45,11 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
CUPS_CONF_OPTS += --enable-dbus
|
||||
CUPS_DEPENDENCIES += dbus
|
||||
define CUPS_INSTALL_DBUS
|
||||
$(INSTALL) -m 0644 -D $(@D)/desktop/cups.conf \
|
||||
$(TARGET_DIR)/usr/share/dbus-1/system.d/cups.conf
|
||||
endef
|
||||
CUPS_POST_INSTALL_TARGET_HOOKS += CUPS_INSTALL_DBUS
|
||||
else
|
||||
CUPS_CONF_OPTS += --disable-dbus
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user