]> git.pld-linux.org Git - packages/systemd.git/blame - systemd-configfs.patch
up to 254.12
[packages/systemd.git] / systemd-configfs.patch
CommitLineData
5003d836
JP
1--- systemd-stable-254/units/meson.build.orig 2023-08-03 00:34:19.694943339 +0200
2+++ systemd-stable-254/units/meson.build 2023-08-03 00:37:00.467127234 +0200
3@@ -208,6 +208,7 @@
4 'file' : 'sys-kernel-config.mount',
5 'symlinks' : ['sysinit.target.wants/'],
6 },
7+ { 'file' : 'sys-kernel-config.service' },
8 {
9 'file' : 'sys-kernel-debug.mount',
10 'symlinks' : ['sysinit.target.wants/'],
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 0.357817 seconds and 4 git commands to generate.