From 5238907a77acde212781bd8d811f30563166c6ab73d3bfa1af20f6e2ed3661bc Mon Sep 17 00:00:00 2001 From: Tejas Guruswamy Date: Sat, 6 Nov 2021 20:03:22 +0000 Subject: [PATCH] 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 --- rtl88x2bu.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtl88x2bu.spec b/rtl88x2bu.spec index 56e2dbb..fbe4c64 100644 --- a/rtl88x2bu.spec +++ b/rtl88x2bu.spec @@ -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