File tree 2 files changed +7
-2
lines changed
modules.d/01systemd-tmpfiles
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1768,6 +1768,11 @@ if ! [[ -d $dracutsysrootdir$tmpfilesdir ]]; then
1768
1768
[[ -d $dracutsysrootdir /usr/lib/tmpfiles.d ]] && tmpfilesdir=/usr/lib/tmpfiles.d
1769
1769
fi
1770
1770
1771
+ [[ -d $dracutsysrootdir$tmpfilesconfdir ]] \
1772
+ || tmpfilesconfdir=$( pkg-config systemd --variable=tmpfilesconfdir 2> /dev/null)
1773
+
1774
+ [[ -d $dracutsysrootdir$tmpfilesconfdir ]] || tmpfilesconfdir=/etc/tmpfiles.d
1775
+
1771
1776
[[ -d $dracutsysrootdir$depmodd ]] \
1772
1777
|| sysctld=$( pkg-config libkmod --variable=depmodd 2> /dev/null)
1773
1778
@@ -1794,7 +1799,8 @@ export initdir dracutbasedir \
1794
1799
modulesloadconfdir sysctl sysctlconfdir sysusers sysusersconfdir \
1795
1800
systemdutildir systemdutilconfdir systemdcatalog systemdntpunits \
1796
1801
systemdntpunitsconfdir systemdsystemunitdir systemdsystemconfdir \
1797
- hostonly_cmdline loginstall tmpfilesdir depmodd depmodconfdir
1802
+ hostonly_cmdline loginstall tmpfilesdir tmpfilesconfdir depmodd \
1803
+ depmodconfdir
1798
1804
1799
1805
mods_to_load=" "
1800
1806
# check all our modules to see if they should be sourced.
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ install() {
33
33
# Excluding "$tmpfilesdir/systemd-pstore.conf", belongs in seperated pstore module
34
34
# Excluding "$tmpfilesdir/x11.conf", belongs in seperated x11 module
35
35
36
-
37
36
inst_multiple -o \
38
37
/usr/lib/group \
39
38
/usr/lib/passwd \
You can’t perform that action at this time.
0 commit comments