Accepting request 929927 from home:MasterPatricko:branches:hardware

Fix modules directory on Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/929927
OBS-URL: https://build.opensuse.org/package/show/hardware/rtl88x2bu?expand=0&rev=2
This commit is contained in:
Tejas Guruswamy 2021-11-06 20:03:22 +00:00 committed by Git OBS Bridge
parent 80fdda2096
commit 5238907a77

View File

@ -97,7 +97,8 @@ echo ${kernel_version}
for flavor in %{flavors_to_build} ; do
pushd obj/$flavor
install -d %{buildroot}/lib/modules/${kernel_version}-${flavor}/${INSTALL_MOD_DIR}/
install -p -m 644 88x2bu.ko %{buildroot}/lib/modules/${kernel_version}-${flavor}/${INSTALL_MOD_DIR}/
mkdir -p %{buildroot}%{kernel_module_directory}/${kernel_version}-${flavor}/${INSTALL_MOD_DIR}/
install -p -m 644 88x2bu.ko %{buildroot}%{kernel_module_directory}/${kernel_version}-${flavor}/${INSTALL_MOD_DIR}/
popd
done