]> git.pld-linux.org Git - packages/systemd.git/blame - systemd-configfs.patch
up to 246.1
[packages/systemd.git] / systemd-configfs.patch
CommitLineData
f06261ce
AM
1--- systemd-235/units/meson.build.org 2017-10-21 15:20:03.280741248 +0200
2+++ systemd-235/units/meson.build 2017-10-21 15:20:23.741288778 +0200
881358e5 3@@ -76,6 +76,7 @@ units = [
f06261ce
AM
4 'sysinit.target.wants/'],
5 ['sys-kernel-config.mount', '',
6 'sysinit.target.wants/'],
7+ ['sys-kernel-config.service', ''],
8 ['sys-kernel-debug.mount', '',
9 'sysinit.target.wants/'],
881358e5 10 ['sys-kernel-tracing.mount', '',
36c219ec
JK
11diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.mount systemd-208/units/sys-kernel-config.mount
12--- systemd-208.orig/units/sys-kernel-config.mount 2013-08-13 22:02:52.000000000 +0200
13+++ systemd-208/units/sys-kernel-config.mount 2014-01-10 10:22:04.000000000 +0100
abea5afb 14@@ -10,9 +10,9 @@ Description=Configuration File System
dd9c7c3e
JK
15 Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
16 Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
17 DefaultDependencies=no
18-ConditionPathExists=/sys/kernel/config
abea5afb 19 ConditionCapability=CAP_SYS_RAWIO
dd9c7c3e
JK
20-After=systemd-modules-load.service
21+Wants=sys-kernel-config.service
22+After=systemd-modules-load.service sys-kernel-config.service
23 Before=sysinit.target
24
25 [Mount]
36c219ec 26diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.service systemd-208/units/sys-kernel-config.service
dd9c7c3e 27--- systemd-208.orig/units/sys-kernel-config.service 1970-01-01 01:00:00.000000000 +0100
36c219ec 28+++ systemd-208/units/sys-kernel-config.service 2014-01-10 10:22:04.000000000 +0100
dd9c7c3e
JK
29@@ -0,0 +1,8 @@
30+[Unit]
31+Description=Load the configfs module for /sys/kernel/config mount
32+ConditionPathExists=!/sys/kernel/config
33+DefaultDependencies=no
34+
35+[Service]
36+Type=oneshot
37+ExecStart=/sbin/modprobe -b configfs
This page took 0.046844 seconds and 4 git commands to generate.