]> git.pld-linux.org Git - packages/kernel.git/commitdiff
package /etc/depmod.d/%{kernel_release}
authorJan Palus <atler@pld-linux.org>
Sun, 31 Mar 2019 12:04:49 +0000 (14:04 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 31 Mar 2019 12:06:51 +0000 (14:06 +0200)
kernel.spec

index b99bf237a1a64233ec6d335060dbfb7d2a1e971d..98fab1a7096529b28f113d6f64644babc73a0256 100644 (file)
@@ -1040,8 +1040,8 @@ touch $RPM_BUILD_ROOT%{initrd_dir}/initramfs-%{kernel_release}.img
 touch $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/modules.dep
 %endif
 
-# /etc/modrobe.d
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{kernel_release}
+# /etc/depmod.d /etc/modrobe.d
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{depmod.d,modprobe.d}/%{kernel_release}
 
 install -d $RPM_BUILD_ROOT/etc/sysconfig
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/kernel
@@ -1321,6 +1321,7 @@ fi
 /lib/modules/%{kernel_release}/kernel/security
 /lib/modules/%{kernel_release}/kernel/virt
 
+%dir %{_sysconfdir}/depmod.d/%{kernel_release}
 %dir %{_sysconfdir}/modprobe.d/%{kernel_release}
 
 # provided by build
This page took 1.514304 seconds and 4 git commands to generate.