diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2018-02-14 16:38:02 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-03-22 12:37:04 +0100 |
commit | 48619b555160a8b234530c896b3580d2acd029f3 (patch) | |
tree | 8cc547819978c61b79ec086dc2ef7a9b274b5999 /recipes-core | |
parent | c411606e59488dfba68f62982c8ce5d9d4672a32 (diff) |
Revert "Revert systemd: remove patch now provided upstream"
OE-core dropped to do this for whatever reasons.
Compare with openembedded core, commit 6c1765a05c1321f08f3d1fb521dfe6b07bc8e92
* Drop mount propagation patch, it only happens with libseccomp, OE doesnt
enable it
This reverts commit a8ee603737444c74db61d0a705b08e9a1dea5158.
The patch is forward ported to systemd 234.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch | 25 | ||||
-rw-r--r-- | recipes-core/systemd/systemd_%.bbappend | 5 |
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch b/recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch new file mode 100644 index 0000000..24f76d3 --- /dev/null +++ b/recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch @@ -0,0 +1,25 @@ +From 974b3b3c9d723db3bb53fc9bbb40b7c1652c1b67 Mon Sep 17 00:00:00 2001 +From: Max Krummenacher <max.oss.09@gmail.com> +Date: Thu, 29 Oct 2015 19:38:50 +0100 +Subject: [PATCH] systemd-udevd.service.in: set MountFlags=shared + +This allows for udevd automounting of drives accessible to all. +--- + units/systemd-udevd.service.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in +index fc037b5a5..841d7a83f 100644 +--- a/units/systemd-udevd.service.in ++++ b/units/systemd-udevd.service.in +@@ -24,7 +24,6 @@ ExecStart=@rootlibexecdir@/systemd-udevd + KillMode=mixed + WatchdogSec=3min + TasksMax=infinity +-MountFlags=slave + MemoryDenyWriteExecute=yes + RestrictRealtime=yes + RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 +-- +2.13.6 + diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend new file mode 100644 index 0000000..8ebb6cc --- /dev/null +++ b/recipes-core/systemd/systemd_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/systemd:" + +SRC_URI += " \ + file://0001-systemd-udevd.service.in-set-MountFlags-shared.patch \ +" |