Sync from SUSE:SLFO:Main kernel-source revision 08926321beab655dad7e2ce502777950
This commit is contained in:
32
_constraints
32
_constraints
@@ -4,12 +4,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -69,12 +69,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -91,12 +91,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -118,12 +118,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -140,12 +140,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -162,12 +162,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -207,12 +207,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
@@ -229,12 +229,12 @@
|
||||
<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-zfcpdump</package>
|
||||
<package>kernel-source:kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<multibuild>
|
||||
<package>dtb-aarch64</package>
|
||||
<package>kernel-64kb</package>
|
||||
<package>kernel-debug</package>
|
||||
<package>kernel-default</package>
|
||||
<package>kernel-docs</package>
|
||||
<package>kernel-kvmsmall</package>
|
||||
<package>kernel-obs-build</package>
|
||||
<package>kernel-obs-qa</package>
|
||||
<package>kernel-rt</package>
|
||||
<package>kernel-syms</package>
|
||||
<package>kernel-zfcpdump</package>
|
||||
</multibuild>
|
||||
|
||||
15
compress-vmlinux.sh
Normal file
15
compress-vmlinux.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
# Once the brp script is reasonably widespread, we will remove the specfile
|
||||
# hack and this script
|
||||
if test -x /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux; then
|
||||
exit 0
|
||||
fi
|
||||
vmlinux=$1
|
||||
if test -e "$vmlinux" -a -e "$vmlinux.gz"; then
|
||||
# Deliberately not using gzip -n; the vmlinux image has a predictable
|
||||
# timestamp (bnc#880848#c20)
|
||||
gzip -k -9 -f "$vmlinux"
|
||||
fi
|
||||
@@ -9,17 +9,16 @@
|
||||
#
|
||||
|
||||
+x86_64 x86_64/default
|
||||
+x86_64 -syms x86_64/debug
|
||||
+x86_64 -syms x86_64/kvmsmall
|
||||
+x86_64 x86_64/rt
|
||||
|
||||
+ppc64le ppc64le/default
|
||||
+ppc64le -syms ppc64le/debug
|
||||
+ppc64le -syms ppc64le/kvmsmall
|
||||
|
||||
+arm64 arm64/default
|
||||
+arm64 -syms arm64/debug
|
||||
+arm64 arm64/64kb
|
||||
+arm64 -syms arm64/kvmsmall
|
||||
+arm64 arm64/rt
|
||||
|
||||
+s390x s390x/default
|
||||
+s390x -syms s390x/zfcpdump
|
||||
|
||||
15
config.sh
15
config.sh
@@ -1,5 +1,5 @@
|
||||
# The version of the main tarball to use
|
||||
SRCVERSION=6.4
|
||||
SRCVERSION=6.12
|
||||
# variant of the kernel-source package, either empty or "-rt"
|
||||
VARIANT=
|
||||
# enable kernel module compression
|
||||
@@ -11,13 +11,16 @@ 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:ALP:Source:Standard:Core:1.0:Build
|
||||
IBS_PROJECT=SUSE:ALP:Source:Standard:Core:1.0:Build
|
||||
OBS_PROJECT=SUSE:SLFO:Main:Build
|
||||
IBS_PROJECT=SUSE:SLFO:Main:Build
|
||||
# Bugzilla info
|
||||
BUGZILLA_SERVER="apibugzilla.suse.com"
|
||||
BUGZILLA_PRODUCT="SUSE Linux Enterprise Micro 6.0"
|
||||
SPLIT_OPTIONAL=No
|
||||
BUGZILLA_PRODUCT="SUSE Linux Enterprise Server 16.0"
|
||||
BUGZILLA_COMPONENT="Kernel"
|
||||
SPLIT_OPTIONAL=Yes
|
||||
SUPPORTED_MODULES_CHECK=Yes
|
||||
# build documentation in HTML format
|
||||
BUILD_HTML=Yes
|
||||
@@ -27,3 +30,5 @@ BUILD_PDF=No
|
||||
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)
BIN
config.tar.bz2
(Stored with Git LFS)
Binary file not shown.
50334
dtb-aarch64.changes
50334
dtb-aarch64.changes
File diff suppressed because it is too large
Load Diff
@@ -16,18 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: dtb-aarch64
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -76,8 +76,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -141,8 +144,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
|
||||
7
host-memcpy-hack.h
Normal file
7
host-memcpy-hack.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifdef __x86_64__
|
||||
/*
|
||||
* Force the linker to use the older memcpy variant, so that the user programs
|
||||
* work on older systems
|
||||
*/
|
||||
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
|
||||
#endif
|
||||
BIN
kabi.tar.bz2
(Stored with Git LFS)
BIN
kabi.tar.bz2
(Stored with Git LFS)
Binary file not shown.
50334
kernel-64kb.changes
50334
kernel-64kb.changes
File diff suppressed because it is too large
Load Diff
141
kernel-64kb.spec
141
kernel-64kb.spec
@@ -17,32 +17,32 @@
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
%define compress_modules zstd
|
||||
%define compress_vmlinux xz
|
||||
%define livepatch livepatch%{nil}
|
||||
%define livepatch_rt %{nil}
|
||||
%define livepatch_rt 1%{nil}
|
||||
%define sb_efi_only 0
|
||||
%define split_base 0
|
||||
%define split_optional 0
|
||||
%define split_optional 1
|
||||
%define supported_modules_check 1
|
||||
%define build_flavor 64kb
|
||||
%define generate_compile_commands 1
|
||||
%define use_suse_kabi_tools 0
|
||||
%define use_suse_kabi_tools 1
|
||||
%define gcc_package gcc13
|
||||
%define gcc_compiler gcc-13
|
||||
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-64kb
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -202,8 +202,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -267,8 +270,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
@@ -349,14 +355,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -487,14 +494,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -1139,59 +1147,6 @@ 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
|
||||
|
||||
@@ -1236,7 +1191,7 @@ awk '{
|
||||
subpackages=(
|
||||
base
|
||||
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
|
||||
%endif
|
||||
)
|
||||
for package in "${subpackages[@]}"; do
|
||||
@@ -1284,6 +1239,7 @@ export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
@@ -1450,11 +1406,20 @@ source .kernel-binary.spec.buildenv
|
||||
|
||||
mkdir -p %_topdir/OTHER
|
||||
log=%_topdir/OTHER/make-stderr.log
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
result="${PIPESTATUS[0]}"
|
||||
if ! test "$result" -eq 0; then
|
||||
exit "$result"
|
||||
fi
|
||||
while true; do
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver "$log"; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%if 0%{?klp_ipa_clones} && %generate_compile_commands
|
||||
# Generate compile_commands.json
|
||||
@@ -1490,9 +1455,17 @@ add_vmlinux()
|
||||
# mark the file 0644 again
|
||||
chmod +x %buildroot/$vmlinux
|
||||
if test $1 == "--compressed"; then
|
||||
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
|
||||
ts="$(head -n1 %_sourcedir/source-timestamp)"
|
||||
touch -d "$ts" %buildroot/$vmlinux
|
||||
touch %buildroot/$vmlinux.%{compress_vmlinux}
|
||||
%if 0%{?__debug_package:1}
|
||||
# compress the vmlinux image after find-debuginfo.sh has processed it
|
||||
%global __debug_install_post %__debug_install_post \
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
|
||||
%else
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
|
||||
%endif
|
||||
ghost_vmlinux=true
|
||||
else
|
||||
ghost_vmlinux=false
|
||||
|
||||
@@ -221,14 +221,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -818,6 +819,7 @@ export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
@@ -984,11 +986,20 @@ source .kernel-binary.spec.buildenv
|
||||
|
||||
mkdir -p %_topdir/OTHER
|
||||
log=%_topdir/OTHER/make-stderr.log
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
result="${PIPESTATUS[0]}"
|
||||
if ! test "$result" -eq 0; then
|
||||
exit "$result"
|
||||
fi
|
||||
while true; do
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver "$log"; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%if 0%{?klp_ipa_clones} && %generate_compile_commands
|
||||
# Generate compile_commands.json
|
||||
@@ -1024,9 +1035,17 @@ add_vmlinux()
|
||||
# mark the file 0644 again
|
||||
chmod +x %buildroot/$vmlinux
|
||||
if test $1 == "--compressed"; then
|
||||
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
|
||||
ts="$(head -n1 %_sourcedir/source-timestamp)"
|
||||
touch -d "$ts" %buildroot/$vmlinux
|
||||
touch %buildroot/$vmlinux.%{compress_vmlinux}
|
||||
%if 0%{?__debug_package:1}
|
||||
# compress the vmlinux image after find-debuginfo.sh has processed it
|
||||
%global __debug_install_post %__debug_install_post \
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
|
||||
%else
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
|
||||
%endif
|
||||
ghost_vmlinux=true
|
||||
else
|
||||
ghost_vmlinux=false
|
||||
|
||||
50334
kernel-default.changes
50334
kernel-default.changes
File diff suppressed because it is too large
Load Diff
@@ -17,32 +17,32 @@
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
%define compress_modules zstd
|
||||
%define compress_vmlinux xz
|
||||
%define livepatch livepatch%{nil}
|
||||
%define livepatch_rt %{nil}
|
||||
%define livepatch_rt 1%{nil}
|
||||
%define sb_efi_only 0
|
||||
%define split_base 0
|
||||
%define split_optional 0
|
||||
%define split_optional 1
|
||||
%define supported_modules_check 1
|
||||
%define build_flavor default
|
||||
%define generate_compile_commands 1
|
||||
%define use_suse_kabi_tools 0
|
||||
%define use_suse_kabi_tools 1
|
||||
%define gcc_package gcc13
|
||||
%define gcc_compiler gcc-13
|
||||
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-default
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -202,8 +202,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -267,8 +270,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
@@ -349,14 +355,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -516,14 +523,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -1223,59 +1231,6 @@ 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
|
||||
|
||||
@@ -1320,7 +1275,7 @@ awk '{
|
||||
subpackages=(
|
||||
base
|
||||
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
|
||||
%endif
|
||||
)
|
||||
for package in "${subpackages[@]}"; do
|
||||
@@ -1368,6 +1323,7 @@ export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
@@ -1534,11 +1490,20 @@ source .kernel-binary.spec.buildenv
|
||||
|
||||
mkdir -p %_topdir/OTHER
|
||||
log=%_topdir/OTHER/make-stderr.log
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
result="${PIPESTATUS[0]}"
|
||||
if ! test "$result" -eq 0; then
|
||||
exit "$result"
|
||||
fi
|
||||
while true; do
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver "$log"; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%if 0%{?klp_ipa_clones} && %generate_compile_commands
|
||||
# Generate compile_commands.json
|
||||
@@ -1574,9 +1539,17 @@ add_vmlinux()
|
||||
# mark the file 0644 again
|
||||
chmod +x %buildroot/$vmlinux
|
||||
if test $1 == "--compressed"; then
|
||||
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
|
||||
ts="$(head -n1 %_sourcedir/source-timestamp)"
|
||||
touch -d "$ts" %buildroot/$vmlinux
|
||||
touch %buildroot/$vmlinux.%{compress_vmlinux}
|
||||
%if 0%{?__debug_package:1}
|
||||
# compress the vmlinux image after find-debuginfo.sh has processed it
|
||||
%global __debug_install_post %__debug_install_post \
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
|
||||
%else
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
|
||||
%endif
|
||||
ghost_vmlinux=true
|
||||
else
|
||||
ghost_vmlinux=false
|
||||
|
||||
50334
kernel-docs.changes
50334
kernel-docs.changes
File diff suppressed because it is too large
Load Diff
@@ -16,21 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-docs
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -119,8 +119,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -184,8 +187,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
|
||||
50334
kernel-kvmsmall.changes
50334
kernel-kvmsmall.changes
File diff suppressed because it is too large
Load Diff
@@ -17,32 +17,32 @@
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
%define compress_modules zstd
|
||||
%define compress_vmlinux xz
|
||||
%define livepatch livepatch%{nil}
|
||||
%define livepatch_rt %{nil}
|
||||
%define livepatch_rt 1%{nil}
|
||||
%define sb_efi_only 0
|
||||
%define split_base 0
|
||||
%define split_optional 0
|
||||
%define split_optional 1
|
||||
%define supported_modules_check 1
|
||||
%define build_flavor kvmsmall
|
||||
%define generate_compile_commands 1
|
||||
%define use_suse_kabi_tools 0
|
||||
%define use_suse_kabi_tools 1
|
||||
%define gcc_package gcc13
|
||||
%define gcc_compiler gcc-13
|
||||
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-kvmsmall
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -202,8 +202,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -267,8 +270,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
@@ -349,14 +355,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -491,14 +498,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -1155,59 +1163,6 @@ 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
|
||||
|
||||
@@ -1252,7 +1207,7 @@ awk '{
|
||||
subpackages=(
|
||||
base
|
||||
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
|
||||
%endif
|
||||
)
|
||||
for package in "${subpackages[@]}"; do
|
||||
@@ -1300,6 +1255,7 @@ export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
@@ -1466,11 +1422,20 @@ source .kernel-binary.spec.buildenv
|
||||
|
||||
mkdir -p %_topdir/OTHER
|
||||
log=%_topdir/OTHER/make-stderr.log
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
result="${PIPESTATUS[0]}"
|
||||
if ! test "$result" -eq 0; then
|
||||
exit "$result"
|
||||
fi
|
||||
while true; do
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver "$log"; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%if 0%{?klp_ipa_clones} && %generate_compile_commands
|
||||
# Generate compile_commands.json
|
||||
@@ -1506,9 +1471,17 @@ add_vmlinux()
|
||||
# mark the file 0644 again
|
||||
chmod +x %buildroot/$vmlinux
|
||||
if test $1 == "--compressed"; then
|
||||
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
|
||||
ts="$(head -n1 %_sourcedir/source-timestamp)"
|
||||
touch -d "$ts" %buildroot/$vmlinux
|
||||
touch %buildroot/$vmlinux.%{compress_vmlinux}
|
||||
%if 0%{?__debug_package:1}
|
||||
# compress the vmlinux image after find-debuginfo.sh has processed it
|
||||
%global __debug_install_post %__debug_install_post \
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
|
||||
%else
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
|
||||
%endif
|
||||
ghost_vmlinux=true
|
||||
else
|
||||
ghost_vmlinux=false
|
||||
|
||||
50334
kernel-obs-build.changes
50334
kernel-obs-build.changes
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,7 @@
|
||||
|
||||
#!BuildIgnore: post-build-checks
|
||||
|
||||
%define patchversion 6.4.0
|
||||
%define patchversion 6.12.0
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@@ -38,23 +38,23 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%global kernel_package kernel%kernel_flavor-srchash-78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%global kernel_package kernel%kernel_flavor-srchash-bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%endif
|
||||
%if 0%{?rhel_version}
|
||||
%global kernel_package kernel
|
||||
%endif
|
||||
|
||||
Name: kernel-obs-build
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%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-78b2f4b4285fcf570831b80bec983e723582804b
|
||||
Provides: kernel-obs-build-srchash-bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: device-mapper
|
||||
BuildRequires: dracut
|
||||
|
||||
50334
kernel-obs-qa.changes
50334
kernel-obs-qa.changes
File diff suppressed because it is too large
Load Diff
@@ -17,15 +17,15 @@
|
||||
# needsrootforbuild
|
||||
|
||||
|
||||
%define patchversion 6.4.0
|
||||
%define patchversion 6.12.0
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
Name: kernel-obs-qa
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -35,7 +35,7 @@ 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-78b2f4b4285fcf570831b80bec983e723582804b
|
||||
BuildRequires: kernel-obs-build-srchash-bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
BuildRequires: modutils
|
||||
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package kernel-debug
|
||||
# spec file for package kernel-rt
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
@@ -17,36 +17,36 @@
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
%define compress_modules zstd
|
||||
%define compress_vmlinux xz
|
||||
%define livepatch livepatch%{nil}
|
||||
%define livepatch_rt %{nil}
|
||||
%define livepatch_rt 1%{nil}
|
||||
%define sb_efi_only 0
|
||||
%define split_base 0
|
||||
%define split_optional 0
|
||||
%define split_optional 1
|
||||
%define supported_modules_check 1
|
||||
%define build_flavor debug
|
||||
%define build_flavor rt
|
||||
%define generate_compile_commands 1
|
||||
%define use_suse_kabi_tools 0
|
||||
%define use_suse_kabi_tools 1
|
||||
%define gcc_package gcc13
|
||||
%define gcc_compiler gcc-13
|
||||
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-debug
|
||||
Version: 6.4.0
|
||||
Name: kernel-rt
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
Summary: A Debug Version of the Kernel
|
||||
Summary: Kernel with PREEMPT_RT (realtime) support
|
||||
License: GPL-2.0-only
|
||||
Group: System/Kernel
|
||||
URL: https://www.kernel.org/
|
||||
@@ -93,7 +93,7 @@ BuildRequires: suse-kabi-tools
|
||||
# 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 x86_64
|
||||
ExclusiveArch: aarch64 x86_64
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define image vmlinuz
|
||||
@@ -202,8 +202,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -267,8 +270,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
@@ -349,14 +355,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -389,6 +396,14 @@ 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
|
||||
@@ -422,8 +437,9 @@ Provides: kernel-preempt_%_target_cpu = %version-%source_rel
|
||||
}
|
||||
|
||||
%description
|
||||
This kernel has several debug facilities enabled that hurt performance.
|
||||
Only use this kernel when investigating problems.
|
||||
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.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
@@ -467,7 +483,7 @@ Only use this kernel when investigating problems.
|
||||
|
||||
%if "%CONFIG_MODULES" == "y" && %split_base
|
||||
%package base
|
||||
Summary: A Debug Version of the Kernel - base modules
|
||||
Summary: Kernel with PREEMPT_RT (realtime) support - base modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
@@ -485,14 +501,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -524,14 +541,19 @@ 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
|
||||
This kernel has several debug facilities enabled that hurt performance.
|
||||
Only use this kernel when investigating problems.
|
||||
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.
|
||||
|
||||
This package contains only the base modules, required in all installs.
|
||||
|
||||
@@ -571,7 +593,7 @@ This package contains only the base modules, required in all installs.
|
||||
%endif
|
||||
|
||||
%package extra
|
||||
Summary: A Debug Version of the Kernel - Unsupported kernel modules
|
||||
Summary: Kernel with PREEMPT_RT (realtime) support - Unsupported kernel modules
|
||||
Group: System/Kernel
|
||||
URL: https://www.kernel.org/
|
||||
Provides: %name-extra_%_target_cpu = %version-%source_rel
|
||||
@@ -582,6 +604,10 @@ 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)
|
||||
@@ -597,8 +623,9 @@ Provides: kernel-preempt-extra_%_target_cpu = %version-%source_rel
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
This kernel has several debug facilities enabled that hurt performance.
|
||||
Only use this kernel when investigating problems.
|
||||
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.
|
||||
|
||||
This package contains additional modules not supported by SUSE.
|
||||
|
||||
@@ -642,7 +669,7 @@ This package contains additional modules not supported by SUSE.
|
||||
|
||||
%if %split_extra && %split_optional
|
||||
%package optional
|
||||
Summary: A Debug Version of the Kernel - Optional kernel modules
|
||||
Summary: Kernel with PREEMPT_RT (realtime) support - Optional kernel modules
|
||||
Group: System/Kernel
|
||||
URL: https://www.kernel.org/
|
||||
Provides: %name-optional_%_target_cpu = %version-%source_rel
|
||||
@@ -653,6 +680,10 @@ 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
|
||||
@@ -666,8 +697,9 @@ Provides: kernel-preempt-optional_%_target_cpu = %version-%source_rel
|
||||
%endif
|
||||
|
||||
%description optional
|
||||
This kernel has several debug facilities enabled that hurt performance.
|
||||
Only use this kernel when investigating problems.
|
||||
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.
|
||||
|
||||
This package contains optional modules only for openSUSE Leap.
|
||||
|
||||
@@ -769,6 +801,10 @@ 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
|
||||
|
||||
@@ -1131,59 +1167,6 @@ 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
|
||||
|
||||
@@ -1228,7 +1211,7 @@ awk '{
|
||||
subpackages=(
|
||||
base
|
||||
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
|
||||
%endif
|
||||
)
|
||||
for package in "${subpackages[@]}"; do
|
||||
@@ -1276,6 +1259,7 @@ export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
@@ -1442,11 +1426,20 @@ source .kernel-binary.spec.buildenv
|
||||
|
||||
mkdir -p %_topdir/OTHER
|
||||
log=%_topdir/OTHER/make-stderr.log
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
result="${PIPESTATUS[0]}"
|
||||
if ! test "$result" -eq 0; then
|
||||
exit "$result"
|
||||
fi
|
||||
while true; do
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver "$log"; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%if 0%{?klp_ipa_clones} && %generate_compile_commands
|
||||
# Generate compile_commands.json
|
||||
@@ -1482,9 +1475,17 @@ add_vmlinux()
|
||||
# mark the file 0644 again
|
||||
chmod +x %buildroot/$vmlinux
|
||||
if test $1 == "--compressed"; then
|
||||
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
|
||||
ts="$(head -n1 %_sourcedir/source-timestamp)"
|
||||
touch -d "$ts" %buildroot/$vmlinux
|
||||
touch %buildroot/$vmlinux.%{compress_vmlinux}
|
||||
%if 0%{?__debug_package:1}
|
||||
# compress the vmlinux image after find-debuginfo.sh has processed it
|
||||
%global __debug_install_post %__debug_install_post \
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
|
||||
%else
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
|
||||
%endif
|
||||
ghost_vmlinux=true
|
||||
else
|
||||
ghost_vmlinux=false
|
||||
50334
kernel-source.changes
50334
kernel-source.changes
File diff suppressed because it is too large
Load Diff
@@ -16,21 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
%define gcc_package gcc13
|
||||
%define gcc_compiler gcc-13
|
||||
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-source
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -93,8 +93,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
|
||||
@@ -93,8 +93,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
|
||||
50334
kernel-syms.changes
50334
kernel-syms.changes
File diff suppressed because it is too large
Load Diff
@@ -16,16 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
Name: kernel-syms
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if %using_buildservice
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
||||
50334
kernel-zfcpdump.changes
50334
kernel-zfcpdump.changes
File diff suppressed because it is too large
Load Diff
@@ -17,32 +17,32 @@
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
%define srcversion 6.4
|
||||
%define patchversion 6.4.0
|
||||
%define git_commit 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
%define variant %{nil}
|
||||
%define compress_modules zstd
|
||||
%define compress_vmlinux xz
|
||||
%define livepatch livepatch%{nil}
|
||||
%define livepatch_rt %{nil}
|
||||
%define livepatch_rt 1%{nil}
|
||||
%define sb_efi_only 0
|
||||
%define split_base 0
|
||||
%define split_optional 0
|
||||
%define split_optional 1
|
||||
%define supported_modules_check 1
|
||||
%define build_flavor zfcpdump
|
||||
%define generate_compile_commands 1
|
||||
%define use_suse_kabi_tools 0
|
||||
%define use_suse_kabi_tools 1
|
||||
%define gcc_package gcc13
|
||||
%define gcc_compiler gcc-13
|
||||
|
||||
%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,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,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-zfcpdump
|
||||
Version: 6.4.0
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g78b2f4b
|
||||
Release: <RELEASE>.gbb0cfcb
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -202,8 +202,11 @@ Source62: old-flavors
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
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
|
||||
@@ -267,8 +270,11 @@ NoSource: 62
|
||||
NoSource: 63
|
||||
NoSource: 64
|
||||
NoSource: 65
|
||||
NoSource: 68
|
||||
NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 73
|
||||
NoSource: 74
|
||||
NoSource: 75
|
||||
@@ -349,14 +355,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -487,14 +494,15 @@ Requires: suse-module-tools
|
||||
# For depmod (modutils is a dependency provided by both module-init-tools and
|
||||
# kmod-compat)
|
||||
Requires(post): modutils
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for dracut.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): dracut
|
||||
# Use OrderWithRequires to instruct the package manager to schedule the
|
||||
# installation of bootloader and dracut related tools as if they were
|
||||
# required. This will ensure they're there for post scripts without hard
|
||||
# requiring them. (boo#1228659, boo#1240785)
|
||||
OrderWithRequires(post): udev
|
||||
OrderWithRequires(post): systemd-boot
|
||||
OrderWithRequires(post): perl-Bootloader
|
||||
OrderWithRequires(post): update-bootloader
|
||||
OrderWithRequires(post): dracut
|
||||
# Install the package providing /etc/SuSE-release early enough, so that
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
@@ -1139,59 +1147,6 @@ 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
|
||||
|
||||
@@ -1236,7 +1191,7 @@ awk '{
|
||||
subpackages=(
|
||||
base
|
||||
%if "%CONFIG_SUSE_KERNEL_SUPPORTED" == "y"
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp reiserfs-kmp
|
||||
cluster-md-kmp dlm-kmp gfs2-kmp kselftests-kmp ocfs2-kmp
|
||||
%endif
|
||||
)
|
||||
for package in "${subpackages[@]}"; do
|
||||
@@ -1284,6 +1239,7 @@ export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
@@ -1450,11 +1406,20 @@ source .kernel-binary.spec.buildenv
|
||||
|
||||
mkdir -p %_topdir/OTHER
|
||||
log=%_topdir/OTHER/make-stderr.log
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
result="${PIPESTATUS[0]}"
|
||||
if ! test "$result" -eq 0; then
|
||||
exit "$result"
|
||||
fi
|
||||
while true; do
|
||||
make all $MAKE_ARGS 2> >(tee "$log")
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver "$log"; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%if 0%{?klp_ipa_clones} && %generate_compile_commands
|
||||
# Generate compile_commands.json
|
||||
@@ -1490,9 +1455,17 @@ add_vmlinux()
|
||||
# mark the file 0644 again
|
||||
chmod +x %buildroot/$vmlinux
|
||||
if test $1 == "--compressed"; then
|
||||
# avoid using the gzip -n option to make kdump happy (bnc#880848#c20)
|
||||
ts="$(head -n1 %_sourcedir/source-timestamp)"
|
||||
touch -d "$ts" %buildroot/$vmlinux
|
||||
touch %buildroot/$vmlinux.%{compress_vmlinux}
|
||||
%if 0%{?__debug_package:1}
|
||||
# compress the vmlinux image after find-debuginfo.sh has processed it
|
||||
%global __debug_install_post %__debug_install_post \
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/boot/vmlinux-%kernelrelease-%build_flavor
|
||||
%else
|
||||
%_sourcedir/compress-vmlinux.sh %buildroot/$vmlinux
|
||||
%endif
|
||||
ghost_vmlinux=true
|
||||
else
|
||||
ghost_vmlinux=false
|
||||
|
||||
19
linux-6.12.tar.sign
Normal file
19
linux-6.12.tar.sign
Normal 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.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)
Normal file
BIN
linux-6.12.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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.4/ v6.4
|
||||
Comment: git version 2.41.0
|
||||
|
||||
iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmSZJtAACgkQONu9yGCS
|
||||
aT6pJw/+Osrk7UvALCjSPp1LzX4MM1rV27c6McOri/Wq9/25ohOCkq0ieUywPgUJ
|
||||
RZ6NyxDQWU9DyPIQMWRzjliwtVcN9+Qc0dTXFezBHnQJVfTlDA6Ms0i6T92EQEx0
|
||||
A+aRo12u4rww1Z44A2aWKtYJTsGGY1hyXhTnWulsQqx1fcDoEv6G1NLdpqvlIKhn
|
||||
HLYVPcTgFJiHo3dBvhx2/hqAtupIB3EJNpJr9GZlrlX4i2HncfdNcrKVGYuxsXJJ
|
||||
nkn5EtbhPwOAcHkkmsWa4xAEe5omp938osZ9x20DVVfTEFM/b4BV9lt7Sm5EbHOq
|
||||
uVRPbih2rCRBOF7hXgDsq4UwfY2CFYPp7B/F54cIjNSh1euHeLoaJb9Fz2PFIgub
|
||||
yYDWksm80NaIoa3bXx8VG4ZNE64TwVDWfi8cBWSJkp+16nToI9Oj3/VWpHaMm7vN
|
||||
rojMzgmps4joYflbBfM3hb8HthmnRM38NiUvQug8pmd8Y2nbJxCQH17A1sv3Mpbw
|
||||
Ke3Qro9Zk4xfZb+GdrSuUW4G4JUbSZKM0JwU3HQZ5hQT4D7h1G0tfrl3/ClJfxal
|
||||
125ZU7VThBms7Vn1Sf3GAwbD4kvkLuNt3QSbpBFjlJ/9w7SMriWvUvMKXzZ3jUJX
|
||||
KefEanRsJijRBBWIKGZ8u2Z1dB6B9zLc6/zQORkWou4l3dpuTQo=
|
||||
=b0YG
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
linux-6.4.tar.xz
(Stored with Git LFS)
BIN
linux-6.4.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
patches.kabi.tar.bz2
(Stored with Git LFS)
BIN
patches.kabi.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
patches.rpmify.tar.bz2
(Stored with Git LFS)
BIN
patches.rpmify.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
patches.suse.tar.bz2
(Stored with Git LFS)
BIN
patches.suse.tar.bz2
(Stored with Git LFS)
Binary file not shown.
35831
series.conf
35831
series.conf
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,3 @@
|
||||
2025-07-01 14:59:55 +0000
|
||||
GIT Revision: 78b2f4b4285fcf570831b80bec983e723582804b
|
||||
GIT Branch: SUSE-2024
|
||||
2025-07-10 15:42:06 +0000
|
||||
GIT Revision: bb0cfcb7a477df23f8a15b2388eca90d7b8cc78e
|
||||
GIT Branch: users/vkarasulli/SL-16.0/for-next
|
||||
|
||||
13599
supported.conf
13599
supported.conf
File diff suppressed because it is too large
Load Diff
BIN
sysctl.tar.bz2
(Stored with Git LFS)
BIN
sysctl.tar.bz2
(Stored with Git LFS)
Binary file not shown.
83
try-disable-staging-driver
Normal file
83
try-disable-staging-driver
Normal file
@@ -0,0 +1,83 @@
|
||||
#!/bin/bash
|
||||
|
||||
#############################################################################
|
||||
# Copyright (c) 2011 Novell, Inc.
|
||||
# Copyright (c) 2012-2022 SUSE LLC
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public License as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, contact https://www.suse.com/source-code/
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
# If make fails, check if it happened due to a staging driver and disable it.
|
||||
# That way, staging does not spoil automatic package building and we also
|
||||
# do not need to worry about forgetting to reenable manually disabled drivers.
|
||||
|
||||
if test -L source; then
|
||||
source="source"
|
||||
else
|
||||
source="."
|
||||
fi
|
||||
if test -f ${source}/scripts/kconfig/Makefile && \
|
||||
grep -q syncconfig ${source}/scripts/kconfig/Makefile; then
|
||||
syncconfig="syncconfig"
|
||||
else
|
||||
syncconfig="silentoldconfig"
|
||||
fi
|
||||
makefile="$source/drivers/staging/Makefile"
|
||||
skipped_options=staging-skipped-options
|
||||
logfile=$1
|
||||
|
||||
if test -z "$logfile"; then
|
||||
echo "Usage: $0 logfile" >&2
|
||||
exit 1
|
||||
fi
|
||||
if ! test -f "$logfile"; then
|
||||
echo "$logfile not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# safety precaution
|
||||
if test "0$(wc -l "$skipped_options" 2>/dev/null)" -gt 20; then
|
||||
echo "Possible loop detected in $0, exiting after 20 attempts" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# find out if the error happened in drivers/staging
|
||||
dir=$(sed -rn 's@.*/drivers/staging/([^/]*)/.*: error: .*@\1@p; T; q' "$logfile")
|
||||
if test -z "$dir"; then
|
||||
exit 1
|
||||
else
|
||||
echo "Build failed due to drivers/staging/$dir"
|
||||
fi
|
||||
|
||||
option=$(sed -n 's/obj-\$(\(.*\))[[:space:]]*+=[[:space:]]*'"$dir"'\//\1/p' "$makefile")
|
||||
if test -z "$option"; then
|
||||
echo "Cannot determine config option to skip drivers/staging/$dir" >&2
|
||||
exit 1
|
||||
fi
|
||||
# we need to be carefull not to loop endlessly
|
||||
if grep -qsFx "$option" "$skipped_options"; then
|
||||
echo "$option has already been disabled, but drivers/staging/$dir is still failing" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Trying to disable $option"
|
||||
"$source/scripts/config" --disable "$option"
|
||||
if ! make $syncconfig $MAKE_ARGS || grep "^$option" .config; then
|
||||
echo "Could not disable $option" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "$option" >>"$skipped_options"
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user