]> code.ossystems Code Review - openembedded-core.git/commitdiff
cups: use /run instead /var/run in systemd's unit file
authorChen Qi <Qi.Chen@windriver.com>
Wed, 10 Mar 2021 03:09:56 +0000 (11:09 +0800)
committerSteve Sakoman <steve@sakoman.com>
Thu, 11 Mar 2021 15:00:02 +0000 (05:00 -1000)
/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.

[Yocto #14152]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6c3f56020da7a26c2daea73e39c2f324f1f597db)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/cups/cups.inc

index 12780cf702558729c32f5791c59332de5128db72..acad3c98c1b437ee74620c81973dc4473c7fcd3c 100644 (file)
@@ -54,6 +54,7 @@ EXTRA_OECONF = " \
                --enable-libusb \
                --with-system-groups=lpadmin \
                --with-cups-group=lp \
+               --with-domainsocket=/run/cups/cups.sock \
                DSOFLAGS='${LDFLAGS}' \
                "