summaryrefslogtreecommitdiff
path: root/recipes-core/systemd/systemd_%.bbappend
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-07-14 18:31:18 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-08-27 19:32:54 +0200
commit8b4f064fc58a30a1acb807aa34a70dbfa5bc5f08 (patch)
tree082549f4587a92e9618a87c88a304a18714e6d40 /recipes-core/systemd/systemd_%.bbappend
parent1914b33f70f13b5460152daaf49de7511e4990ee (diff)
systemd: replace patch with sed script
the configuration file keeps beeing changed with each version requiring a refresh of the patch frequently. Replace the patch with a sed script which should be more stable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-core/systemd/systemd_%.bbappend')
-rw-r--r--recipes-core/systemd/systemd_%.bbappend9
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend
index 8ebb6cc..ea40849 100644
--- a/recipes-core/systemd/systemd_%.bbappend
+++ b/recipes-core/systemd/systemd_%.bbappend
@@ -1,5 +1,4 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/systemd:"
-
-SRC_URI += " \
- file://0001-systemd-udevd.service.in-set-MountFlags-shared.patch \
-"
+# This allows for udevd automounting with mounts accessible to all.
+do_configure_prepend () {
+ sed -i '/PrivateMounts=yes/d' ${S}/units/systemd-udevd.service.in
+} \ No newline at end of file