]> git.pld-linux.org Git - packages/systemd.git/blame - systemd-configfs.patch
since 240 /var/lib/systemd/timesync needs to be directory instead of symlink
[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
3@@ -68,8 +68,9 @@ units = [
4 ['swap.target', ''],
5 ['sys-fs-fuse-connections.mount', '',
6 'sysinit.target.wants/'],
7 ['sys-kernel-config.mount', '',
8 'sysinit.target.wants/'],
9+ ['sys-kernel-config.service', ''],
10 ['sys-kernel-debug.mount', '',
11 'sysinit.target.wants/'],
12 ['sysinit.target', ''],
36c219ec
JK
13diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.mount systemd-208/units/sys-kernel-config.mount
14--- systemd-208.orig/units/sys-kernel-config.mount 2013-08-13 22:02:52.000000000 +0200
15+++ systemd-208/units/sys-kernel-config.mount 2014-01-10 10:22:04.000000000 +0100
abea5afb 16@@ -10,9 +10,9 @@ Description=Configuration File System
dd9c7c3e
JK
17 Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
18 Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
19 DefaultDependencies=no
20-ConditionPathExists=/sys/kernel/config
abea5afb 21 ConditionCapability=CAP_SYS_RAWIO
dd9c7c3e
JK
22-After=systemd-modules-load.service
23+Wants=sys-kernel-config.service
24+After=systemd-modules-load.service sys-kernel-config.service
25 Before=sysinit.target
26
27 [Mount]
36c219ec 28diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.service systemd-208/units/sys-kernel-config.service
dd9c7c3e 29--- systemd-208.orig/units/sys-kernel-config.service 1970-01-01 01:00:00.000000000 +0100
36c219ec 30+++ systemd-208/units/sys-kernel-config.service 2014-01-10 10:22:04.000000000 +0100
dd9c7c3e
JK
31@@ -0,0 +1,8 @@
32+[Unit]
33+Description=Load the configfs module for /sys/kernel/config mount
34+ConditionPathExists=!/sys/kernel/config
35+DefaultDependencies=no
36+
37+[Service]
38+Type=oneshot
39+ExecStart=/sbin/modprobe -b configfs
This page took 0.025941 seconds and 4 git commands to generate.