summaryrefslogtreecommitdiff
path: root/sys-apps/systemd/files/216-tmpfiles-setup-dev.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-05-17 02:40:46 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-05-17 02:40:46 +0100
commitbde22322915ae30f7d6df35a8e76db7e522e961d (patch)
tree5c33f6f26a87c2f4917838219ee0069bf9f95b75 /sys-apps/systemd/files/216-tmpfiles-setup-dev.patch
parent2edb8d6403eb04542e79586768299fe1f3b86353 (diff)
parentcb614da9f4a21e7f89230fbf78ec447249547c96 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'sys-apps/systemd/files/216-tmpfiles-setup-dev.patch')
-rw-r--r--sys-apps/systemd/files/216-tmpfiles-setup-dev.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/216-tmpfiles-setup-dev.patch b/sys-apps/systemd/files/216-tmpfiles-setup-dev.patch
new file mode 100644
index 00000000..1fa4a3e7
--- /dev/null
+++ b/sys-apps/systemd/files/216-tmpfiles-setup-dev.patch
@@ -0,0 +1,21 @@
+From 8c94052ee543c3598a3c7b0c46688150aa2c6168 Mon Sep 17 00:00:00 2001
+From: Tom Gundersen <teg@jklm.no>
+Date: Mon, 27 Oct 2014 17:15:42 +0100
+Subject: units: tmpfiles-setup-dev - allow unsafe file creation to happen in
+ /dev at boot
+
+This will allow us to mark static device nodes with '!' to indicate that they should only be created at early boot.
+
+diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in
+index f3833fd..0123a03 100644
+--- a/units/systemd-tmpfiles-setup-dev.service.in
++++ b/units/systemd-tmpfiles-setup-dev.service.in
+@@ -17,4 +17,4 @@ ConditionCapability=CAP_SYS_MODULE
+ [Service]
+ Type=oneshot
+ RemainAfterExit=yes
+-ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create
++ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot
+--
+cgit v0.10.2
+