5 Commits

65 changed files with 2990690 additions and 1686760 deletions

View File

@@ -4,12 +4,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -69,12 +75,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -91,12 +103,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -118,12 +136,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -140,12 +164,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -162,12 +192,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -176,18 +212,6 @@
</hardware>
</overwrite>
<!-- POWER9 now required on ppc64le -->
<overwrite>
<conditions>
<arch>ppc64le</arch>
</conditions>
<hardware>
<cpu>
<flag>power9</flag>
</cpu>
</hardware>
</overwrite>
<!-- Build on recent ARMv8.1 to avoid slow builders -->
<overwrite>
<conditions>
@@ -207,12 +231,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>
@@ -229,12 +259,18 @@
<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>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-rt</package>
<package>kernel-source:kernel-rt</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
</conditions>

View File

@@ -1,12 +1,18 @@
<multibuild>
<package>dtb-aarch64</package>
<package>dtb-armv6l</package>
<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>
<package>kernel-lpae</package>
<package>kernel-obs-build</package>
<package>kernel-obs-qa</package>
<package>kernel-rt</package>
<package>kernel-pae</package>
<package>kernel-syms</package>
<package>kernel-vanilla</package>
<package>kernel-zfcpdump</package>
</multibuild>

View File

@@ -6,19 +6,15 @@
# 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_]*'
@@ -27,14 +23,11 @@ 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'
@@ -43,7 +36,6 @@ 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

@@ -9,16 +9,36 @@
#
+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
+x86_64 x86_64/rt
+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
# ARM architectures
+armv6hl armv6hl/default
+armv6hl armv6hl/vanilla
+armv7hl armv7hl/default
+armv7hl armv7hl/vanilla
+armv7hl armv7hl/lpae
+arm64 arm64/default
+arm64 -syms arm64/debug
+arm64 arm64/64kb
+arm64 arm64/vanilla
+arm64 -syms arm64/kvmsmall
+arm64 arm64/rt
+s390x s390x/default
+s390x s390x/vanilla
+s390x -syms s390x/zfcpdump
+riscv64 riscv64/default
+riscv64 riscv64/vanilla

View File

@@ -1,5 +1,5 @@
# The version of the main tarball to use
SRCVERSION=6.12
SRCVERSION=6.14
# variant of the kernel-source package, either empty or "-rt"
VARIANT=
# enable kernel module compression
@@ -11,24 +11,19 @@ BUILD_DTBS="Yes"
MULTIBUILD="Yes"
# Use new style livepatch package names
LIVEPATCH=livepatch
# Enable livepatching related packages on -rt variant
LIVEPATCH_RT=1
# buildservice projects to build the kernel against
OBS_PROJECT=SUSE:SLFO:Main:Build
IBS_PROJECT=SUSE:SLFO:Main:Build
OBS_PROJECT=openSUSE:Factory
OBS_PROJECT_ARM=openSUSE:Factory:ARM
OBS_PROJECT_LEGACYX86=openSUSE:Factory:LegacyX86
OBS_PROJECT_PPC=openSUSE:Factory:PowerPC
OBS_PROJECT_RISCV=openSUSE:Factory:RISCV
OBS_PROJECT_S390=openSUSE:Factory:zSystems
# Bugzilla info
BUGZILLA_SERVER="apibugzilla.suse.com"
BUGZILLA_PRODUCT="SUSE Linux Enterprise Server 16.0"
BUGZILLA_COMPONENT="Kernel"
SPLIT_OPTIONAL=Yes
SUPPORTED_MODULES_CHECK=Yes
BUGZILLA_PRODUCT="openSUSE Tumbleweed"
# build documentation in HTML format
BUILD_HTML=Yes
# build documentation in PDF format
BUILD_PDF=No
# Generate compile_commands.json
GENERATE_COMPILE_COMMANDS=Yes
# Set gcc version to the one used for build in IBS
GCC_VERSION=13
# Use the new kABI tool
USE_SUSE_KABI_TOOLS=Yes

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

Binary file not shown.

View File

@@ -122,18 +122,6 @@
</hardware>
</overwrite>
<!-- POWER9 now required on ppc64le -->
<overwrite>
<conditions>
<arch>ppc64le</arch>
</conditions>
<hardware>
<cpu>
<flag>power9</flag>
</cpu>
</hardware>
</overwrite>
<!-- Build on recent ARMv8.1 to avoid slow builders -->
<overwrite>
<conditions>

File diff suppressed because it is too large Load Diff

View File

@@ -16,18 +16,18 @@
#
%define srcversion 6.12
%define patchversion 6.12.0
%define srcversion 6.14
%define patchversion 6.14.6
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-aarch64
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -38,7 +38,11 @@ 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
@@ -76,6 +80,7 @@ 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
@@ -144,6 +149,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70

179242
dtb-armv6l.changes Normal file

File diff suppressed because it is too large Load Diff

267
dtb-armv6l.spec Normal file
View File

@@ -0,0 +1,267 @@
#
# spec file for package dtb-armv6l
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define srcversion 6.14
%define patchversion 6.14.6
%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})
Name: dtb-armv6l
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
Summary: Device Tree files for $MACHINES
License: GPL-2.0-only
Group: System/Boot
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
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
Source3: kernel-source.rpmlintrc
Source14: series.conf
Source16: guards
Source17: apply-patches
Source19: kernel-binary-conflicts
Source20: obsolete-kmps
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source35: group-source-files.pl
Source36: README.PATCH-POLICY.SUSE
Source37: README.SUSE
Source38: README.KSYMS
Source40: source-timestamp
Source46: split-modules
Source47: modversions
Source48: macros.kernel-source
Source49: kernel-module-subpackage
Source50: kabi.pl
Source51: mkspec
Source52: kernel-source%variant.changes
Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source58: constraints.in
Source60: config.sh
Source61: compute-PATCHVERSION.sh
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
Source76: check-module-license
Source78: modules.fips
Source79: splitflist
Source80: mergedep
Source81: moddep
Source82: modflist
Source83: kernel-subpackage-build
Source84: kernel-subpackage-spec
Source85: kernel-default-base.spec.txt
Source86: old_changelog.txt
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
Source103: patches.drivers.tar.bz2
Source104: patches.fixes.tar.bz2
Source105: patches.rpmify.tar.bz2
Source106: patches.suse.tar.bz2
Source108: patches.addon.tar.bz2
Source109: patches.kernel.org.tar.bz2
Source110: patches.apparmor.tar.bz2
Source111: patches.rt.tar.bz2
Source113: patches.kabi.tar.bz2
Source114: patches.drm.tar.bz2
Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2
# These files are found in the kernel-source package:
NoSource: 0
NoSource: 3
NoSource: 14
NoSource: 16
NoSource: 17
NoSource: 19
NoSource: 20
NoSource: 21
NoSource: 23
NoSource: 33
NoSource: 35
NoSource: 36
NoSource: 37
NoSource: 38
NoSource: 40
NoSource: 46
NoSource: 47
NoSource: 48
NoSource: 49
NoSource: 50
NoSource: 51
NoSource: 52
NoSource: 53
NoSource: 54
NoSource: 55
NoSource: 56
NoSource: 57
NoSource: 58
NoSource: 60
NoSource: 61
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
NoSource: 76
NoSource: 78
NoSource: 79
NoSource: 80
NoSource: 81
NoSource: 82
NoSource: 83
NoSource: 84
NoSource: 85
NoSource: 86
NoSource: 100
NoSource: 101
NoSource: 102
NoSource: 103
NoSource: 104
NoSource: 105
NoSource: 106
NoSource: 108
NoSource: 109
NoSource: 110
NoSource: 111
NoSource: 113
NoSource: 114
NoSource: 120
NoSource: 121
Requires: kernel = %version
%description
Device Tree files for $MACHINES.
%package -n dtb-bcm2835
Summary: Raspberry Pi 1 (A+, B, B+)
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-bcm2835
Device Tree files for Raspberry Pi 1 (A+, B, B+).
%post -n dtb-bcm2835
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-bcm2835 -f dtb-bcm2835.list
%else
%files -n dtb-bcm2835
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/broadcom
%{dtbdir}/broadcom/bcm2835*.dtb
%prep
# Unpack all sources and patches
%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 108 -a 109 -a 110 -a 111 -a 113 -a 114 -a 120 -a 121
cd linux-%srcversion
%_sourcedir/apply-patches %_sourcedir/series.conf ..
%build
source=linux-%srcversion
cp $source/COPYING .
SRCDIR=$PWD/$source
mkdir pp
PPDIR=$PWD/pp
export DTC_FLAGS="-R 4 -p 0x1000"
DTC_FLAGS="$DTC_FLAGS -@"
cd $source/arch/arm/boot/dts
for dts in broadcom/bcm2835*.dts ; do
target=${dts%*.dts}
mkdir -p $PPDIR/$(dirname $target)
cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I$SRCDIR/include/ -I$SRCDIR/scripts/dtc/include-prefixes/ -P $target.dts -o $PPDIR/$target.dts
dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts
done
%install
cd pp
for dts in broadcom/bcm2835*.dts ; do
target=${dts%*.dts}
install -m 755 -d %{buildroot}%{dtbdir}/$(dirname $target)
# install -m 644 COPYING %{buildroot}%{dtbdir}/$(dirname $target)
install -m 644 $target.dtb %{buildroot}%{dtbdir}/$(dirname $target)
%ifarch %arm aarch64 riscv64
# HACK: work around U-Boot ignoring vendor dir
baselink=%{dtbdir}/$(basename $target).dtb
ln -s $target.dtb %{buildroot}$baselink
%ifarch %arm
case $dts in
broadcom/bcm2835*.dts) pkgname=dtb-bcm2835;;
esac
echo $baselink >> ../$pkgname.list
%else
vendordir=$(basename $(dirname $target))
echo $baselink >> ../dtb-$vendordir.list
%endif
%endif
done
cd -
%changelog

179242
dtb-armv7l.changes Normal file

File diff suppressed because it is too large Load Diff

1430
dtb-armv7l.spec Normal file

File diff suppressed because it is too large Load Diff

179242
dtb-riscv64.changes Normal file

File diff suppressed because it is too large Load Diff

428
dtb-riscv64.spec Normal file
View File

@@ -0,0 +1,428 @@
#
# spec file for package dtb-riscv64
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define srcversion 6.14
%define patchversion 6.14.6
%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})
Name: dtb-riscv64
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
Summary: Device Tree files for $MACHINES
License: GPL-2.0-only
Group: System/Boot
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
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
Source3: kernel-source.rpmlintrc
Source14: series.conf
Source16: guards
Source17: apply-patches
Source19: kernel-binary-conflicts
Source20: obsolete-kmps
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source35: group-source-files.pl
Source36: README.PATCH-POLICY.SUSE
Source37: README.SUSE
Source38: README.KSYMS
Source40: source-timestamp
Source46: split-modules
Source47: modversions
Source48: macros.kernel-source
Source49: kernel-module-subpackage
Source50: kabi.pl
Source51: mkspec
Source52: kernel-source%variant.changes
Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source58: constraints.in
Source60: config.sh
Source61: compute-PATCHVERSION.sh
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
Source76: check-module-license
Source78: modules.fips
Source79: splitflist
Source80: mergedep
Source81: moddep
Source82: modflist
Source83: kernel-subpackage-build
Source84: kernel-subpackage-spec
Source85: kernel-default-base.spec.txt
Source86: old_changelog.txt
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
Source103: patches.drivers.tar.bz2
Source104: patches.fixes.tar.bz2
Source105: patches.rpmify.tar.bz2
Source106: patches.suse.tar.bz2
Source108: patches.addon.tar.bz2
Source109: patches.kernel.org.tar.bz2
Source110: patches.apparmor.tar.bz2
Source111: patches.rt.tar.bz2
Source113: patches.kabi.tar.bz2
Source114: patches.drm.tar.bz2
Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2
# These files are found in the kernel-source package:
NoSource: 0
NoSource: 3
NoSource: 14
NoSource: 16
NoSource: 17
NoSource: 19
NoSource: 20
NoSource: 21
NoSource: 23
NoSource: 33
NoSource: 35
NoSource: 36
NoSource: 37
NoSource: 38
NoSource: 40
NoSource: 46
NoSource: 47
NoSource: 48
NoSource: 49
NoSource: 50
NoSource: 51
NoSource: 52
NoSource: 53
NoSource: 54
NoSource: 55
NoSource: 56
NoSource: 57
NoSource: 58
NoSource: 60
NoSource: 61
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
NoSource: 76
NoSource: 78
NoSource: 79
NoSource: 80
NoSource: 81
NoSource: 82
NoSource: 83
NoSource: 84
NoSource: 85
NoSource: 86
NoSource: 100
NoSource: 101
NoSource: 102
NoSource: 103
NoSource: 104
NoSource: 105
NoSource: 106
NoSource: 108
NoSource: 109
NoSource: 110
NoSource: 111
NoSource: 113
NoSource: 114
NoSource: 120
NoSource: 121
Requires: kernel = %version
%description
Device Tree files for $MACHINES.
%package -n dtb-allwinner
Summary: Allwinner based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-allwinner
Device Tree files for Allwinner based riscv64 systems.
%post -n dtb-allwinner
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-allwinner -f dtb-allwinner.list
%else
%files -n dtb-allwinner
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/allwinner
%{dtbdir}/allwinner/*.dtb
%package -n dtb-microchip
Summary: Microchip based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-microchip
Device Tree files for Microchip based riscv64 systems.
%post -n dtb-microchip
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-microchip -f dtb-microchip.list
%else
%files -n dtb-microchip
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/microchip
%{dtbdir}/microchip/*.dtb
%package -n dtb-renesas
Summary: Renesas based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-renesas
Device Tree files for Renesas based riscv64 systems.
%post -n dtb-renesas
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-renesas -f dtb-renesas.list
%else
%files -n dtb-renesas
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/renesas
%{dtbdir}/renesas/*.dtb
%package -n dtb-sifive
Summary: SiFive based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-sifive
Device Tree files for SiFive based riscv64 systems.
%post -n dtb-sifive
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-sifive -f dtb-sifive.list
%else
%files -n dtb-sifive
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/sifive
%{dtbdir}/sifive/*.dtb
%package -n dtb-sophgo
Summary: Sophgo based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-sophgo
Device Tree files for Sophgo based riscv64 systems.
%post -n dtb-sophgo
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-sophgo -f dtb-sophgo.list
%else
%files -n dtb-sophgo
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/sophgo
%{dtbdir}/sophgo/*.dtb
%package -n dtb-starfive
Summary: StarFive based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-starfive
Device Tree files for StarFive based riscv64 systems.
%post -n dtb-starfive
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-starfive -f dtb-starfive.list
%else
%files -n dtb-starfive
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/starfive
%{dtbdir}/starfive/*.dtb
%package -n dtb-thead
Summary: T-HEAD based riscv64 systems
Group: System/Boot
Provides: multiversion(dtb)
Requires(post): coreutils
%description -n dtb-thead
Device Tree files for T-HEAD based riscv64 systems.
%post -n dtb-thead
cd /boot
# If /boot/dtb is a symlink, remove it, so that we can replace it.
[ -d dtb ] && [ -L dtb ] && rm -f dtb
# Unless /boot/dtb exists as real directory, create a symlink.
[ -d dtb ] || ln -sf dtb-%kernelrelease dtb
%ifarch %arm aarch64 riscv64
%files -n dtb-thead -f dtb-thead.list
%else
%files -n dtb-thead
%endif
%defattr(-,root,root)
%ghost /boot/dtb
%dir %{dtbdir}
%dir %{dtbdir}/thead
%{dtbdir}/thead/*.dtb
%prep
# Unpack all sources and patches
%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 108 -a 109 -a 110 -a 111 -a 113 -a 114 -a 120 -a 121
cd linux-%srcversion
%_sourcedir/apply-patches %_sourcedir/series.conf ..
%build
source=linux-%srcversion
cp $source/COPYING .
SRCDIR=$PWD/$source
mkdir pp
PPDIR=$PWD/pp
export DTC_FLAGS="-R 4 -p 0x1000"
DTC_FLAGS="$DTC_FLAGS -@"
cd $source/arch/riscv/boot/dts
for dts in allwinner/*.dts microchip/*.dts renesas/*.dts sifive/*.dts sophgo/*.dts starfive/*.dts thead/*.dts ; do
target=${dts%*.dts}
mkdir -p $PPDIR/$(dirname $target)
cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I$SRCDIR/include/ -I$SRCDIR/scripts/dtc/include-prefixes/ -P $target.dts -o $PPDIR/$target.dts
dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts
done
%install
cd pp
for dts in allwinner/*.dts microchip/*.dts renesas/*.dts sifive/*.dts sophgo/*.dts starfive/*.dts thead/*.dts ; do
target=${dts%*.dts}
install -m 755 -d %{buildroot}%{dtbdir}/$(dirname $target)
# install -m 644 COPYING %{buildroot}%{dtbdir}/$(dirname $target)
install -m 644 $target.dtb %{buildroot}%{dtbdir}/$(dirname $target)
%ifarch %arm aarch64 riscv64
# HACK: work around U-Boot ignoring vendor dir
baselink=%{dtbdir}/$(basename $target).dtb
ln -s $target.dtb %{buildroot}$baselink
%ifarch %arm
case $dts in
esac
echo $baselink >> ../$pkgname.list
%else
vendordir=$(basename $(dirname $target))
echo $baselink >> ../dtb-$vendordir.list
%endif
%endif
done
cd -
%changelog

View File

@@ -38,7 +38,11 @@ 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

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,32 +17,31 @@
# needssslcertforbuild
%define srcversion 6.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
%define livepatch livepatch%{nil}
%define livepatch_rt 1%{nil}
%define livepatch_rt %{nil}
%define sb_efi_only 0
%define split_base 0
%define split_optional 1
%define supported_modules_check 1
%define split_optional 0
%define supported_modules_check 0
%define build_flavor 64kb
%define generate_compile_commands 1
%define use_suse_kabi_tools 1
%define gcc_package gcc13
%define gcc_compiler gcc-13
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-64kb
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -84,16 +83,17 @@ 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,6 +202,7 @@ 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
@@ -270,6 +271,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
@@ -1147,6 +1149,59 @@ accessible simultaneously from multiple nodes of a cluster.
%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files
%package -n reiserfs-kmp-%build_flavor
Summary: Reiserfs kernel module
Group: System/Kernel
Requires: %name = %version-%source_rel
Provides: reiserfs-kmp = %version-%source_rel
Provides: multiversion(kernel)
# tell weak-modules2 to ignore this package
Provides: kmp_in_kernel
Requires(post): suse-module-tools >= 12.4
%if %build_default
%if "%CONFIG_PREEMPT_DYNAMIC" == "y"
Provides: reiserfs-kmp-preempt = %version-%release
%endif
%endif
Enhances: %name
Supplements: packageand(%name:reiserfs-kmp-%build_flavor)
%description -n reiserfs-kmp-%build_flavor
The reiserfs file system is no longer supported in SLE15. This package
provides the reiserfs module for the installation system.
%pre -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%post -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%preun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%postun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%posttrans -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files
%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
@@ -1191,7 +1246,7 @@ awk '{
subpackages=(
base
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
%endif
)
for package in "${subpackages[@]}"; do
@@ -1392,12 +1447,10 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
%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
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1631,15 +1684,11 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%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
%_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
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1690,25 +1739,11 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%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
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
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
%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,7 +31,6 @@
%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@
@@ -84,16 +83,17 @@ 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
@@ -972,12 +972,10 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
%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
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1211,15 +1209,11 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%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
%_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
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1270,25 +1264,11 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%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
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
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
%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 \

179242
kernel-debug.changes Normal file

File diff suppressed because it is too large Load Diff

2017
kernel-debug.spec Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,32 +17,31 @@
# needssslcertforbuild
%define srcversion 6.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
%define livepatch livepatch%{nil}
%define livepatch_rt 1%{nil}
%define livepatch_rt %{nil}
%define sb_efi_only 0
%define split_base 0
%define split_optional 1
%define supported_modules_check 1
%define split_optional 0
%define supported_modules_check 0
%define build_flavor default
%define generate_compile_commands 1
%define use_suse_kabi_tools 1
%define gcc_package gcc13
%define gcc_compiler gcc-13
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-default
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -84,16 +83,17 @@ 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
ExclusiveArch: aarch64 ppc64le s390x x86_64
%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,6 +202,7 @@ 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
@@ -270,6 +271,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
@@ -396,6 +398,10 @@ Provides: kernel-%build_flavor-base-srchash-%git_commit
Provides: kernel-srchash-%git_commit
# END COMMON DEPS
Provides: %name-srchash-%git_commit
%ifarch %ix86
Provides: kernel-trace = 3.13
Obsoletes: kernel-trace <= 3.13
%endif
%ifarch s390x
Provides: kernel-trace = 3.13
Obsoletes: kernel-trace <= 3.13
@@ -412,6 +418,10 @@ Obsoletes: kernel-xen <= 4.4
Provides: kernel-ec2 = 4.4
Obsoletes: kernel-ec2 <= 4.4
%endif
%ifarch %ix86
Provides: kernel-trace-base = 3.13
Obsoletes: kernel-trace-base <= 3.13
%endif
%ifarch s390x
Provides: kernel-trace-base = 3.13
Obsoletes: kernel-trace-base <= 3.13
@@ -563,6 +573,10 @@ Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-%git_commit
Provides: kernel-srchash-%git_commit
%ifarch %ix86
Provides: kernel-trace-base = 3.13
Obsoletes: kernel-trace-base <= 3.13
%endif
%ifarch s390x
Provides: kernel-trace-base = 3.13
Obsoletes: kernel-trace-base <= 3.13
@@ -636,6 +650,10 @@ Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
Requires(post): dracut
%ifarch %ix86
Provides: kernel-trace-extra = 3.13
Obsoletes: kernel-trace-extra <= 3.13
%endif
%ifarch s390x
Provides: kernel-trace-extra = 3.13
Obsoletes: kernel-trace-extra <= 3.13
@@ -722,6 +740,10 @@ Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
Requires(post): dracut
%ifarch %ix86
Provides: kernel-trace-optional = 3.13
Obsoletes: kernel-trace-optional <= 3.13
%endif
%ifarch s390x
Provides: kernel-trace-optional = 3.13
Obsoletes: kernel-trace-optional <= 3.13
@@ -853,6 +875,10 @@ Provides: kernel-preempt-devel = %version-%release
%endif
%endif
Requires: %gcc_package
%ifarch %ix86
Provides: kernel-trace-devel = 3.13
Obsoletes: kernel-trace-devel <= 3.13
%endif
%ifarch s390x
Provides: kernel-trace-devel = 3.13
Obsoletes: kernel-trace-devel <= 3.13
@@ -1231,6 +1257,59 @@ accessible simultaneously from multiple nodes of a cluster.
%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files
%package -n reiserfs-kmp-%build_flavor
Summary: Reiserfs kernel module
Group: System/Kernel
Requires: %name = %version-%source_rel
Provides: reiserfs-kmp = %version-%source_rel
Provides: multiversion(kernel)
# tell weak-modules2 to ignore this package
Provides: kmp_in_kernel
Requires(post): suse-module-tools >= 12.4
%if %build_default
%if "%CONFIG_PREEMPT_DYNAMIC" == "y"
Provides: reiserfs-kmp-preempt = %version-%release
%endif
%endif
Enhances: %name
Supplements: packageand(%name:reiserfs-kmp-%build_flavor)
%description -n reiserfs-kmp-%build_flavor
The reiserfs file system is no longer supported in SLE15. This package
provides the reiserfs module for the installation system.
%pre -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%post -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%preun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%postun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%posttrans -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files
%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
@@ -1275,7 +1354,7 @@ awk '{
subpackages=(
base
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
%endif
)
for package in "${subpackages[@]}"; do
@@ -1476,12 +1555,10 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
%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
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1715,15 +1792,11 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%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
%_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
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1774,25 +1847,11 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%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
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
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
%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.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-docs
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -84,7 +84,11 @@ 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
@@ -119,6 +123,7 @@ 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
@@ -187,6 +192,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70

View File

@@ -84,7 +84,11 @@ 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,32 +17,31 @@
# needssslcertforbuild
%define srcversion 6.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
%define livepatch livepatch%{nil}
%define livepatch_rt 1%{nil}
%define livepatch_rt %{nil}
%define sb_efi_only 0
%define split_base 0
%define split_optional 1
%define supported_modules_check 1
%define split_optional 0
%define supported_modules_check 0
%define build_flavor kvmsmall
%define generate_compile_commands 1
%define use_suse_kabi_tools 1
%define gcc_package gcc13
%define gcc_compiler gcc-13
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-kvmsmall
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -84,16 +83,17 @@ 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,6 +202,7 @@ 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
@@ -270,6 +271,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
@@ -1163,6 +1165,59 @@ accessible simultaneously from multiple nodes of a cluster.
%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files
%package -n reiserfs-kmp-%build_flavor
Summary: Reiserfs kernel module
Group: System/Kernel
Requires: %name = %version-%source_rel
Provides: reiserfs-kmp = %version-%source_rel
Provides: multiversion(kernel)
# tell weak-modules2 to ignore this package
Provides: kmp_in_kernel
Requires(post): suse-module-tools >= 12.4
%if %build_default
%if "%CONFIG_PREEMPT_DYNAMIC" == "y"
Provides: reiserfs-kmp-preempt = %version-%release
%endif
%endif
Enhances: %name
Supplements: packageand(%name:reiserfs-kmp-%build_flavor)
%description -n reiserfs-kmp-%build_flavor
The reiserfs file system is no longer supported in SLE15. This package
provides the reiserfs module for the installation system.
%pre -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%post -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%preun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%postun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%posttrans -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files
%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
@@ -1207,7 +1262,7 @@ awk '{
subpackages=(
base
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
%endif
)
for package in "${subpackages[@]}"; do
@@ -1408,12 +1463,10 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
%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
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1647,15 +1700,11 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%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
%_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
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1706,25 +1755,11 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%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
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
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
%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 \

179242
kernel-lpae.changes Normal file

File diff suppressed because it is too large Load Diff

2017
kernel-lpae.spec Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
%define patchversion 6.12.0
%define patchversion 6.14.6
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -38,23 +38,22 @@
%endif
%endif
%endif
%global kernel_package kernel%kernel_flavor-srchash-b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%global kernel_package kernel%kernel_flavor-srchash-ad69173661e912fc54ea9589c400528b76aa8aca
%endif
%if 0%{?rhel_version}
%global kernel_package kernel
%endif
Name: kernel-obs-build
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%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-b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
BuildRequires: coreutils
BuildRequires: device-mapper
BuildRequires: dracut
@@ -63,7 +62,11 @@ BuildRequires: util-linux
%if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200
BuildRequires: zstd
%endif
ExclusiveArch: aarch64 ppc64le s390x x86_64
%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,7 +54,6 @@ 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
@@ -63,7 +62,11 @@ 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.12.0
%define patchversion 6.14.6
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
Name: kernel-obs-qa
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -35,9 +35,13 @@ 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-srchash-b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
BuildRequires: kernel-obs-build
BuildRequires: modutils
ExclusiveArch: aarch64 ppc64le s390x x86_64
%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 using the kernel compiled within Open Build Service(OBS)

View File

@@ -35,9 +35,13 @@ 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-srchash-@COMMIT_FULL@
BuildRequires: kernel-obs-build
BuildRequires: modutils
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
%description
This package is using the kernel compiled within Open Build Service(OBS)

179242
kernel-pae.changes Normal file

File diff suppressed because it is too large Load Diff

2089
kernel-pae.spec Normal file

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

@@ -16,21 +16,21 @@
#
%define srcversion 6.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%define gcc_package gcc13
%define gcc_compiler gcc-13
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-source
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -45,7 +45,11 @@ 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
@@ -93,6 +97,7 @@ 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
@@ -320,7 +325,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_ }' \
-e '1 { s_^#! */bin/env +/_#!/_ ; s_^#! */bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
-re '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,7 +45,11 @@ 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
@@ -93,6 +97,7 @@ 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
@@ -320,7 +325,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_ }' \
-e '1 { s_^#! */bin/env +/_#!/_ ; s_^#! */bin/env +([^/])_#!/usr/bin/\1_ }' -i "$f"
-re '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

File diff suppressed because it is too large Load Diff

View File

@@ -16,16 +16,16 @@
#
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
Name: kernel-syms
Version: 6.12.0
Version: 6.14.6
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -38,16 +38,26 @@ License: GPL-2.0-only
Group: Development/Sources
URL: https://www.kernel.org/
BuildRequires: coreutils
ExclusiveArch: aarch64 ppc64le s390x x86_64
%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
%ifarch aarch64
Requires: kernel-64kb-devel = %version-%source_rel
%endif
%ifarch aarch64 ppc64le s390x x86_64
%ifarch aarch64 armv6hl armv7hl %ix86 ppc64le riscv64 s390x x86_64
Requires: kernel-default-devel = %version-%source_rel
%endif
%ifarch armv7hl
Requires: kernel-lpae-devel = %version-%source_rel
%endif
%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

View File

@@ -38,7 +38,11 @@ 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

179242
kernel-vanilla.changes Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
#
# spec file for package kernel-rt
# spec file for package kernel-vanilla
#
# Copyright (c) 2025 SUSE LLC
#
@@ -17,36 +17,35 @@
# needssslcertforbuild
%define srcversion 6.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
%define livepatch livepatch%{nil}
%define livepatch_rt 1%{nil}
%define livepatch_rt %{nil}
%define sb_efi_only 0
%define split_base 0
%define split_optional 1
%define supported_modules_check 1
%define build_flavor rt
%define split_optional 0
%define supported_modules_check 0
%define build_flavor vanilla
%define generate_compile_commands 1
%define use_suse_kabi_tools 1
%define gcc_package gcc13
%define gcc_compiler gcc-13
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-rt
Version: 6.12.0
Name: kernel-vanilla
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
Summary: Kernel with PREEMPT_RT (realtime) support
Summary: The Standard Kernel - without any SUSE patches
License: GPL-2.0-only
Group: System/Kernel
URL: https://www.kernel.org/
@@ -84,16 +83,17 @@ 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
ExclusiveArch: aarch64 x86_64
%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,6 +202,7 @@ 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
@@ -270,6 +271,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
@@ -396,14 +398,6 @@ Provides: kernel-%build_flavor-base-srchash-%git_commit
Provides: kernel-srchash-%git_commit
# END COMMON DEPS
Provides: %name-srchash-%git_commit
%ifarch x86_64
Provides: kernel-compute = 3.13
Obsoletes: kernel-compute <= 3.13
%endif
%ifarch x86_64
Provides: kernel-compute-base = 3.13
Obsoletes: kernel-compute-base <= 3.13
%endif
%obsolete_rebuilds %name
%define kmp_target_cpu %_target_cpu
@@ -437,9 +431,7 @@ Provides: kernel-preempt_%_target_cpu = %version-%source_rel
}
%description
The kernel for arm64 and x86_64 architectures that supports CONFIG_PREEMPT_RT. Its
main purpose is to serve workloads with strict latency requirements with more
deterministic worst case behaviour than the default kernel.
The standard kernel - without any SUSE patches
%source_timestamp
@@ -483,7 +475,7 @@ deterministic worst case behaviour than the default kernel.
%if "%CONFIG_MODULES" == "y" && %split_base
%package base
Summary: Kernel with PREEMPT_RT (realtime) support - base modules
Summary: The Standard Kernel - without any SUSE patches - base modules
Group: System/Kernel
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
@@ -541,19 +533,13 @@ Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-%git_commit
Provides: kernel-srchash-%git_commit
%ifarch x86_64
Provides: kernel-compute-base = 3.13
Obsoletes: kernel-compute-base <= 3.13
%endif
%obsolete_rebuilds %name-base
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
%description base
The kernel for arm64 and x86_64 architectures that supports CONFIG_PREEMPT_RT. Its
main purpose is to serve workloads with strict latency requirements with more
deterministic worst case behaviour than the default kernel.
The standard kernel - without any SUSE patches
This package contains only the base modules, required in all installs.
@@ -593,7 +579,7 @@ This package contains only the base modules, required in all installs.
%endif
%package extra
Summary: Kernel with PREEMPT_RT (realtime) support - Unsupported kernel modules
Summary: The Standard Kernel - without any SUSE patches - Unsupported kernel modules
Group: System/Kernel
URL: https://www.kernel.org/
Provides: %name-extra_%_target_cpu = %version-%source_rel
@@ -604,10 +590,6 @@ Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
Requires(post): dracut
%ifarch x86_64
Provides: kernel-compute-extra = 3.13
Obsoletes: kernel-compute-extra <= 3.13
%endif
%obsolete_rebuilds %name-extra
Supplements: packageand(product(SLED):%{name}_%_target_cpu)
Supplements: packageand(product(sle-we):%{name}_%_target_cpu)
@@ -623,9 +605,7 @@ Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel
%endif
%description extra
The kernel for arm64 and x86_64 architectures that supports CONFIG_PREEMPT_RT. Its
main purpose is to serve workloads with strict latency requirements with more
deterministic worst case behaviour than the default kernel.
The standard kernel - without any SUSE patches
This package contains additional modules not supported by SUSE.
@@ -669,7 +649,7 @@ This package contains additional modules not supported by SUSE.
%if %split_extra && %split_optional
%package optional
Summary: Kernel with PREEMPT_RT (realtime) support - Optional kernel modules
Summary: The Standard Kernel - without any SUSE patches - Optional kernel modules
Group: System/Kernel
URL: https://www.kernel.org/
Provides: %name-optional_%_target_cpu = %version-%source_rel
@@ -680,10 +660,6 @@ Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
Requires(post): dracut
%ifarch x86_64
Provides: kernel-compute-optional = 3.13
Obsoletes: kernel-compute-optional <= 3.13
%endif
%obsolete_rebuilds %name-optional
Supplements: packageand(product(Leap):%{name}_%_target_cpu)
%ifarch %ix86
@@ -697,9 +673,7 @@ Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel
%endif
%description optional
The kernel for arm64 and x86_64 architectures that supports CONFIG_PREEMPT_RT. Its
main purpose is to serve workloads with strict latency requirements with more
deterministic worst case behaviour than the default kernel.
The standard kernel - without any SUSE patches
This package contains optional modules only for openSUSE Leap.
@@ -801,10 +775,6 @@ Provides: kernel-preempt-devel = %version-%release
%endif
%endif
Requires: %gcc_package
%ifarch x86_64
Provides: kernel-compute-devel = 3.13
Obsoletes: kernel-compute-devel <= 3.13
%endif
%obsolete_rebuilds %name-devel
PreReq: coreutils
@@ -1167,6 +1137,59 @@ accessible simultaneously from multiple nodes of a cluster.
%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files
%package -n reiserfs-kmp-%build_flavor
Summary: Reiserfs kernel module
Group: System/Kernel
Requires: %name = %version-%source_rel
Provides: reiserfs-kmp = %version-%source_rel
Provides: multiversion(kernel)
# tell weak-modules2 to ignore this package
Provides: kmp_in_kernel
Requires(post): suse-module-tools >= 12.4
%if %build_default
%if "%CONFIG_PREEMPT_DYNAMIC" == "y"
Provides: reiserfs-kmp-preempt = %version-%release
%endif
%endif
Enhances: %name
Supplements: packageand(%name:reiserfs-kmp-%build_flavor)
%description -n reiserfs-kmp-%build_flavor
The reiserfs file system is no longer supported in SLE15. This package
provides the reiserfs module for the installation system.
%pre -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%post -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%preun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%postun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%posttrans -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files
%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
@@ -1211,7 +1234,7 @@ awk '{
subpackages=(
base
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
%endif
)
for package in "${subpackages[@]}"; do
@@ -1412,12 +1435,10 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
%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
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1651,15 +1672,11 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%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
%_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
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1710,25 +1727,11 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%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
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
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
%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,32 +17,31 @@
# needssslcertforbuild
%define srcversion 6.12
%define patchversion 6.12.0
%define git_commit b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
%define srcversion 6.14
%define patchversion 6.14.6
%define git_commit ad69173661e912fc54ea9589c400528b76aa8aca
%define variant %{nil}
%define compress_modules zstd
%define compress_vmlinux xz
%define livepatch livepatch%{nil}
%define livepatch_rt 1%{nil}
%define livepatch_rt %{nil}
%define sb_efi_only 0
%define split_base 0
%define split_optional 1
%define supported_modules_check 1
%define split_optional 0
%define supported_modules_check 0
%define build_flavor zfcpdump
%define generate_compile_commands 1
%define use_suse_kabi_tools 1
%define gcc_package gcc13
%define gcc_compiler gcc-13
%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,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,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: kernel-zfcpdump
Version: 6.12.0
Version: 6.14.6
%if 0%{?is_kotd}
Release: <RELEASE>.gb00eabe
Release: <RELEASE>.gad69173
%else
Release: 0
%endif
@@ -84,16 +83,17 @@ 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,6 +202,7 @@ 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
@@ -270,6 +271,7 @@ NoSource: 62
NoSource: 63
NoSource: 64
NoSource: 65
NoSource: 67
NoSource: 68
NoSource: 69
NoSource: 70
@@ -1147,6 +1149,59 @@ accessible simultaneously from multiple nodes of a cluster.
%files -n ocfs2-kmp-%build_flavor -f ocfs2-kmp.files
%package -n reiserfs-kmp-%build_flavor
Summary: Reiserfs kernel module
Group: System/Kernel
Requires: %name = %version-%source_rel
Provides: reiserfs-kmp = %version-%source_rel
Provides: multiversion(kernel)
# tell weak-modules2 to ignore this package
Provides: kmp_in_kernel
Requires(post): suse-module-tools >= 12.4
%if %build_default
%if "%CONFIG_PREEMPT_DYNAMIC" == "y"
Provides: reiserfs-kmp-preempt = %version-%release
%endif
%endif
Enhances: %name
Supplements: packageand(%name:reiserfs-kmp-%build_flavor)
%description -n reiserfs-kmp-%build_flavor
The reiserfs file system is no longer supported in SLE15. This package
provides the reiserfs module for the installation system.
%pre -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-pre --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%post -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-post --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%preun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-preun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%postun -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-postun --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%posttrans -n reiserfs-kmp-%build_flavor
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/inkmp-posttrans --name "reiserfs-kmp-%build_flavor" \
--version "%version" --release "%release" --kernelrelease "%kernelrelease" \
--image "%image" --flavor "%build_flavor" --variant "%variant" \
--usrmerged "%{usrmerged}" --certs "%certs" "$@"
%files -n reiserfs-kmp-%build_flavor -f reiserfs-kmp.files
%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
@@ -1191,7 +1246,7 @@ awk '{
subpackages=(
base
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
%endif
)
for package in "${subpackages[@]}"; do
@@ -1392,12 +1447,10 @@ find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' ! -name 'Module.op
cd %kernel_build_dir
source .kernel-binary.spec.buildenv
%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
# create *.symref files in the tree
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
%_sourcedir/modversions --unpack . < $_
fi
%if "%CONFIG_KMSG_IDS" == "y"
chmod +x ../scripts/kmsg-doc
@@ -1631,15 +1684,11 @@ if [ %CONFIG_MODULES = y ]; then
%endif
# Table of types used in exported symbols (for modversion debugging).
%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
%_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
fi
# Some architecture's $(uname -m) output is different from the ARCH
@@ -1690,25 +1739,11 @@ if [ %CONFIG_MODULES = y ]; then
res=0
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
# check for kabi changes
%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
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
Module.symvers || res=$?
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
%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.12/ v6.12
Comment: git version 2.47.0
iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmc6xcwACgkQONu9yGCS
aT65NhAAvh7QiDnvnOlH/ZI9TVDE70GYARPN0OQTE+7YmtwYYxtDmIWpl5V4gjcK
jYZYWkNWZxyIi/dzZFoY8JMEwxdPfchkc2nqJxgHbZGTWudcLnTWxIRnzlEjs+7B
B7XIlCTGYMi3hYweHNZcDzvAFp+WA2e130ZTHeJSpEy7jkdcRxnKP4kYkE52bmOr
iK0MgfPhlDY90K9T/XQ1j0CdU9ekpwXXc+vfNPtPz4H5VpAkIvLzFmu/9oYtGBlf
8w4wel6GlzYsZL8XJmBgK2GyhHXLKeEAsTFGoJSnZBwgqfr9ux9iVNCUgfMNyBh/
sPp0ZzVWnqk5CsLTO/bzV64ckRLyBp9nfTekZAjnADqXPTEfDKEGKL/AUV8AFQPE
AvZzFAV8aOFQAUkofvQyJiD61UVjziNlxh0bXLcJrTdJbNqsEQlx4Z6mWWLeufrU
7UWboDuR0+MNGUIVCxFjYF30Zb18hIxxnZ++9+MhtbY0+aAUpJUkHm6HpNls2JtI
0M0iUjTYtlohcadLCo+IdO0+8/HiN1rtDy+PypTNvVI5aoS9gPuJPXMGE+rSgUAk
M0XrPcKrekJPgkL0rQJ+CfHSodsex6de9mzmPA/RHB4iwSqkAHSShs5KXzY6jy+T
fv5YOM+4AArm5xL1uDDDINp/a3tg5Nsv49ghfeYj6IzJPJ84ciw=
=pvFU
-----END PGP SIGNATURE-----

BIN
linux-6.12.tar.xz (Stored with Git LFS)

Binary file not shown.

19
linux-6.14.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.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-----

3
linux-6.14.tar.xz Normal file
View File

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

167
log.sh Normal file
View File

@@ -0,0 +1,167 @@
#! /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,7 +72,6 @@ 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;
@@ -150,7 +149,6 @@ 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,
);
@@ -223,7 +221,6 @@ if ($variant eq "") {
my $syms_archs;
for my $flavor (sort keys(%syms_flavor_archs)) {
next if $flavor eq "vanilla";
next if $flavor eq "rt";
my @archs = arch2rpm(@{$syms_flavor_archs{$flavor}});
$syms_archs{$_} = 1 for @archs;
$requires .= "%ifarch @archs\n";

View File

@@ -24,7 +24,6 @@ my @armv7l_package_list = (
['dtb-imx6', 'nxp/imx/imx6*.dts', "Freescale i.MX6 based systems"],
['dtb-imx7', 'nxp/imx/imx7*.dts', "Freescale i.MX7 based systems"],
['dtb-keystone', 'ti/keystone/keystone-*.dts', "TI Keystone 2 based systems"],
['dtb-meson6', 'amlogic/meson6-*.dts', "Amlogic Meson 6 based systems"],
['dtb-meson8', 'amlogic/meson8-*.dts', "Amlogic Meson 8 based systems"],
['dtb-meson8b', 'amlogic/meson8b-*.dts', "Amlogic Meson 8b based systems"],
['dtb-mt76', 'mediatek/mt76*.dts', "MediaTek mt76 based systems"],
@@ -90,7 +89,9 @@ my @riscv64_package_list = (
['dtb-microchip', 'microchip/*.dts', "Microchip based riscv64 systems"],
['dtb-renesas', 'renesas/*.dts', "Renesas based riscv64 systems"],
['dtb-sifive', 'sifive/*.dts', "SiFive based riscv64 systems"],
['dtb-sophgo', 'sophgo/*.dts', "Sophgo based riscv64 systems"],
['dtb-starfive', 'starfive/*.dts', "StarFive based riscv64 systems"],
['dtb-thead', 'thead/*.dts', "T-HEAD based riscv64 systems"],
);
sub generate_spec($$$)

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

Binary file not shown.

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.

12471
series.conf

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,3 @@
2025-07-21 10:20:07 +0000
GIT Revision: b00eabe67e9bafdd23c53dd65d263cbf6dc806fa
GIT Branch: SL-16.0
2025-05-13 09:56:22 +0000
GIT Revision: ad69173661e912fc54ea9589c400528b76aa8aca
GIT Branch: stable

File diff suppressed because it is too large Load Diff

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

Binary file not shown.