]> git.pld-linux.org Git - packages/systemd.git/blame - systemd-configfs.patch
up to 252
[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
24b62599 14@@ -10,8 +10,9 @@ Description=Configuration File System
51186fee 15 Documentation=https://docs.kernel.org/filesystems/configfs.html
681ad19c 16 Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
dd9c7c3e
JK
17 DefaultDependencies=no
18-ConditionPathExists=/sys/kernel/config
abea5afb 19 ConditionCapability=CAP_SYS_RAWIO
dd9c7c3e
JK
20+Wants=sys-kernel-config.service
21+After=systemd-modules-load.service sys-kernel-config.service
22 Before=sysinit.target
23
681ad19c 24 # These dependencies are used to make certain that the module is fully
36c219ec 25diff -durN -x '*.orig' systemd-208.orig/units/sys-kernel-config.service systemd-208/units/sys-kernel-config.service
dd9c7c3e 26--- systemd-208.orig/units/sys-kernel-config.service 1970-01-01 01:00:00.000000000 +0100
36c219ec 27+++ systemd-208/units/sys-kernel-config.service 2014-01-10 10:22:04.000000000 +0100
dd9c7c3e
JK
28@@ -0,0 +1,8 @@
29+[Unit]
30+Description=Load the configfs module for /sys/kernel/config mount
31+ConditionPathExists=!/sys/kernel/config
32+DefaultDependencies=no
33+
34+[Service]
35+Type=oneshot
36+ExecStart=/sbin/modprobe -b configfs
This page took 1.593098 seconds and 4 git commands to generate.