diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-use-CAP_MKNOD-ConditionCapability.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-use-CAP_MKNOD-ConditionCapability.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-use-CAP_MKNOD-ConditionCapability.patch b/meta/recipes-core/systemd/systemd/0001-use-CAP_MKNOD-ConditionCapability.patch deleted file mode 100644 index 4a35c2301a..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-use-CAP_MKNOD-ConditionCapability.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | |||
3 | From cfdd1eb76dced87c73bac8ec22d3a10244c9bbf6 Mon Sep 17 00:00:00 2001 | ||
4 | From: Khem Raj <raj.khem@gmail.com> | ||
5 | Date: Wed, 21 Aug 2013 20:25:19 -0700 | ||
6 | Subject: [PATCH] use CAP_MKNOD ConditionCapability | ||
7 | |||
8 | Fixes errors seen when booting VMs on QEMU like | ||
9 | |||
10 | systemd[1]: kmod-static-nodes.service: main process exited, code=exited, status=203/EXEC | ||
11 | systemd[1]: Failed to start Create list of required static device nodes for the current kernel. | ||
12 | systemd[1]: Unit kmod-static-nodes.service entered failed state. | ||
13 | |||
14 | Make sure that mknod capability is available | ||
15 | |||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | units/kmod-static-nodes.service.in | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | Index: systemd-206/units/kmod-static-nodes.service.in | ||
22 | =================================================================== | ||
23 | --- systemd-206.orig/units/kmod-static-nodes.service.in 2013-08-21 19:13:02.000000000 -0700 | ||
24 | +++ systemd-206/units/kmod-static-nodes.service.in 2013-08-21 20:39:13.310689871 -0700 | ||
25 | @@ -9,6 +9,7 @@ | ||
26 | Description=Create list of required static device nodes for the current kernel | ||
27 | DefaultDependencies=no | ||
28 | Before=sysinit.target systemd-tmpfiles-setup-dev.service | ||
29 | +ConditionCapability=CAP_MKNOD | ||
30 | |||
31 | [Service] | ||
32 | Type=oneshot | ||