public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Chen Qi" <Qi.Chen@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][PATCH] cups: use /run instead /var/run in systemd's unit file
Date: Fri, 16 Oct 2020 11:23:53 +0800	[thread overview]
Message-ID: <20201016032353.17983-1-Qi.Chen@windriver.com> (raw)

/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/cups/cups.inc           |  1 +
 ...sd.socket-use-run-instead-of-var-run.patch | 28 +++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 meta/recipes-extended/cups/cups/0001-org.cups.cupsd.socket-use-run-instead-of-var-run.patch

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 1765944568..f56233acac 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -13,6 +13,7 @@ SRC_URI = "https://github.com/apple/cups/releases/download/v${PV}/${BP}-source.t
            file://0002-don-t-try-to-run-generated-binaries.patch \
            file://0003-cups_1.4.6.bb-Fix-build-on-ppc64.patch \
            file://0004-cups-fix-multilib-install-file-conflicts.patch \
+           file://0001-org.cups.cupsd.socket-use-run-instead-of-var-run.patch \
            file://volatiles.99_cups \
            file://cups-volatiles.conf \
            "
diff --git a/meta/recipes-extended/cups/cups/0001-org.cups.cupsd.socket-use-run-instead-of-var-run.patch b/meta/recipes-extended/cups/cups/0001-org.cups.cupsd.socket-use-run-instead-of-var-run.patch
new file mode 100644
index 0000000000..e8fbd19104
--- /dev/null
+++ b/meta/recipes-extended/cups/cups/0001-org.cups.cupsd.socket-use-run-instead-of-var-run.patch
@@ -0,0 +1,28 @@
+From 5b1d90bc6bbb25eaf01855cb0fd5e0a9c9e1fa7f Mon Sep 17 00:00:00 2001
+From: Chen Qi <Qi.Chen@windriver.com>
+Date: Fri, 16 Oct 2020 11:22:01 +0800
+Subject: [PATCH] org.cups.cupsd.socket: use /run instead of /var/run
+
+Upstream-Status: Pending
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ scheduler/org.cups.cupsd.socket | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scheduler/org.cups.cupsd.socket b/scheduler/org.cups.cupsd.socket
+index 9cb4613..899e00b 100644
+--- a/scheduler/org.cups.cupsd.socket
++++ b/scheduler/org.cups.cupsd.socket
+@@ -3,7 +3,7 @@ Description=CUPS Scheduler
+ PartOf=org.cups.cupsd.service
+ 
+ [Socket]
+-ListenStream=/var/run/cups/cups.sock
++ListenStream=/run/cups/cups.sock
+ 
+ [Install]
+ WantedBy=sockets.target
+-- 
+2.17.1
+
-- 
2.17.1


             reply	other threads:[~2020-10-16  3:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16  3:23 Chen Qi [this message]
     [not found] <163E5B186438C53E.31077@lists.openembedded.org>
2020-10-16  4:50 ` [OE-core][PATCH] cups: use /run instead /var/run in systemd's unit file Chen Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201016032353.17983-1-Qi.Chen@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox