]>
Commit | Line | Data |
---|---|---|
36c219ec JK |
1 | diff -durN -x '*.orig' systemd-208.orig/Makefile.am systemd-208/Makefile.am |
2 | --- systemd-208.orig/Makefile.am 2014-01-10 10:21:40.000000000 +0100 | |
3 | +++ systemd-208/Makefile.am 2014-01-10 10:22:33.000000000 +0100 | |
dd9c7c3e JK |
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 \ | |
36c219ec JK |
12 | @@ -4435,7 +4436,6 @@ |
13 | SYSINIT_TARGET_WANTS += \ | |
14 | dev-hugepages.mount \ | |
15 | dev-mqueue.mount \ | |
16 | - sys-kernel-config.mount \ | |
17 | sys-kernel-debug.mount \ | |
18 | sys-fs-fuse-connections.mount \ | |
19 | systemd-sysctl.service \ | |
20 | diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.mount systemd-208/units/sys-kernel-config.mount | |
21 | --- systemd-208.orig/units/sys-kernel-config.mount 2013-08-13 22:02:52.000000000 +0200 | |
22 | +++ systemd-208/units/sys-kernel-config.mount 2014-01-10 10:22:04.000000000 +0100 | |
abea5afb | 23 | @@ -10,9 +10,9 @@ Description=Configuration File System |
dd9c7c3e JK |
24 | Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt |
25 | Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems | |
26 | DefaultDependencies=no | |
27 | -ConditionPathExists=/sys/kernel/config | |
abea5afb | 28 | ConditionCapability=CAP_SYS_RAWIO |
dd9c7c3e JK |
29 | -After=systemd-modules-load.service |
30 | +Wants=sys-kernel-config.service | |
31 | +After=systemd-modules-load.service sys-kernel-config.service | |
32 | Before=sysinit.target | |
33 | ||
34 | [Mount] | |
36c219ec | 35 | diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.service systemd-208/units/sys-kernel-config.service |
dd9c7c3e | 36 | --- systemd-208.orig/units/sys-kernel-config.service 1970-01-01 01:00:00.000000000 +0100 |
36c219ec | 37 | +++ systemd-208/units/sys-kernel-config.service 2014-01-10 10:22:04.000000000 +0100 |
dd9c7c3e JK |
38 | @@ -0,0 +1,8 @@ |
39 | +[Unit] | |
40 | +Description=Load the configfs module for /sys/kernel/config mount | |
41 | +ConditionPathExists=!/sys/kernel/config | |
42 | +DefaultDependencies=no | |
43 | + | |
44 | +[Service] | |
45 | +Type=oneshot | |
46 | +ExecStart=/sbin/modprobe -b configfs |