summaryrefslogtreecommitdiffstats
path: root/rules/cups-bbinit.in
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2017-11-07 17:40:23 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-11-10 19:19:40 +0100
commit73f9b0fba0dfd7e286782a342c9997b65f25f235 (patch)
treecae0488cd0c55b8ca305fd03de9cf6c269b1b1be /rules/cups-bbinit.in
parentf2a97a38158219f01adfb49a161fb896efd5256c (diff)
downloadptxdist-73f9b0fba0dfd7e286782a342c9997b65f25f235.tar.gz
ptxdist-73f9b0fba0dfd7e286782a342c9997b65f25f235.tar.xz
cups: new package: Common Unix Printing System
If using systemd, CUPS can be started via socket activation or directly, in any case it is run as user daemon, group lp. The default spool and cache locations were moved to /tmp/cups so we don't need to set up a tmpfs for /var/spool/cups and /var/cache/cups. sysvinit script is installed from upstream, but untested. Some config files are only created by cupsd on the first start and not at install time, so we supply reasonable defaults in projectroot/ in order to use $(call install_alternative...) on them. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/cups-bbinit.in')
-rw-r--r--rules/cups-bbinit.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/cups-bbinit.in b/rules/cups-bbinit.in
new file mode 100644
index 000000000..86b6f649a
--- /dev/null
+++ b/rules/cups-bbinit.in
@@ -0,0 +1,8 @@
+## SECTION=initmethod_bbinit
+
+config CUPS_BBINIT_LINK
+ string "cups"
+ depends on CUPS_STARTSCRIPT
+ default "S90cups"
+
+# vim: ft=kconfig ts=8 noet tw=80