Compare commits

...

2 Commits

8 changed files with 11 additions and 35 deletions

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -xeu
find ./extra-configs -name "*.sh" -exec "{}" \;

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
./scripts/config --file .config --enable DEBUG_INFO_BTF

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
./scripts/config --file .config --enable SECURITY_NETWORK
./scripts/config --file .config --enable SECURITY_SELINUX
./scripts/config --file .config --enable DEFAULT_SECURITY_SELINUX

View File

@ -1,7 +1,7 @@
%global rel_ver 4
%global rel_ver 0
%global major_ver 6
%global minor_ver 1
%global patch_ver 60
%global patch_ver 62
%global kname lts
Version: %{major_ver}.%{minor_ver}.%{patch_ver}

View File

@ -1,7 +1,7 @@
%global rel_ver 4
%global rel_ver 0
%global major_ver 6
%global minor_ver 6
%global next_snapshot_date 20231102
%global minor_ver 7
%global next_snapshot_date 20231110
%global kname next
Version: %{major_ver}.%{minor_ver}.0

View File

@ -1,7 +1,7 @@
%global rel_ver 8
%global rel_ver 0
%global major_ver 6
%global minor_ver 6
%global rc_ver 7
%global minor_ver 7
%global rc_ver 1
%global kname rc
Version: %{major_ver}.%{minor_ver}.0

View File

@ -1,7 +1,7 @@
%global rel_ver 4
%global rel_ver 0
%global major_ver 6
%global minor_ver 5
%global patch_ver 9
%global minor_ver 6
%global patch_ver 1
%global kname stable
Version: %{major_ver}.%{minor_ver}.%{patch_ver}

View File

@ -34,8 +34,6 @@ Requires: linux-firmware
%global make make -j$(( $(nproc) + 2 )) KERNELRELEASE=%{KVERREL}
Source2: https://git.resf.org/thefossguy/kernel-tfg/archive/master.tar.gz
%description
The Linux Kernel, the operating system core itself
@ -87,15 +85,6 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO
%{make} defconfig
tar -xf %{SOURCE2} -C .
if [ -d 'kernel-tfg/extra-configs' ]; then
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
rm -rf kernel-tfg/
./configure-linux.sh
else
echo "Extra configs not found, not modifying anything"
fi
%build
%{make} PYTHON=%{__python3} %{make_targets}