no need for the temp workaround
This commit is contained in:
parent
66156badab
commit
7b036009d5
@ -2,9 +2,6 @@
|
|||||||
%global rel_ver 1
|
%global rel_ver 1
|
||||||
%global next_snapshot_date 20231003
|
%global next_snapshot_date 20231003
|
||||||
%global target_config defconfig
|
%global target_config defconfig
|
||||||
# TODO: these are temporary, until 'stable' is 6.6
|
|
||||||
%global major_ver 6
|
|
||||||
%global minor_ver 6
|
|
||||||
|
|
||||||
Name: kernel-next-tfg
|
Name: kernel-next-tfg
|
||||||
Version: %{next_snapshot_date}
|
Version: %{next_snapshot_date}
|
||||||
|
10
master.inc
10
master.inc
@ -139,11 +139,11 @@ ln -fns /usr/src/kernels/%{KVERREL} $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/sourc
|
|||||||
|
|
||||||
# install actual Linux src to /usr/src/kernels/%{KVERREL}
|
# install actual Linux src to /usr/src/kernels/%{KVERREL}
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}
|
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}
|
||||||
%if %{major_ver} > 6 && %{minor_ver} > 5
|
if [ -f scripts/package/install-extmod-build ]; then
|
||||||
%{make} run-command KBUILD_RUN_COMMAND='${RPM_BUILD_DIR}/%{src_dir}/scripts/package/install-extmod-build $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}'
|
%{make} run-command KBUILD_RUN_COMMAND='${RPM_BUILD_DIR}/%{src_dir}/scripts/package/install-extmod-build $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}'
|
||||||
%else
|
else
|
||||||
touch $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}/MAYBE_THIS_WORKS
|
touch $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}/MAYBE_THIS_WORKS
|
||||||
%endif
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user