summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-legacy.conf.in-Don-t-create-symlink-README-in-this-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-legacy.conf.in-Don-t-create-symlink-README-in-this-f.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0001-legacy.conf.in-Don-t-create-symlink-README-in-this-f.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-legacy.conf.in-Don-t-create-symlink-README-in-this-f.patch b/meta/recipes-core/systemd/systemd/0001-legacy.conf.in-Don-t-create-symlink-README-in-this-f.patch
deleted file mode 100644
index a2644bba8e..0000000000
--- a/meta/recipes-core/systemd/systemd/0001-legacy.conf.in-Don-t-create-symlink-README-in-this-f.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From b17826490c1db2051dda23550ebdcd7f10e23479 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 28 Jun 2023 13:49:41 +0800
4Subject: [PATCH 1/2] legacy.conf.in: Don't create symlink README in this file
5
6Commit 6fe23ff31c0 changed README to an symlink to README.logs, and
7install README.logs under systemd doc dir.
8
9But for OE, systemd doc dir is splited into package systemd-doc, when it
10is not installed on the target, there will be an dead link:
11Eg:
12root@intel-x86-64:/var/log# ls -l README
13lrwxrwxrwx 1 root root 39 Jun 20 08:57 README -> ../../usr/share/doc/systemd/README.logs
14root@intel-x86-64:/var/log# ls -l ../../usr/share/doc/systemd/README.logs
15ls: cannot access '../../usr/share/doc/systemd/README.logs': No such file or directory
16
17So remove this symlink from package systemd
18
19Upstream-Status: Inappropriate [oe specific]
20
21Signed-off-by: Changqing Li <changqing.li@windriver.com>
22---
23 tmpfiles.d/legacy.conf.in | 3 ---
24 1 file changed, 3 deletions(-)
25
26diff --git a/tmpfiles.d/legacy.conf.in b/tmpfiles.d/legacy.conf.in
27index 4f2c0d7c43..62e2ae0986 100644
28--- a/tmpfiles.d/legacy.conf.in
29+++ b/tmpfiles.d/legacy.conf.in
30@@ -12,9 +12,6 @@
31
32 d /run/lock 0755 root root -
33 L /var/lock - - - - ../run/lock
34-{% if CREATE_LOG_DIRS %}
35-L /var/log/README - - - - ../..{{DOC_DIR}}/README.logs
36-{% endif %}
37
38 # /run/lock/subsys is used for serializing SysV service execution, and
39 # hence without use on SysV-less systems.
40--
412.25.1
42