diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 074779906..9e309cf68 100755 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -2441,13 +2441,13 @@ BuildKernel() { sed -i 's/\x0.*$//' $KernelUnifiedImage.sbat # Add RHEL/CentOS specific entries %if 0%{?centos} - SBATsuffix="centos" + SBATsuffix="almalinux" %else - SBATsuffix="rhel" + SBATsuffix="almalinux" %endif - echo "linux,1,Red Hat,linux,$KernelVer,https://bugzilla.redhat.com/" >> $KernelUnifiedImage.sbat - echo "linux.$SBATsuffix,1,Red Hat,linux,$KernelVer,https://bugzilla.redhat.com/" >> $KernelUnifiedImage.sbat - echo "kernel-uki-virt.$SBATsuffix,1,Red Hat,kernel-uki-virt,$KernelVer,https://bugzilla.redhat.com/" >> $KernelUnifiedImage.sbat + echo "linux,1,AlmaLinux,linux,$KernelVer,https://bugs.almalinux.org/" >> $KernelUnifiedImage.sbat + echo "linux.$SBATsuffix,1,AlmaLinux,linux,$KernelVer,https://bugs.almalinux.org/" >> $KernelUnifiedImage.sbat + echo "kernel-uki-virt.$SBATsuffix,1,AlmaLinux,kernel-uki-virt,$KernelVer,https://bugs.almalinux.org/" >> $KernelUnifiedImage.sbat # Remove the original .sbat section objcopy --remove-section .sbat $KernelUnifiedImage # Get the end of the last section