no DEPMOD if on linux-next
This commit is contained in:
parent
7b036009d5
commit
56a16fd5b3
@ -120,7 +120,11 @@ find arch/%{build_arch}/boot/dts -name '*.dtb' -type f -delete
|
|||||||
# install modules
|
# install modules
|
||||||
# '$(mod-fw)' is overridden because there is no reason to install any firmware
|
# '$(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.
|
# since we already have 'linux-firmware' package as the dependency of this package.
|
||||||
|
%if "%{name}" == "kernel-next-tfg"
|
||||||
|
%{make} %{?_smp_mflags} INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$RPM_BUILD_ROOT mod-fw= DEPMOD=/doesnt/exist modules_install
|
||||||
|
%else
|
||||||
%{make} %{?_smp_mflags} INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$RPM_BUILD_ROOT mod-fw= modules_install
|
%{make} %{?_smp_mflags} INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$RPM_BUILD_ROOT mod-fw= modules_install
|
||||||
|
%endif
|
||||||
|
|
||||||
# install headers
|
# install headers
|
||||||
%{make} %{?_smp_mflags} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
|
%{make} %{?_smp_mflags} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
|
||||||
|
Loading…
Reference in New Issue
Block a user