2 Commits

Author SHA256 Message Date
a8e91a6110 GIT Revision: 547d979b9bf745e1fb73e553584d7c7edca49cec
GIT Branch: stable
2025-09-03 13:40:42 +0000
2025-09-03 15:43:00 +02:00
73a2dc0aa0 Update .gitattributes 2025-09-03 15:42:50 +02:00
64 changed files with 152680 additions and 184237 deletions

2
.gitattributes vendored
View File

@@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*.tar.bz2 filter=lfs diff=lfs merge=lfs -text
*.tar.?z filter=lfs diff=lfs merge=lfs -text

View File

@@ -4,8 +4,6 @@
<conditions>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -75,8 +73,6 @@
<arch>armv6l</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -103,8 +99,6 @@
<arch>s390x</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -136,8 +130,6 @@
<arch>riscv64</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -164,8 +156,6 @@
<arch>ppc64le</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -192,8 +182,6 @@
<arch>armv7l</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -231,8 +219,6 @@
<arch>x86_64</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
@@ -259,8 +245,6 @@
<arch>riscv64</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>

View File

@@ -4,7 +4,6 @@
<package>dtb-armv7l</package>
<package>dtb-riscv64</package>
<package>kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-default</package>
<package>kernel-docs</package>
<package>kernel-kvmsmall</package>

View File

@@ -6,15 +6,19 @@
# please keep them sorted alphabetically
declare -a IGNORED_CONFIGS_RE=(
'ARCH_USING_PATCHABLE_FUNCTION_ENTRY'
'AS_IS_\(GNU\|LLVM\)'
'AS_HAS_[A-Z0-9_]*'
'AS_VERSION'
'AS_WRUSS' # x86_32
'BUILTIN_RETURN_ADDRESS_STRIPS_PAC'
'CC_ASM_FLAG_OUTPUT_BROKEN'
'CC_CAN_[A-Z_]*'
'CC_IMPLICIT_FALLTHROUGH'
'CC_IS_\(CLANG\|GCC\)'
'CC_HAS_[A-Z_]*'
'CC_HAVE_[A-Z_]*'
'CC_VERSION_TEXT'
'CLANG_VERSION'
'DRM_MSM_VALIDATE_XML'
'DYNAMIC_SIGFRAME'
'FTRACE_MCOUNT_USE_[A-Z_]*'
@@ -23,11 +27,14 @@ declare -a IGNORED_CONFIGS_RE=(
'GCC_ASM_GOTO_OUTPUT_WORKAROUND'
'GCC_VERSION'
'G*CC[0-9]*_NO_[A-Z_]*'
'HAS_LTO_CLANG'
'HAVE_[A-Z]*_COMPILER'
'HAVE_RUST'
'HAVE_SHADOW_CALL_STACK'
'LD_CAN_[A-Z_]*'
'LD_IS_\(BFD\|LLD\)'
'LD_VERSION'
'LLD_VERSION'
'OBJTOOL'
'PAHOLE_HAS_[A-Z0-9_]*'
'PAHOLE_VERSION'
@@ -36,6 +43,7 @@ declare -a IGNORED_CONFIGS_RE=(
'TOOLCHAIN_HAS_[A-Z_]*'
'TOOLCHAIN_NEEDS_[A-Z_]*'
'TOOLS_SUPPORT_[A-Z_]*'
'USE_X86_SEG_SUPPORT'
)
declare -a SED_ARGS=()

View File

@@ -1,15 +0,0 @@
#!/bin/bash
set -x
# Once the brp script is reasonably widespread, we will remove the specfile
# hack and this script
if test -x /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux; then
exit 0
fi
vmlinux=$1
if test -e "$vmlinux" -a -e "$vmlinux.gz"; then
# Deliberately not using gzip -n; the vmlinux image has a predictable
# timestamp (bnc#880848#c20)
gzip -k -9 -f "$vmlinux"
fi

View File

@@ -9,18 +9,15 @@
#
+x86_64 x86_64/default
+x86_64 -syms x86_64/debug
- x86_64/syzkaller
+x86_64 x86_64/vanilla
+x86_64 -syms x86_64/kvmsmall
+i386 i386/pae
+i386 i386/default
+i386 -syms i386/debug
+i386 i386/vanilla
+ppc64le ppc64le/default
+ppc64le -syms ppc64le/debug
+ppc64le ppc64le/vanilla
+ppc64le -syms ppc64le/kvmsmall
@@ -31,7 +28,6 @@
+armv7hl armv7hl/vanilla
+armv7hl armv7hl/lpae
+arm64 arm64/default
+arm64 -syms arm64/debug
+arm64 arm64/64kb
+arm64 arm64/vanilla
+arm64 -syms arm64/kvmsmall

View File

@@ -1,5 +1,5 @@
# The version of the main tarball to use
SRCVERSION=6.14
SRCVERSION=6.16
# variant of the kernel-source package, either empty or "-rt"
VARIANT=
# enable kernel module compression

BIN
config.tar.bz2 (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -16,18 +16,18 @@
#
%define srcversion 6.14
%define patchversion 6.14.6
%define srcversion 6.16
%define patchversion 6.16.4
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-aarch64
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -38,11 +38,7 @@ URL: https://www.kernel.org/
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3
BuildRequires: xz
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64
%else
ExclusiveArch: do_not_build
%endif
%define dtbdir /boot/dtb-%kernelrelease
@@ -80,12 +76,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -149,12 +141,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75

File diff suppressed because it is too large Load Diff

View File

@@ -16,18 +16,18 @@
#
%define srcversion 6.14
%define patchversion 6.14.6
%define srcversion 6.16
%define patchversion 6.16.4
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-armv6l
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -38,11 +38,7 @@ URL: https://www.kernel.org/
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3
BuildRequires: xz
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: armv6l armv6hl
%else
ExclusiveArch: do_not_build
%endif
%define dtbdir /boot/dtb-%kernelrelease
@@ -80,12 +76,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -149,12 +141,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75

File diff suppressed because it is too large Load Diff

View File

@@ -16,18 +16,18 @@
#
%define srcversion 6.14
%define patchversion 6.14.6
%define srcversion 6.16
%define patchversion 6.16.4
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-armv7l
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -38,11 +38,7 @@ URL: https://www.kernel.org/
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3
BuildRequires: xz
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: armv7l armv7hl
%else
ExclusiveArch: do_not_build
%endif
%define dtbdir /boot/dtb-%kernelrelease
@@ -80,12 +76,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -149,12 +141,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75

File diff suppressed because it is too large Load Diff

View File

@@ -16,18 +16,18 @@
#
%define srcversion 6.14
%define patchversion 6.14.6
%define srcversion 6.16
%define patchversion 6.16.4
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-riscv64
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -38,11 +38,7 @@ URL: https://www.kernel.org/
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3
BuildRequires: xz
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: riscv64
%else
ExclusiveArch: do_not_build
%endif
%define dtbdir /boot/dtb-%kernelrelease
@@ -80,12 +76,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -149,12 +141,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75

View File

@@ -38,11 +38,7 @@ URL: https://www.kernel.org/
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3
BuildRequires: xz
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
$ARCH_RESTRICTIONS
%else
ExclusiveArch: do_not_build
%endif
%define dtbdir /boot/dtb-%kernelrelease

View File

@@ -1,7 +0,0 @@
#ifdef __x86_64__
/*
* Force the linker to use the older memcpy variant, so that the user programs
* work on older systems
*/
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
#endif

BIN
kabi.tar.bz2 (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor 64kb
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-64kb
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -765,6 +757,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1294,7 +1287,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1447,10 +1439,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1459,20 +1453,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1508,17 +1493,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1684,11 +1661,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1739,11 +1720,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

View File

@@ -31,6 +31,7 @@
%define supported_modules_check @SUPPORTED_MODULES_CHECK@
%define build_flavor @FLAVOR@
%define generate_compile_commands @GENERATE_COMPILE_COMMANDS@
%define use_suse_kabi_tools @USE_SUSE_KABI_TOOLS@
%define gcc_package @GCC_PACKAGE@
%define gcc_compiler @GCC_COMPILER@
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -571,6 +571,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -819,7 +820,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -972,10 +972,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -984,20 +986,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1033,17 +1026,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1209,11 +1194,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1264,11 +1253,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor default
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-default
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64le riscv64 s390x x86_64
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -853,6 +845,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1402,7 +1395,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1555,10 +1547,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1567,20 +1561,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1616,17 +1601,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1792,11 +1769,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1847,11 +1828,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

File diff suppressed because it is too large Load Diff

View File

@@ -16,21 +16,21 @@
#
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define build_html 1
%define build_pdf 0
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-docs
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -84,11 +84,7 @@ BuildRequires: texlive-xetex
BuildRequires: texlive-zapfding
%endif
%endif
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
Source3: kernel-source.rpmlintrc
Source14: series.conf
@@ -123,12 +119,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -192,12 +184,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75

View File

@@ -84,11 +84,7 @@ BuildRequires: texlive-xetex
BuildRequires: texlive-zapfding
%endif
%endif
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
@SOURCES@
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor kvmsmall
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-kvmsmall
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64 ppc64le x86_64
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -781,6 +773,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1310,7 +1303,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1463,10 +1455,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1475,20 +1469,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1524,17 +1509,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1700,11 +1677,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1755,11 +1736,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor lpae
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-lpae
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: armv7hl
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -757,6 +749,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1286,7 +1279,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1439,10 +1431,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1451,20 +1445,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1500,17 +1485,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1676,11 +1653,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1731,11 +1712,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
%define patchversion 6.14.6
%define patchversion 6.16.4
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -38,22 +38,23 @@
%endif
%endif
%endif
%global kernel_package kernel%kernel_flavor-srchash-ad69173661e912fc54ea9589c400528b76aa8aca
%global kernel_package kernel%kernel_flavor-srchash-547d979b9bf745e1fb73e553584d7c7edca49cec
%endif
%if 0%{?rhel_version}
%global kernel_package kernel
%endif
Name: kernel-obs-build
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0-only
Group: SLES
Provides: kernel-obs-build-srchash-547d979b9bf745e1fb73e553584d7c7edca49cec
BuildRequires: coreutils
BuildRequires: device-mapper
BuildRequires: dracut
@@ -62,11 +63,7 @@ BuildRequires: util-linux
%if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200
BuildRequires: zstd
%endif
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64 armv6hl armv7hl ppc64le riscv64 s390x x86_64
%else
ExclusiveArch: do_not_build
%endif
%description
This package is repackaging already compiled kernels to make them usable

View File

@@ -54,6 +54,7 @@ Release: @RELEASE@
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0-only
Group: SLES
Provides: kernel-obs-build-srchash-@COMMIT_FULL@
BuildRequires: coreutils
BuildRequires: device-mapper
BuildRequires: dracut
@@ -62,11 +63,7 @@ BuildRequires: util-linux
%if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200
BuildRequires: zstd
%endif
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
%description
This package is repackaging already compiled kernels to make them usable

File diff suppressed because it is too large Load Diff

View File

@@ -17,15 +17,15 @@
# needsrootforbuild
%define patchversion 6.14.6
%define patchversion 6.16.4
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
Name: kernel-obs-qa
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -35,13 +35,11 @@ Group: SLES
BuildRequires: kernel-default
# kernel-obs-build must be also configured as VMinstall, but is required
# here as well to avoid that qa and build package build parallel
BuildRequires: kernel-obs-build
BuildRequires: modutils
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64 armv6hl armv7hl ppc64le riscv64 s390x x86_64
%else
ExclusiveArch: do_not_build
%if ! 0%{?qemu_user_space_build}
BuildRequires: kernel-obs-build-srchash-547d979b9bf745e1fb73e553584d7c7edca49cec
%endif
BuildRequires: modutils
ExclusiveArch: aarch64 armv6hl armv7hl ppc64le riscv64 s390x x86_64
%description
This package is using the kernel compiled within Open Build Service(OBS)

View File

@@ -35,13 +35,11 @@ Group: SLES
BuildRequires: kernel-default
# kernel-obs-build must be also configured as VMinstall, but is required
# here as well to avoid that qa and build package build parallel
BuildRequires: kernel-obs-build
BuildRequires: modutils
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%if ! 0%{?qemu_user_space_build}
BuildRequires: kernel-obs-build-srchash-@COMMIT_FULL@
%endif
BuildRequires: modutils
ExclusiveArch: @ARCHS@
%description
This package is using the kernel compiled within Open Build Service(OBS)

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor pae
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-pae
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: %ix86
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -821,6 +813,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1358,7 +1351,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1511,10 +1503,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1523,20 +1517,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1572,17 +1557,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1748,11 +1725,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1803,11 +1784,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

File diff suppressed because it is too large Load Diff

View File

@@ -16,21 +16,21 @@
#
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-source
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -45,11 +45,7 @@ BuildRequires: bash-sh
BuildRequires: coreutils
BuildRequires: fdupes
BuildRequires: sed
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
%define src_install_dir usr/src/linux-%kernelrelease%variant
@@ -97,12 +93,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -325,7 +317,7 @@ find %{buildroot}/usr/src/linux* -type f -name '*.[ch]' -perm /0111 -exec chmod
# OBS checks don't like /usr/bin/env in script interpreter lines
grep -Elr '^#! */(usr/)?bin/env ' %{buildroot}/usr/src/linux* | while read f; do
sed -re '1 { s_^#! */usr/bin/env +/_#!/_ ; s_^#! */usr/bin/env +([^/])_#!/usr/bin/\1_ }' \
-re '1 { s_^#! */bin/env +/_#!/_ ; s_^#! */bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
-e '1 { s_^#! */bin/env +/_#!/_ ; s_^#! */bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
done
# kernel-source and kernel-$flavor-devel are built independently, but the
# shipped sources (/usr/src/linux/) need to be older than generated files

View File

@@ -45,11 +45,7 @@ BuildRequires: bash-sh
BuildRequires: coreutils
BuildRequires: fdupes
BuildRequires: sed
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
%define src_install_dir usr/src/linux-%kernelrelease%variant
@@ -97,12 +93,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -325,7 +317,7 @@ find %{buildroot}/usr/src/linux* -type f -name '*.[ch]' -perm /0111 -exec chmod
# OBS checks don't like /usr/bin/env in script interpreter lines
grep -Elr '^#! */(usr/)?bin/env ' %{buildroot}/usr/src/linux* | while read f; do
sed -re '1 { s_^#! */usr/bin/env +/_#!/_ ; s_^#! */usr/bin/env +([^/])_#!/usr/bin/\1_ }' \
-re '1 { s_^#! */bin/env +/_#!/_ ; s_^#! */bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
-e '1 { s_^#! */bin/env +/_#!/_ ; s_^#! */bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
done
# kernel-source and kernel-$flavor-devel are built independently, but the
# shipped sources (/usr/src/linux/) need to be older than generated files

View File

@@ -91,6 +91,11 @@ There is no reason to install this package.
%install
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
export STRIP_KEEP_SYMTAB='*/vmlinux*'
echo "%{?modules}" | tr ', ' '\n\n' > request-modules
%scriptdir/kernel-subpackage-build %kernel_package_name %rpm_kver-%rpm_krel %package_name-%version-%release

File diff suppressed because it is too large Load Diff

View File

@@ -16,33 +16,24 @@
#
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
Name: kernel-syms
Version: 6.14.6
%if %using_buildservice
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
%else
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
Release: %kernel_source_release
%endif
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
URL: https://www.kernel.org/
BuildRequires: coreutils
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: %ix86 aarch64 armv6hl armv7hl ppc64le riscv64 s390x x86_64
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
AutoReqProv: off
Source: README.KSYMS
@@ -58,7 +49,6 @@ Requires: kernel-lpae-devel = %version-%source_rel
%ifarch %ix86
Requires: kernel-pae-devel = %version-%source_rel
%endif
Requires: pesign-obs-integration
Requires: kernel-devel%variant = %version-%source_rel
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit

View File

@@ -23,31 +23,21 @@
Name: kernel-syms@VARIANT@
Version: @RPMVERSION@
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.g@COMMIT@
%else
Release: @RELEASE@
%endif
%else
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
Release: %kernel_source_release
%endif
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
URL: https://www.kernel.org/
BuildRequires: coreutils
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
AutoReqProv: off
Source: README.KSYMS
@REQUIRES@
Requires: pesign-obs-integration
Requires: kernel-devel%variant = %version-%source_rel
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor vanilla
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-vanilla
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64le riscv64 s390x x86_64
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -753,6 +745,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1282,7 +1275,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1435,10 +1427,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1447,20 +1441,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1496,17 +1481,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1672,11 +1649,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1727,11 +1708,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

File diff suppressed because it is too large Load Diff

View File

@@ -17,9 +17,9 @@
# needssslcertforbuild
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define srcversion 6.16
%define patchversion 6.16.4
%define git_commit 547d979b9bf745e1fb73e553584d7c7edca49cec
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
@@ -31,17 +31,18 @@
%define supported_modules_check 0
%define build_flavor zfcpdump
%define generate_compile_commands 1
%define use_suse_kabi_tools 0
%define gcc_package gcc
%define gcc_compiler gcc
%include %_sourcedir/kernel-spec-macros
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-zfcpdump
Version: 6.14.6
Version: 6.16.4
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
Release: <RELEASE>.g547d979
%else
Release: 0
%endif
@@ -83,17 +84,16 @@ BuildRequires: elfutils
%ifarch %arm
BuildRequires: u-boot-tools
%endif
%if %use_suse_kabi_tools
BuildRequires: suse-kabi-tools
%endif
# Do not install p-b and dracut for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader dracut distribution-release suse-kernel-rpm-scriptlets
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: s390x
%else
ExclusiveArch: do_not_build
%endif
%ifarch %ix86 x86_64
%define image vmlinuz
@@ -202,12 +202,8 @@ Source62: old-flavors
Source63: arch-symbols
Source64: package-descriptions
Source65: kernel-spec-macros
Source67: log.sh
Source68: host-memcpy-hack.h
Source69: try-disable-staging-driver
Source70: kernel-obs-build.spec.in
Source71: kernel-obs-qa.spec.in
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
Source75: release-projects
@@ -271,12 +267,8 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
NoSource: 71
NoSource: 72
NoSource: 73
NoSource: 74
NoSource: 75
@@ -765,6 +757,7 @@ Provides: %name-devel = %version-%source_rel
Provides: multiversion(kernel)
%if ! %build_vanilla && ! %vanilla_only
Requires: kernel-devel%variant = %version-%source_rel
Requires: pesign-obs-integration
Recommends: make
Recommends: gcc
Recommends: perl
@@ -1294,7 +1287,6 @@ export KBUILD_VERBOSE=0
export KBUILD_SYMTYPES=1
export KBUILD_BUILD_USER=geeko
export KBUILD_BUILD_HOST=buildhost
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
EOF
source .kernel-binary.spec.buildenv
@@ -1447,10 +1439,12 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if !%use_suse_kabi_tools
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%endif
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1459,20 +1453,11 @@ fi
mkdir -p %_topdir/OTHER
log=%_topdir/OTHER/make-stderr.log
while true; do
make all $MAKE_ARGS 2> >(tee "$log")
if test "${PIPESTATUS[0]}" -eq 0; then
break
fi
# In the linux-next and vanilla branches, we try harder to build a
# package.
if test 0%vanilla_only -gt 0 &&
%_sourcedir/try-disable-staging-driver "$log"; then
echo "Retrying make"
else
exit 1
fi
done
make all $MAKE_ARGS 2> >(tee "$log")
result="${PIPESTATUS[0]}"
if ! test "$result" -eq 0; then
exit "$result"
fi
%if 0%{?klp_ipa_clones} && %generate_compile_commands
# Generate compile_commands.json
@@ -1508,17 +1493,9 @@ add_vmlinux()
# mark the file 0644 again
chmod +x %buildroot/$vmlinux
if test $1 == "--compressed"; then
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
ts="$(head -n1 %_sourcedir/source-timestamp)"
touch -d "$ts" %buildroot/$vmlinux
touch %buildroot/$vmlinux.%{compress_vmlinux}
%if 0%{?__debug_package:1}
# compress the vmlinux image after find-debuginfo.sh has processed it
%global __debug_install_post %__debug_install_post \
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
%else
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
%endif
ghost_vmlinux=true
else
ghost_vmlinux=false
@@ -1684,11 +1661,15 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
else
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
%if %use_suse_kabi_tools
ksymtypes consolidate %{?_smp_mflags} \
--output=%my_builddir/symtypes-%build_flavor .
%else
%_sourcedir/modversions --pack . > %my_builddir/symtypes-%build_flavor
%endif
if [ -s %my_builddir/symtypes-%build_flavor ]; then
gzip -n -9 -c %my_builddir/symtypes-%build_flavor \
> %buildroot/boot/symtypes-%kernelrelease-%build_flavor.gz
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1739,11 +1720,25 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%if %use_suse_kabi_tools
ksymvers compare --rules=%my_builddir/kabi/severities \
--format=symbols:%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%else
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
%endif
fi
if [ $res -ne 0 ]; then
%if %use_suse_kabi_tools
ksymtypes compare %{?_smp_mflags} \
--filter-symbol-list=%my_builddir/changed-exports \
%my_builddir/kabi/%cpu_arch/symtypes-%build_flavor \
%my_builddir/symtypes-%build_flavor || true
%endif
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \

View File

@@ -1,19 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Comment: This signature is for the .tar version of the archive
Comment: git archive --format tar --prefix=linux-6.14/ v6.14
Comment: git version 2.49.0
iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmfhdasACgkQONu9yGCS
aT5MVQ/+O2twsUA9kCSVelVs80Ys/vGrw278h5CLpYoaYsxDhjQWtAqFhiYuYsSf
fqWeyQJQs55YUcfCJGss4FPqWyxjNGoYVqv+GwJZIv74/kmjE31an+L0k5qEXiz5
bBzwFKUobGe2UAsNWuCTgoDh7M/Xsdz+MPq9E/7gfvRwEEjKX++scEVnGV3Qy7NS
oEOzdZpynksmF3OTnzky53XGVoW9Tk6As5r3pYy7F3KHcu/QmWKOIbU6t1+9XN08
8QvGKdnEwv6Isd7zrg2BP6gdQfwLmP9FJbsrZ5c9XP3zNz2DsEG8H459IucCOmUR
T3kkBonxSxlMdKRC23Nxmxb7wrzL4sGw8PC2a6iAFH+4glTc+jzvftKHzIPBQeFg
HC4cSb1j3EEVyv+RnQNEBShY+4ghT0Zofc5k3rSPUYpW9xn0bzFNq1sP7/7nTaYG
TNDBJrJEQmq4GarKWZ2y11I4mw7l/PBvfQpgxm6ABHfUdl0yPy89SOiBfMw+8b2Y
mk5AXuO3qdAYqVTXUodWn79Rtno5Zrj7UXMQjoK9LcP1lr1JVvC8I/gDktdBjgqW
60KkX0tNfIw0TzkcK/ogewBKKKRJJ1VZZOGx+tw/7ShBUpyAEu1boosx6bT88GVN
k1wLp1FVnouFdIBLih2/ROJjTYTWUUWmvQrHYufis0AAb9Mmtjg=
=hEZa
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a294b683e7b161bb0517bb32ec7ed1d2ea7603dfbabad135170ed12d00c47670
size 149408504

19
linux-6.16.tar.sign Normal file
View File

@@ -0,0 +1,19 @@
-----BEGIN PGP SIGNATURE-----
Comment: This signature is for the .tar version of the archive
Comment: git archive --format tar --prefix=linux-6.16/ v6.16
Comment: git version 2.50.1
iQIzBAABCgAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmiG9nUACgkQONu9yGCS
aT7fERAAlnGWUA+ggUuKlmN2LbmndlFCwyR/tSUjKn7KMlfSumBA1q/UTICPZWoZ
RD726j1yXAi2aUdZSem36Ri5IM8/OdqQgL4IQzBiv39yppH0xlkTVqXMQwI8gPpL
MSfvRUno0D3WeHEY5zircsuj4lTRUb56tBqnFiz1hZ91Z6pWVlNuQV8xfA1lBk/9
PzO6ZAZ16z4KIyyJbD3dtbP1D1L7w8CsJfR9WDun20AbUE06ypKIG8euLwWSmz1X
Sg7j9mSORRF8g0U85t8rYv/b1PN0MC1DnFA1+GN0+UMd4rqMLqqqqLx7LscoYPl2
mJx10uZrSXtaNXBXSKi/FQ/FAhxarJnrF5EMeugPN+Tq5+KjBGccK6D+jjll3MQG
AgDrGTkTo/yUxGDJcjuJBVo0MTChNcnVioQLYOtbQk6lMrHpkgZSSUIfdMbOwfsf
/MhMgj4pKbooEvdeI1J2QdqegwuHUer/ZOatEPrQS/T5hGAXHreG2/wMW9LtInAH
qDKfZyUTYqI3EvvFj6QJuVWdtg2BvLx8aQXAaGr1vrSH9cd9a+N5VhsRKXI4XbE+
L9le/9Ikix1xP9Phn5TBA2AI+FPBdDQTlC7BQdbA/jaqAOYmHuklc6HcDvQRteqq
eTn5vbhF4BoVyS/Yr7emxWvMT/n8svMUvOGgQhFgCTVfgBSPIMg=
=urdi
-----END PGP SIGNATURE-----

BIN
linux-6.16.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

167
log.sh
View File

@@ -1,167 +0,0 @@
#! /bin/bash
# log.sh - Automate insertion of patches into a kernel rpm tree managed
# with series.conf
#
# Usage example:
#
# osc branch openSUSE:11.3/kernel-source
# osc co home:philipsb:branches:openSUSE:11.3:Update:Test/kernel-source
# mv ~/linux-2.6/driver-fix-for-something.patch .
# echo -e "\tpatches.drivers/driver-fix-for-something.patch" >> series.conf
# ./log.sh
# osc commit
#############################################################################
# Copyright (c) 2004-2006,2008-2010 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com
#############################################################################
# Construct a changes entry and commit log from a patch.
CHANGES=kernel-source.changes
trap 'rm -rf "$tmpdir"' EXIT
tmpdir=$(mktemp -d /tmp/${0##*/}.XXXXXX)
message=$tmpdir/message
log_entry() {
local entry=$1
echo "$entry" \
| fmt --width 65 \
| sed -e '1s/^/- /' -e '2,$s/^/ /' \
>> $message
}
patch_meta() {
local patch=$1
subject=$(formail -c -x Subject < "$patch" \
| sed -e 's, *\[[#/ A-Za-z0-9-]*\],,')
subject=${subject## }
subject=${subject%.}
set -- $(formail -c -x References -x Reference < "$patch")
references="$*"
}
patch_log_entry() {
local patch=$1 subject references old_subj old_ref old_patch="$tmpdir/old"
git show "HEAD:$patch" >"$old_patch" 2>/dev/null
patch_meta "$old_patch"
old_subj="$subject"
old_ref="$references"
patch_meta "$patch"
local msg
if test -z "$subject" -o "$subject" != "$old_subj"; then
msg="$subject${references:+ ($references)}"
elif test "$references" != "$old_ref"; then
if test -n "$references"; then
msg="Update references ($references)"
fi
else
msg="Refresh"
fi
log_entry "$patch: $msg${msg:+.}"
}
find_patches() {
osc diff series.conf \
| sed -n "s/^+\s*\(patches.*\)/\1/p"
}
for file in "$@" $(find_patches); do
dirname=$(dirname $file)
basename=$(basename $file)
archive=$dirname.tar.bz2
if [ ! -f $basename ]; then
echo "ERROR: $basename added to series.conf but doesn't exist in $PWD"
exit 1
fi
if [ ! -d $dirname ]; then
tar xvf $archive
fi
mv $basename $dirname
rm $archive
tar cfj $archive $dirname
files[${#files[@]}]=$file
done
if [ ${#files[@]} -eq 0 ]; then
echo "No modified files" >&2
exit 1
fi
for file in "${files[@]}"; do
if [ "${file:0:1}" = - ]; then
log_entry "${file:1}: Delete."
else
case "$file" in
config/*)
if [ -z "$configs_updated" ]; then
log_entry "Update config files."
configs_updated=1
fi
;;
patches.*)
patch_log_entry "$file"
;;
kabi/*/symvers-* | kabi/*/symtypes-* | kabi/*/symsets-* )
if [ -z "$symvers_updated" ]; then
log_entry "Update reference module symbol versions."
symvers_updated=1
fi
;;
series.conf)
# don't log changes in there
;;
*)
log_entry "$file: "
;;
esac
fi
done
if [ ! -s $message ]; then
echo "- " >> $message
fi
if osc vc $CHANGES $message; then
entry=$(sed -ne '1,2d' -e '/^--*$/!p' -e '/^--*$/q' $CHANGES)
entry=${entry##$'\n'}
entry=${entry%%$'\n'}
fi
for c in *.changes; do
[ $c = $CHANGES ] && continue
cp $CHANGES $c
done

3
mkspec
View File

@@ -72,6 +72,7 @@ my $supported_modules_check = to_bool $vars{'SUPPORTED_MODULES_CHECK'};
my $build_pdf = to_bool $vars{'BUILD_PDF'};
my $build_html = to_bool $vars{'BUILD_HTML'};
my $generate_compile_commands = to_bool $vars{'GENERATE_COMPILE_COMMANDS'};
my $use_suse_kabi_tools = to_bool $vars{'USE_SUSE_KABI_TOOLS'};
if (!defined ($rpmrelease)) {
$rpmrelease = $vars{'RELEASE'} || 0;
@@ -149,6 +150,7 @@ my %macros = (
COMPRESS_MODULES => $compress_modules,
COMPRESS_VMLINUX => $compress_vmlinux,
GENERATE_COMPILE_COMMANDS => $generate_compile_commands,
USE_SUSE_KABI_TOOLS => $use_suse_kabi_tools,
GCC_PACKAGE => $gcc_package,
GCC_COMPILER => $gcc_compiler,
);
@@ -221,6 +223,7 @@ if ($variant eq "") {
my $syms_archs;
for my $flavor (sort keys(%syms_flavor_archs)) {
next if $flavor eq "vanilla";
next if $flavor eq "rt" && !$variant;
my @archs = arch2rpm(@{$syms_flavor_archs{$flavor}});
$syms_archs{$_} = 1 for @archs;
$requires .= "%ifarch @archs\n";

BIN
patches.kernel.org.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
patches.rpmify.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
patches.suse.tar.bz2 (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,3 @@
2025-05-13 09:56:22 +0000
GIT Revision: ad69173661e912fc54ea9589c400528b76aa8aca
2025-09-03 13:40:42 +0000
GIT Revision: 547d979b9bf745e1fb73e553584d7c7edca49cec
GIT Branch: stable

View File

@@ -1,83 +0,0 @@
#!/bin/bash
#############################################################################
# Copyright (c) 2011 Novell, Inc.
# Copyright (c) 2012-2022 SUSE LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact https://www.suse.com/source-code/
#
#############################################################################
# If make fails, check if it happened due to a staging driver and disable it.
# That way, staging does not spoil automatic package building and we also
# do not need to worry about forgetting to reenable manually disabled drivers.
if test -L source; then
source="source"
else
source="."
fi
if test -f ${source}/scripts/kconfig/Makefile && \
grep -q syncconfig ${source}/scripts/kconfig/Makefile; then
syncconfig="syncconfig"
else
syncconfig="silentoldconfig"
fi
makefile="$source/drivers/staging/Makefile"
skipped_options=staging-skipped-options
logfile=$1
if test -z "$logfile"; then
echo "Usage: $0 logfile" >&2
exit 1
fi
if ! test -f "$logfile"; then
echo "$logfile not found" >&2
exit 1
fi
# safety precaution
if test "0$(wc -l "$skipped_options" 2>/dev/null)" -gt 20; then
echo "Possible loop detected in $0, exiting after 20 attempts" >&2
exit 1
fi
# find out if the error happened in drivers/staging
dir=$(sed -rn 's@.*/drivers/staging/([^/]*)/.*: error: .*@\1@p; T; q' "$logfile")
if test -z "$dir"; then
exit 1
else
echo "Build failed due to drivers/staging/$dir"
fi
option=$(sed -n 's/obj-\$(\(.*\))[[:space:]]*+=[[:space:]]*'"$dir"'\//\1/p' "$makefile")
if test -z "$option"; then
echo "Cannot determine config option to skip drivers/staging/$dir" >&2
exit 1
fi
# we need to be carefull not to loop endlessly
if grep -qsFx "$option" "$skipped_options"; then
echo "$option has already been disabled, but drivers/staging/$dir is still failing" >&2
exit 1
fi
echo "Trying to disable $option"
"$source/scripts/config" --disable "$option"
if ! make $syncconfig $MAKE_ARGS || grep "^$option" .config; then
echo "Could not disable $option" >&2
exit 1
fi
echo "$option" >>"$skipped_options"
exit 0