remove bypassing DEPMOD
This commit is contained in:
parent
43374880c5
commit
5c4d6d73f7
@ -119,10 +119,9 @@ find arch/%{build_arch}/boot/dts -name '*.dtb' -type f -delete
|
||||
%endif
|
||||
|
||||
# install modules
|
||||
# Disable depmod with by passing '/doesnt/exist' to the DEPMOD environment variable.
|
||||
# '$(mod-fw)' is overridden because there is no reason to install any firmware
|
||||
# since we already have 'linux-firmware' package as the dependency of this package.
|
||||
%{make} %{?_smp_mflags} modules_install INSTALL_MOD_PATH=$RPM_BUILD_ROOT DEPMOD=/doesnt/exist mod-fw=
|
||||
%{make} %{?_smp_mflags} modules_install INSTALL_MOD_PATH=$RPM_BUILD_ROOT mod-fw=
|
||||
|
||||
# install headers
|
||||
%{make} %{?_smp_mflags} headers_install INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr
|
||||
|
Loading…
Reference in New Issue
Block a user