]> git.pld-linux.org Git - packages/systemd.git/blame - systemd-configfs.patch
Load the configfs module for /sys/kernel/config mount
[packages/systemd.git] / systemd-configfs.patch
CommitLineData
dd9c7c3e
JK
1diff -durN systemd-208.orig/Makefile.am systemd-208/Makefile.am
2--- systemd-208.orig/Makefile.am 2014-01-06 11:46:16.758882910 +0100
3+++ systemd-208/Makefile.am 2014-01-06 11:45:46.942216959 +0100
4@@ -411,6 +411,7 @@
5 units/syslog.socket \
6 units/dev-hugepages.mount \
7 units/dev-mqueue.mount \
8+ units/sys-kernel-config.service \
9 units/sys-kernel-config.mount \
10 units/sys-kernel-debug.mount \
11 units/sys-fs-fuse-connections.mount \
12diff -durN systemd-208.orig/units/sys-kernel-config.mount systemd-208/units/sys-kernel-config.mount
13--- systemd-208.orig/units/sys-kernel-config.mount 2013-08-13 22:02:52.798756199 +0200
14+++ systemd-208/units/sys-kernel-config.mount 2014-01-06 11:42:49.095554041 +0100
15@@ -10,8 +10,8 @@
16 Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
17 Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
18 DefaultDependencies=no
19-ConditionPathExists=/sys/kernel/config
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]
26diff -durN systemd-208.orig/units/sys-kernel-config.service systemd-208/units/sys-kernel-config.service
27--- systemd-208.orig/units/sys-kernel-config.service 1970-01-01 01:00:00.000000000 +0100
28+++ systemd-208/units/sys-kernel-config.service 2014-01-06 11:41:04.962223257 +0100
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.075865 seconds and 4 git commands to generate.