summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2021-10-22 11:38:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 22:14:13 +0100
commit0e0b545014674e9843cb659eae68fda0b5d09236 (patch)
tree51df65c24cdfb3672b35b8733a03bcefe3cdc1ae
parent7d6f264fab34366e45a568b437746f96bba70734 (diff)
downloadpoky-0e0b545014674e9843cb659eae68fda0b5d09236.tar.gz
sudo: update multilib patch for sudo.conf
Update multilib patch for sudo.conf that there is one more replacement of @plugindir@ to avoid installation conflict. (From OE-Core rev: e1afed1569bc076a1823e997137884172acc7123) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch19
1 files changed, 14 insertions, 5 deletions
diff --git a/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch b/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
index f7ccfdd623..f4fc376bb8 100644
--- a/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
+++ b/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
@@ -13,11 +13,11 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
13 13
14Upstream-Status: Inappropriate [OE configuration specific] 14Upstream-Status: Inappropriate [OE configuration specific]
15--- 15---
16 examples/sudo.conf.in | 6 +++--- 16 examples/sudo.conf.in | 8 ++++----
17 1 file changed, 3 insertions(+), 3 deletions(-) 17 1 file changed, 4 insertions(+), 4 deletions(-)
18 18
19diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in 19diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in
20index 19e33ff..af78235 100644 20index 6535d3a..50afc8f 100644
21--- a/examples/sudo.conf.in 21--- a/examples/sudo.conf.in
22+++ b/examples/sudo.conf.in 22+++ b/examples/sudo.conf.in
23@@ -4,7 +4,7 @@ 23@@ -4,7 +4,7 @@
@@ -29,7 +29,16 @@ index 19e33ff..af78235 100644
29 # fully qualified. 29 # fully qualified.
30 # The plugin_name corresponds to a global symbol in the plugin 30 # The plugin_name corresponds to a global symbol in the plugin
31 # that contains the plugin interface structure. 31 # that contains the plugin interface structure.
32@@ -50,7 +50,7 @@ Plugin sudoers_audit sudoers.so 32@@ -51,7 +51,7 @@
33 # The compiled-in value is usually sufficient and should only be changed
34 # if you rename or move the sudo_intercept.so file.
35 #
36-#Path intercept @plugindir@/sudo_intercept.so
37+#Path intercept $plugindir/sudo_intercept.so
38
39 #
40 # Sudo noexec:
41@@ -65,7 +65,7 @@
33 # The compiled-in value is usually sufficient and should only be changed 42 # The compiled-in value is usually sufficient and should only be changed
34 # if you rename or move the sudo_noexec.so file. 43 # if you rename or move the sudo_noexec.so file.
35 # 44 #
@@ -38,7 +47,7 @@ index 19e33ff..af78235 100644
38 47
39 # 48 #
40 # Sudo plugin directory: 49 # Sudo plugin directory:
41@@ -59,7 +59,7 @@ Plugin sudoers_audit sudoers.so 50@@ -74,7 +74,7 @@
42 # The default directory to use when searching for plugins that are 51 # The default directory to use when searching for plugins that are
43 # specified without a fully qualified path name. 52 # specified without a fully qualified path name.
44 # 53 #