* [OE-core][PATCH] cups: use /run instead /var/run in systemd's unit file
@ 2020-10-16 3:23 Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2020-10-16 3:23 UTC (permalink / raw)
To: openembedded-core
/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
^ permalink raw reply related [flat|nested] 2+ messages in thread[parent not found: <163E5B186438C53E.31077@lists.openembedded.org>]
* Re: [OE-core][PATCH] cups: use /run instead /var/run in systemd's unit file
[not found] <163E5B186438C53E.31077@lists.openembedded.org>
@ 2020-10-16 4:50 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2020-10-16 4:50 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2545 bytes --]
Sorry, please ignore this patch.
On 10/16/2020 11:23 AM, Chen Qi wrote:
> /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
> +
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3555 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-16 4:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-16 3:23 [OE-core][PATCH] cups: use /run instead /var/run in systemd's unit file Chen Qi
[not found] <163E5B186438C53E.31077@lists.openembedded.org>
2020-10-16 4:50 ` Chen Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox