11
0

commit 19bdf41cce31b4e3d694b7d651e6410964795b67

OBS-URL: https://build.opensuse.org/package/show/Kernel:slowroll/kernel-source-longterm?expand=0&rev=91
This commit is contained in:
Kernel Bugs
2025-01-26 07:11:32 +00:00
committed by Git OBS Bridge
parent c7df09a0fe
commit 1da6a8d239
35 changed files with 90115 additions and 16031 deletions

View File

@@ -187,8 +187,17 @@ will report one of the following:
* third-party support: "supported: external", * third-party support: "supported: external",
* unsupported modules: no supported tag. * unsupported modules: no supported tag.
At runtime, the setting of the "unsupported" kernel command line parameter and At runtime, the support status of a module can be obtained by reading
`/proc/sys/kernel/unsupported` determines whether unsupported modules can be `/sys/module/$MODULE/supported`.
Note that this information is available only if the module was not built
directly into the kernel. Builtin modules are implicitly supported.
The aggregated support status for the entire kernel can be inspected by reading
`/sys/kernel/supported`. The value is also included in Oopses.
The setting of the "unsupported" kernel command line parameter and
`/proc/sys/kernel/unsupported` controls whether unsupported modules can be
loaded or not, and whether or not loading an unsupported module causes a warning loaded or not, and whether or not loading an unsupported module causes a warning
in the system log: in the system log:
@@ -196,9 +205,9 @@ in the system log:
* 1 = warn when loading unsupported modules, * 1 = warn when loading unsupported modules,
* 2 = don't warn. * 2 = don't warn.
Irrespective of this setting, loading an externally supported or unsupported Irrespective of this setting, loading an unsupported module sets a kernel taint
module both set a kernel taint flag. The taint flags are included in Oopses. The flag. The taint status of the kernel can be inspected in
taint status of the kernel can be inspected in `/proc/sys/kernel/tainted`. `/proc/sys/kernel/tainted`. The taint flags are also included in Oopses.
Relevant bits have the following meaning: Relevant bits have the following meaning:
| Bit | Log | Number | Reason that got the kernel tainted | | Bit | Log | Number | Reason that got the kernel tainted |
@@ -209,7 +218,9 @@ Relevant bits have the following meaning:
| 16 | ␣/X | 65536 | module with third-party support was loaded | | 16 | ␣/X | 65536 | module with third-party support was loaded |
| 31 | ␣/N | 2147483648 | unsupported module was loaded | | 31 | ␣/N | 2147483648 | unsupported module was loaded |
Bits 16 and 31 are specific to the SUSE kernels. Bits 16 and 31 are specific to the SUSE kernels. Since SLE15-SP6, loading an
externally supported module does not taint the kernel, but bit 16 (X) is still
tracked per module and can be read in `/sys/module/$MODULE/taint`.
Out-of-tree modules do not have the supported flag set by default; that Out-of-tree modules do not have the supported flag set by default; that
is, they are marked as unsupported. For building externally supported is, they are marked as unsupported. For building externally supported

View File

@@ -5,6 +5,7 @@
# #
# please keep them sorted alphabetically # please keep them sorted alphabetically
declare -a IGNORED_CONFIGS_RE=( declare -a IGNORED_CONFIGS_RE=(
'ARCH_USING_PATCHABLE_FUNCTION_ENTRY'
'AS_HAS_[A-Z0-9_]*' 'AS_HAS_[A-Z0-9_]*'
'AS_VERSION' 'AS_VERSION'
'AS_WRUSS' # x86_32 'AS_WRUSS' # x86_32
@@ -15,16 +16,19 @@ declare -a IGNORED_CONFIGS_RE=(
'CC_VERSION_TEXT' 'CC_VERSION_TEXT'
'DYNAMIC_SIGFRAME' 'DYNAMIC_SIGFRAME'
'FTRACE_MCOUNT_USE_[A-Z_]*' 'FTRACE_MCOUNT_USE_[A-Z_]*'
'GCC_ASM_GOTO_OUTPUT_BROKEN'
'GCC_ASM_GOTO_OUTPUT_WORKAROUND' 'GCC_ASM_GOTO_OUTPUT_WORKAROUND'
'GCC_VERSION' 'GCC_VERSION'
'G*CC[0-9]*_NO_[A-Z_]*' 'G*CC[0-9]*_NO_[A-Z_]*'
'HAVE_[A-Z]*_COMPILER' 'HAVE_[A-Z]*_COMPILER'
'HAVE_RUST'
'HAVE_SHADOW_CALL_STACK' 'HAVE_SHADOW_CALL_STACK'
'LD_VERSION' 'LD_VERSION'
'OBJTOOL' 'OBJTOOL'
'PAHOLE_HAS_[A-Z0-9_]*' 'PAHOLE_HAS_[A-Z0-9_]*'
'PAHOLE_VERSION' 'PAHOLE_VERSION'
'RISCV_ISA_[A-Z_]*' 'RISCV_ISA_[A-Z_]*'
'RUSTC_SUPPORTS_[A-Z0-9_]*'
'TOOLCHAIN_HAS_[A-Z_]*' 'TOOLCHAIN_HAS_[A-Z_]*'
'TOOLCHAIN_NEEDS_[A-Z_]*' 'TOOLCHAIN_NEEDS_[A-Z_]*'
'TOOLS_SUPPORT_[A-Z_]*' 'TOOLS_SUPPORT_[A-Z_]*'

View File

@@ -12,7 +12,7 @@
- -syms x86_64/debug - -syms x86_64/debug
- x86_64/syzkaller - x86_64/syzkaller
- x86_64/vanilla - x86_64/vanilla
- -syms x86_64/kvmsmall - -syms x86_64/kvmsmall
+x86_64 x86_64/longterm +x86_64 x86_64/longterm
# ARM architectures # ARM architectures

View File

@@ -1,5 +1,5 @@
# The version of the main tarball to use # The version of the main tarball to use
SRCVERSION=6.6 SRCVERSION=6.12
# variant of the kernel-source package, either empty or "-rt" # variant of the kernel-source package, either empty or "-rt"
VARIANT=-longterm VARIANT=-longterm
# enable kernel module compression # enable kernel module compression
@@ -21,3 +21,5 @@ BUGZILLA_PRODUCT="openSUSE Tumbleweed"
BUILD_HTML=Yes BUILD_HTML=Yes
# build documentation in PDF format # build documentation in PDF format
BUILD_PDF=No BUILD_PDF=No
# Generate compile_commands.json
GENERATE_COMPILE_COMMANDS=Yes

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:3d9fc9407dfbbefcf985b517641b41c84439b65a51993de68db6d9a735af375d oid sha256:30f519991e324a919f46aa9f215a765f57c3984ad80640e289edc650bb522e20
size 103314 size 106982

View File

@@ -35,16 +35,19 @@ Summary: Device Tree files for $MACHINES
License: GPL-2.0-only License: GPL-2.0-only
Group: System/Boot Group: System/Boot
URL: https://www.kernel.org/ 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} %if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
$ARCH_RESTRICTIONS $ARCH_RESTRICTIONS
%else %else
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
BuildRequires: cpp
BuildRequires: dtc >= 1.4.3 %define dtbdir /boot/dtb-%kernelrelease
BuildRequires: xz
Requires: kernel = %version
@SOURCES@ @SOURCES@
Requires: kernel = %version
%description %description
Device Tree files for $MACHINES. Device Tree files for $MACHINES.
@@ -57,7 +60,6 @@ $SUBPKG_DESC
cd linux-%srcversion cd linux-%srcversion
%_sourcedir/apply-patches %_sourcedir/series.conf .. %_sourcedir/apply-patches %_sourcedir/series.conf ..
%build %build
source=linux-%srcversion source=linux-%srcversion
cp $source/COPYING . cp $source/COPYING .
@@ -75,10 +77,7 @@ for dts in $ALL_SUPPORTED_DTB; do
dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts
done done
%define dtbdir /boot/dtb-%kernelrelease
%install %install
cd pp cd pp
for dts in $ALL_SUPPORTED_DTB; do for dts in $ALL_SUPPORTED_DTB; do
target=${dts%*.dts} target=${dts%*.dts}
@@ -102,6 +101,4 @@ $SUBPKG_CASE
done done
cd - cd -
$SUBPKG_POST
$SUBPKG_FILES
%changelog %changelog

View File

@@ -1,7 +1,7 @@
#!/usr/bin/perl #!/usr/bin/perl
use File::Spec; use File::Spec;
use Getopt::Long; use Getopt::Long qw(:config no_ignore_case);
use strict; use strict;
&main(); &main();
@@ -19,6 +19,12 @@ sub main
&output($dev, $ndev, $dev_output, $ndev_output); &output($dev, $ndev, $dev_output, $ndev_output);
} }
sub rpm_quote_filename
{
# technically should also quote % -> %% " -> \" \ -> \\
return map { "\"$_\"" } @_;
}
sub scan sub scan
{ {
# Normalize file path, mainly to strip away the ending forward slash, # Normalize file path, mainly to strip away the ending forward slash,
@@ -53,8 +59,14 @@ sub scan
$is_devel ? push(@dev, $abs_path) : push(@ndev, $abs_path); $is_devel ? push(@dev, $abs_path) : push(@ndev, $abs_path);
} }
push(@dev, &calc_dirs($abs_loc, \@dev)); my @dev_dirs = calc_dirs($abs_loc, \@dev);
push(@ndev, &calc_dirs($abs_loc, \@ndev)); my @ndev_dirs = calc_dirs($abs_loc, \@ndev);
@dev = rpm_quote_filename(@dev);
@ndev = rpm_quote_filename(@ndev);
@dev_dirs = map { "\%dir $_" } rpm_quote_filename(@dev_dirs);
@ndev_dirs = map { "\%dir $_" } rpm_quote_filename(@ndev_dirs);
push(@dev, @dev_dirs);
push(@ndev, @ndev_dirs);
return (\@dev, \@ndev); return (\@dev, \@ndev);
} }
@@ -75,7 +87,7 @@ sub calc_dirs
# This loop also makes sure that $base itself is included. # This loop also makes sure that $base itself is included.
} }
return map { "\%dir $_" } keys %dirs; return keys %dirs;
} }
sub output sub output

4
guards
View File

@@ -26,7 +26,7 @@
# #
use FileHandle; use FileHandle;
use Getopt::Long; use Getopt::Long qw(:config no_ignore_case);
use strict; use strict;
# Prototypes # Prototypes
@@ -205,7 +205,7 @@ if ($check) {
# This is not an error if the entries are mutually exclusive... # This is not an error if the entries are mutually exclusive...
} }
} }
exit $problems ? 1 : 0; exit ($problems ? 1 : 0);
} elsif ($list) { } elsif ($list) {
parse($fh, sub { parse($fh, sub {

View File

@@ -2,7 +2,7 @@
use strict; use strict;
use warnings; use warnings;
use Getopt::Long; use Getopt::Long qw(:config no_ignore_case);
use Data::Dumper; use Data::Dumper;
# ( { sym => regexp, mod => regexp, fail => 0/1 }, ... ) # ( { sym => regexp, mod => regexp, fail => 0/1 }, ... )

File diff suppressed because it is too large Load Diff

View File

@@ -28,15 +28,16 @@
%(chmod +x %_sourcedir/{@SCRIPTS@}) %(chmod +x %_sourcedir/{@SCRIPTS@})
Name: kernel-docs@VARIANT@ Name: kernel-docs@VARIANT@
Summary: Kernel Documentation
License: GPL-2.0-only
Group: Documentation/Man
Version: @RPMVERSION@ Version: @RPMVERSION@
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g@COMMIT@ Release: <RELEASE>.g@COMMIT@
%else %else
Release: @RELEASE@ Release: @RELEASE@
%endif %endif
Summary: Kernel Documentation
License: GPL-2.0-only
Group: Documentation/Man
URL: https://www.kernel.org/
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300
BuildRequires: bash-sh BuildRequires: bash-sh
%endif %endif
@@ -83,21 +84,29 @@ BuildRequires: texlive-xetex
BuildRequires: texlive-zapfding BuildRequires: texlive-zapfding
%endif %endif
%endif %endif
URL: https://www.kernel.org/
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} %if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
BuildArch: noarch BuildArch: noarch
%else %else
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
@SOURCES@ @SOURCES@
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
%description %description
A few basic documents from the current kernel sources. A few basic documents from the current kernel sources.
%source_timestamp %source_timestamp
%files
%if 0%{?suse_version} && 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif
%doc CREDITS MAINTAINERS README
%doc old_changelog.txt
%if %build_pdf %if %build_pdf
%package pdf %package pdf
Summary: Kernel Documentation (PDF) Summary: Kernel Documentation (PDF)
@@ -107,6 +116,11 @@ Group: Documentation/Other
These are PDF documents built from the current kernel sources. These are PDF documents built from the current kernel sources.
%source_timestamp %source_timestamp
%files pdf
%dir %{_datadir}/doc/kernel
%docdir %{_datadir}/doc/kernel/pdf
%{_datadir}/doc/kernel/pdf
%endif %endif
%if %build_html %if %build_html
@@ -118,6 +132,11 @@ Group: Documentation/HTML
These are HTML documents built from the current kernel sources. These are HTML documents built from the current kernel sources.
%source_timestamp %source_timestamp
%files html
%dir %{_datadir}/doc/kernel
%docdir %{_datadir}/doc/kernel/html
%{_datadir}/doc/kernel/html
%endif %endif
%prep %prep
@@ -161,27 +180,4 @@ for i in pdf/Documentation/output/latex/*.pdf; do
done done
%endif %endif
%files
%if 0%{?suse_version} && 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif
%doc CREDITS MAINTAINERS README
%doc old_changelog.txt
%if %build_pdf
%files pdf
%dir %{_datadir}/doc/kernel
%docdir %{_datadir}/doc/kernel/pdf
%{_datadir}/doc/kernel/pdf
%endif
%if %build_html
%files html
%dir %{_datadir}/doc/kernel
%docdir %{_datadir}/doc/kernel/html
%{_datadir}/doc/kernel/html
%endif
%changelog %changelog

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -73,27 +73,27 @@ END { exit(! good) }
%{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD}
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-pre --name "%{-n*}-kmp-%1" \ %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-pre --name "%{-n*}-kmp-%1" \
--version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \
--flavor "%1" --usrmerged "0%{?usrmerged}" "$@" --flavor "%1" --usrmerged "%{usrmerged}" "$@"
%post -n %{-n*}-kmp-%1 %post -n %{-n*}-kmp-%1
%{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD}
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-post --name "%{-n*}-kmp-%1" \ %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-post --name "%{-n*}-kmp-%1" \
--version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \
--flavor "%1" --usrmerged "0%{?usrmerged}" "$@" --flavor "%1" --usrmerged "%{usrmerged}" "$@"
%preun -n %{-n*}-kmp-%1 %preun -n %{-n*}-kmp-%1
%{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD}
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-preun --name "%{-n*}-kmp-%1" \ %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-preun --name "%{-n*}-kmp-%1" \
--version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \
--flavor "%1" --usrmerged "0%{?usrmerged}" "$@" --flavor "%1" --usrmerged "%{usrmerged}" "$@"
%postun -n %{-n*}-kmp-%1 %postun -n %{-n*}-kmp-%1
%{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD}
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-postun --name "%{-n*}-kmp-%1" \ %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-postun --name "%{-n*}-kmp-%1" \
--version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \
--flavor "%1" --usrmerged "0%{?usrmerged}" "$@" --flavor "%1" --usrmerged "%{usrmerged}" "$@"
%posttrans -n %{-n*}-kmp-%1 %posttrans -n %{-n*}-kmp-%1
%{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD} %{-b:KMP_NEEDS_MKINITRD=1; export KMP_NEEDS_MKINITRD}
%run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-posttrans --name "%{-n*}-kmp-%1" \ %run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/kmp-posttrans --name "%{-n*}-kmp-%1" \
--version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \ --version "%_this_kmp_version" --release "%{-r*}" --kernelrelease "%2" \
--flavor "%1" --usrmerged "0%{?usrmerged}" "$@" --flavor "%1" --usrmerged "%{usrmerged}" "$@"
%files -n %{-n*}-kmp-%1 %files -n %{-n*}-kmp-%1
%{-f:%{expand:%(cd %_sourcedir; cat %{-f*})}} %{-f:%{expand:%(cd %_sourcedir; cat %{-f*})}}
%{!-f:%defattr (-,root,root)} %{!-f:%defattr (-,root,root)}

View File

@@ -24,51 +24,49 @@
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
Name: kernel-obs-build
BuildRequires: coreutils
BuildRequires: device-mapper
BuildRequires: util-linux
%if 0%{?suse_version} %if 0%{?suse_version}
%if "@OBS_BUILD_VARIANT@" %if "@OBS_BUILD_VARIANT@"
%define kernel_flavor @OBS_BUILD_VARIANT@ %global kernel_flavor @OBS_BUILD_VARIANT@
%else %else
%ifarch %ix86 %ifarch %ix86
%define kernel_flavor -pae %global kernel_flavor -pae
%else %else
%ifarch armv7l armv7hl %ifarch armv7l armv7hl
%define kernel_flavor -lpae %global kernel_flavor -lpae
%else %else
%define kernel_flavor -default %global kernel_flavor -default
%endif %endif
%endif %endif
%endif %endif
%global kernel_package kernel%kernel_flavor-srchash-@COMMIT_FULL@
%endif %endif
BuildRequires: kernel%kernel_flavor-srchash-@COMMIT_FULL@
%if 0%{?rhel_version} %if 0%{?rhel_version}
BuildRequires: kernel %global kernel_package kernel
%define kernel_flavor ""
%endif %endif
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0} Name: kernel-obs-build
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
BuildRequires: dracut
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0-only
Group: SLES
Version: @RPMVERSION@ Version: @RPMVERSION@
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g@COMMIT@ Release: <RELEASE>.g@COMMIT@
%else %else
Release: @RELEASE@ Release: @RELEASE@
%endif %endif
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0-only
Group: SLES
BuildRequires: coreutils
BuildRequires: device-mapper
BuildRequires: dracut
BuildRequires: %kernel_package
BuildRequires: util-linux
%if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200 %if 0%{?suse_version} > 1550 || 0%{?sle_version} > 150200
BuildRequires: zstd BuildRequires: zstd
%endif %endif
%if ! 0%{?is_kotd} || %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@
%else
ExclusiveArch: do_not_build
%endif
%description %description
This package is repackaging already compiled kernels to make them usable This package is repackaging already compiled kernels to make them usable
@@ -76,6 +74,13 @@ inside of Open Build Service (OBS) VM builds. An initrd with some basic
kernel modules is generated as well, but further kernel modules can be kernel modules is generated as well, but further kernel modules can be
loaded during build when installing the kernel package. loaded during build when installing the kernel package.
%files
/.build.cmdline.*
/.build.console.*
/.build.hostarch.*
/.build.initrd.*
/.build.kernel.*
%prep %prep
%build %build
@@ -118,7 +123,12 @@ echo 127.0.0.1 localhost > /etc/hosts # omit build-machine host name (boo#108490
# a longer list to have them also available for qemu cross builds where x86_64 kernel runs in eg. arm env. # a longer list to have them also available for qemu cross builds where x86_64 kernel runs in eg. arm env.
# this list of modules where available on build workers of build.opensuse.org, so we stay compatible. # this list of modules where available on build workers of build.opensuse.org, so we stay compatible.
export KERNEL_MODULES="loop dm-crypt essiv dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs btrfs xfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk virtio_rng fat vfat nls_cp437 nls_iso8859-1 ibmvscsi sd_mod e1000 ibmveth overlay 9p 9pnet_virtio qemu_fw_cfg" export KERNEL_MODULES="
loop dm-crypt essiv dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 btrfs
xfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk virtio_rng fat vfat
nls_cp437 nls_iso8859-1 ibmvscsi sd_mod e1000 ibmveth overlay 9p 9pnet_virtio qemu_fw_cfg
algif_hash aegis128 xts bridge br_netfilter nf_nat xt_conntrack iptable_nat iptable_filter
iso9660"
# manually load all modules to make sure they're available # manually load all modules to make sure they're available
for i in $KERNEL_MODULES; do for i in $KERNEL_MODULES; do
@@ -173,11 +183,4 @@ fi
#see obs-build commit e47399d738e51 #see obs-build commit e47399d738e51
uname -m > %{buildroot}/.build.hostarch.kvm uname -m > %{buildroot}/.build.hostarch.kvm
%files
/.build.cmdline.*
/.build.console.*
/.build.hostarch.*
/.build.initrd.*
/.build.kernel.*
%changelog %changelog

View File

@@ -23,6 +23,15 @@
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
Name: kernel-obs-qa Name: kernel-obs-qa
Version: @RPMVERSION@
%if 0%{?is_kotd}
Release: <RELEASE>.g@COMMIT@
%else
Release: @RELEASE@
%endif
Summary: Basic QA tests for the kernel
License: GPL-2.0-only
Group: SLES
BuildRequires: kernel-default BuildRequires: kernel-default
# kernel-obs-build must be also configured as VMinstall, but is required # kernel-obs-build must be also configured as VMinstall, but is required
# here as well to avoid that qa and build package build parallel # here as well to avoid that qa and build package build parallel
@@ -33,20 +42,14 @@ ExclusiveArch: @ARCHS@
%else %else
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
Summary: Basic QA tests for the kernel
License: GPL-2.0-only
Group: SLES
Version: @RPMVERSION@
%if 0%{?is_kotd}
Release: <RELEASE>.g@COMMIT@
%else
Release: @RELEASE@
%endif
%description %description
This package is using the kernel compiled within Open Build Service(OBS) This package is using the kernel compiled within Open Build Service(OBS)
projects and runs basic tests. projects and runs basic tests.
%files
/usr/share/%name
%prep %prep
%build %build
@@ -70,7 +73,4 @@ fi
mkdir -p %{buildroot}/usr/share/%name mkdir -p %{buildroot}/usr/share/%name
touch %{buildroot}/usr/share/%name/logfile touch %{buildroot}/usr/share/%name/logfile
%files
/usr/share/%name
%changelog %changelog

File diff suppressed because it is too large Load Diff

View File

@@ -16,24 +16,19 @@
# #
%define srcversion 6.6 %define srcversion 6.12
%define patchversion 6.6.74 %define patchversion 6.12.11
%define git_commit 1ba8802bbd72beca1b36b372a5479b61392785a6 %define git_commit 19bdf41cce31b4e3d694b7d651e6410964795b67
%define variant -longterm%{nil} %define variant -longterm%{nil}
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
%define src_install_dir usr/src/linux-%kernelrelease%variant %(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})
# if undefined use legacy location of before SLE15
%if %{undefined _rpmmacrodir}
%define _rpmmacrodir /etc/rpm
%endif
Name: kernel-source-longterm Name: kernel-source-longterm
Version: 6.6.74 Version: 6.12.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g1ba8802 Release: <RELEASE>.g19bdf41
%else %else
Release: 0 Release: 0
%endif %endif
@@ -48,7 +43,20 @@ BuildRequires: bash-sh
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: sed BuildRequires: sed
Requires(post): coreutils 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
# if undefined use legacy location of before SLE15
%if %{undefined _rpmmacrodir}
%define _rpmmacrodir /etc/rpm
%endif
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
%if "https://www.kernel.org/pub/linux/kernel/v6.x/" != "" %if "https://www.kernel.org/pub/linux/kernel/v6.x/" != ""
Source1: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.sign Source1: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.sign
@@ -97,7 +105,6 @@ Source73: dtb.spec.in.in
Source74: mkspec-dtb Source74: mkspec-dtb
Source75: release-projects Source75: release-projects
Source76: check-module-license Source76: check-module-license
Source77: klp-symbols
Source78: modules.fips Source78: modules.fips
Source79: splitflist Source79: splitflist
Source80: mergedep Source80: mergedep
@@ -122,12 +129,7 @@ Source113: patches.kabi.tar.bz2
Source114: patches.drm.tar.bz2 Source114: patches.drm.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} Requires(post): coreutils sed
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
# Source is only complete with devel files. # Source is only complete with devel files.
Requires: kernel-devel%variant = %version-%source_rel Requires: kernel-devel%variant = %version-%source_rel
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
@@ -150,8 +152,6 @@ Recommends: kernel-install-tools
%endif %endif
%obsolete_rebuilds %name %obsolete_rebuilds %name
%(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,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
# Force bzip2 instead of lzma compression to # Force bzip2 instead of lzma compression to
# 1) allow install on older dist versions, and # 1) allow install on older dist versions, and
# 2) decrease build times (bsc#962356 boo#1175882) # 2) decrease build times (bsc#962356 boo#1175882)
@@ -166,8 +166,15 @@ Linux kernel sources with many fixes and improvements.
%source_timestamp %source_timestamp
%post
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%files -f nondevel.files
%package -n kernel-devel%variant %package -n kernel-devel%variant
%obsolete_rebuilds kernel-devel%variant
Summary: Development files needed for building kernel modules Summary: Development files needed for building kernel modules
Group: Development/Sources Group: Development/Sources
AutoReqProv: off AutoReqProv: off
@@ -175,13 +182,24 @@ Provides: kernel-devel%variant = %version-%source_rel
Provides: multiversion(kernel) Provides: multiversion(kernel)
Requires: kernel-macros Requires: kernel-macros
Requires(post): coreutils Requires(post): coreutils
%obsolete_rebuilds kernel-devel%variant
%description -n kernel-devel%variant %description -n kernel-devel%variant
Kernel-level headers and Makefiles required for development of Kernel-level headers and Makefiles required for development of
external kernel modules. external kernel modules.
%source_timestamp %source_timestamp
%post -n kernel-devel%variant
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%files -n kernel-devel%variant -f devel.files
%ghost /usr/src/linux%variant
%doc /usr/share/doc/packages/*
# Note: The kernel-macros package intentionally does not provide # Note: The kernel-macros package intentionally does not provide
# multiversion(kernel) nor is its name decorated with the variant (-rt) # multiversion(kernel) nor is its name decorated with the variant (-rt)
%package -n kernel-macros %package -n kernel-macros
@@ -192,8 +210,17 @@ Provides: kernel-subpackage-macros
%description -n kernel-macros %description -n kernel-macros
This package provides the rpm macros and templates for Kernel Module Packages This package provides the rpm macros and templates for Kernel Module Packages
%source_timestamp %source_timestamp
%if "%variant" == ""
%files -n kernel-macros
%{_rpmmacrodir}/macros.kernel-source
/usr/lib/rpm/kernel-*-subpackage
%dir /usr/lib/rpm/kernel
/usr/lib/rpm/kernel/*
%endif
%package vanilla %package vanilla
%obsolete_rebuilds %name-vanilla %obsolete_rebuilds %name-vanilla
Summary: Vanilla Linux kernel sources with minor build fixes Summary: Vanilla Linux kernel sources with minor build fixes
@@ -213,6 +240,11 @@ Vanilla Linux kernel sources with minor build fixes.
%source_timestamp %source_timestamp
%if %do_vanilla
%files vanilla
/usr/src/linux-%kernelrelease-vanilla
%endif
%prep %prep
echo "Symbol(s): %symbols" echo "Symbol(s): %symbols"
@@ -293,37 +325,6 @@ done
# the future and be thus lower than the timestamps of files built from the # the future and be thus lower than the timestamps of files built from the
# source (bnc#669669). # source (bnc#669669).
ts="$(head -n1 %_sourcedir/source-timestamp)" ts="$(head -n1 %_sourcedir/source-timestamp)"
find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts" find %buildroot/usr/src/linux* ! -type l -print0 | xargs -0 touch -d "$ts"
%post
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%post -n kernel-devel%variant
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%files -f nondevel.files
%files -n kernel-devel%variant -f devel.files
%ghost /usr/src/linux%variant
%doc /usr/share/doc/packages/*
%if "%variant" == ""
%files -n kernel-macros
%{_rpmmacrodir}/macros.kernel-source
/usr/lib/rpm/kernel-*-subpackage
%dir /usr/lib/rpm/kernel
/usr/lib/rpm/kernel/*
%endif
%if %do_vanilla
%files vanilla
/usr/src/linux-%kernelrelease-vanilla
%endif
%changelog %changelog

View File

@@ -23,12 +23,7 @@
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
%define src_install_dir usr/src/linux-%kernelrelease%variant %(chmod +x %_sourcedir/{@SCRIPTS@})
# if undefined use legacy location of before SLE15
%if %{undefined _rpmmacrodir}
%define _rpmmacrodir /etc/rpm
%endif
Name: kernel-source@VARIANT@ Name: kernel-source@VARIANT@
Version: @RPMVERSION@ Version: @RPMVERSION@
@@ -48,7 +43,20 @@ BuildRequires: bash-sh
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: sed BuildRequires: sed
Requires(post): coreutils 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
# if undefined use legacy location of before SLE15
%if %{undefined _rpmmacrodir}
%define _rpmmacrodir /etc/rpm
%endif
Source0: @TARBALL_URL@linux-%srcversion.tar.xz Source0: @TARBALL_URL@linux-%srcversion.tar.xz
%if "@TARBALL_URL@" != "" %if "@TARBALL_URL@" != ""
Source1: @TARBALL_URL@linux-%srcversion.tar.sign Source1: @TARBALL_URL@linux-%srcversion.tar.sign
@@ -97,7 +105,6 @@ Source73: dtb.spec.in.in
Source74: mkspec-dtb Source74: mkspec-dtb
Source75: release-projects Source75: release-projects
Source76: check-module-license Source76: check-module-license
Source77: klp-symbols
Source78: modules.fips Source78: modules.fips
Source79: splitflist Source79: splitflist
Source80: mergedep Source80: mergedep
@@ -122,12 +129,7 @@ Source113: patches.kabi.tar.bz2
Source114: patches.drm.tar.bz2 Source114: patches.drm.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} Requires(post): coreutils sed
BuildArch: noarch
%else
ExclusiveArch: do_not_build
%endif
Prefix: /usr/src
# Source is only complete with devel files. # Source is only complete with devel files.
Requires: kernel-devel%variant = %version-%source_rel Requires: kernel-devel%variant = %version-%source_rel
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
@@ -150,8 +152,6 @@ Recommends: kernel-install-tools
%endif %endif
%obsolete_rebuilds %name %obsolete_rebuilds %name
%(chmod +x %_sourcedir/{@SCRIPTS@})
# Force bzip2 instead of lzma compression to # Force bzip2 instead of lzma compression to
# 1) allow install on older dist versions, and # 1) allow install on older dist versions, and
# 2) decrease build times (bsc#962356 boo#1175882) # 2) decrease build times (bsc#962356 boo#1175882)
@@ -166,8 +166,15 @@ Linux kernel sources with many fixes and improvements.
%source_timestamp %source_timestamp
%post
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%files -f nondevel.files
%package -n kernel-devel%variant %package -n kernel-devel%variant
%obsolete_rebuilds kernel-devel%variant
Summary: Development files needed for building kernel modules Summary: Development files needed for building kernel modules
Group: Development/Sources Group: Development/Sources
AutoReqProv: off AutoReqProv: off
@@ -175,13 +182,24 @@ Provides: kernel-devel%variant = %version-%source_rel
Provides: multiversion(kernel) Provides: multiversion(kernel)
Requires: kernel-macros Requires: kernel-macros
Requires(post): coreutils Requires(post): coreutils
%obsolete_rebuilds kernel-devel%variant
%description -n kernel-devel%variant %description -n kernel-devel%variant
Kernel-level headers and Makefiles required for development of Kernel-level headers and Makefiles required for development of
external kernel modules. external kernel modules.
%source_timestamp %source_timestamp
%post -n kernel-devel%variant
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%files -n kernel-devel%variant -f devel.files
%ghost /usr/src/linux%variant
%doc /usr/share/doc/packages/*
# Note: The kernel-macros package intentionally does not provide # Note: The kernel-macros package intentionally does not provide
# multiversion(kernel) nor is its name decorated with the variant (-rt) # multiversion(kernel) nor is its name decorated with the variant (-rt)
%package -n kernel-macros %package -n kernel-macros
@@ -192,8 +210,17 @@ Provides: kernel-subpackage-macros
%description -n kernel-macros %description -n kernel-macros
This package provides the rpm macros and templates for Kernel Module Packages This package provides the rpm macros and templates for Kernel Module Packages
%source_timestamp %source_timestamp
%if "%variant" == ""
%files -n kernel-macros
%{_rpmmacrodir}/macros.kernel-source
/usr/lib/rpm/kernel-*-subpackage
%dir /usr/lib/rpm/kernel
/usr/lib/rpm/kernel/*
%endif
%package vanilla %package vanilla
%obsolete_rebuilds %name-vanilla %obsolete_rebuilds %name-vanilla
Summary: Vanilla Linux kernel sources with minor build fixes Summary: Vanilla Linux kernel sources with minor build fixes
@@ -213,6 +240,11 @@ Vanilla Linux kernel sources with minor build fixes.
%source_timestamp %source_timestamp
%if %do_vanilla
%files vanilla
/usr/src/linux-%kernelrelease-vanilla
%endif
%prep %prep
echo "Symbol(s): %symbols" echo "Symbol(s): %symbols"
@@ -293,37 +325,6 @@ done
# the future and be thus lower than the timestamps of files built from the # the future and be thus lower than the timestamps of files built from the
# source (bnc#669669). # source (bnc#669669).
ts="$(head -n1 %_sourcedir/source-timestamp)" ts="$(head -n1 %_sourcedir/source-timestamp)"
find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts" find %buildroot/usr/src/linux* ! -type l -print0 | xargs -0 touch -d "$ts"
%post
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%post -n kernel-devel%variant
%relink_function
relink linux-%kernelrelease%variant /usr/src/linux%variant
%files -f nondevel.files
%files -n kernel-devel%variant -f devel.files
%ghost /usr/src/linux%variant
%doc /usr/share/doc/packages/*
%if "%variant" == ""
%files -n kernel-macros
%{_rpmmacrodir}/macros.kernel-source
/usr/lib/rpm/kernel-*-subpackage
%dir /usr/lib/rpm/kernel
/usr/lib/rpm/kernel/*
%endif
%if %do_vanilla
%files vanilla
/usr/src/linux-%kernelrelease-vanilla
%endif
%changelog %changelog

View File

@@ -11,8 +11,10 @@
%endif %endif
# TW is usrmerged # TW is usrmerged
%if %{undefined usrmerged} && 0%{?suse_version} >= 1550 %if 0%{?suse_version} >= 1550
%define usrmerged 1 %define usrmerged 1
%else
%define usrmerged 0
%endif %endif
# source_rel is the package release string, without the rebuild counter # source_rel is the package release string, without the rebuild counter
@@ -68,7 +70,7 @@
rm -f "$2" && ln -s "$1" "$2" \ rm -f "$2" && ln -s "$1" "$2" \
} }
%if 0%{?usrmerged} %if %{usrmerged}
%define kernel_module_directory /usr/lib/modules %define kernel_module_directory /usr/lib/modules
%else %else
%define kernel_module_directory /lib/modules %define kernel_module_directory /lib/modules

File diff suppressed because it is too large Load Diff

View File

@@ -16,19 +16,16 @@
# #
%define git_commit 1ba8802bbd72beca1b36b372a5479b61392785a6 %define git_commit 19bdf41cce31b4e3d694b7d651e6410964795b67
%define variant -longterm%{nil} %define variant -longterm%{nil}
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
Name: kernel-syms-longterm Name: kernel-syms-longterm
Summary: Kernel Symbol Versions (modversions) Version: 6.12.11
License: GPL-2.0-only
Group: Development/Sources
Version: 6.6.74
%if %using_buildservice %if %using_buildservice
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g1ba8802 Release: <RELEASE>.g19bdf41
%else %else
Release: 0 Release: 0
%endif %endif
@@ -36,24 +33,27 @@ Release: 0
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) %define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
Release: %kernel_source_release Release: %kernel_source_release
%endif %endif
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
URL: https://www.kernel.org/ URL: https://www.kernel.org/
AutoReqProv: off
BuildRequires: coreutils BuildRequires: coreutils
%ifarch aarch64 x86_64
Requires: kernel-longterm-devel = %version-%source_rel
%endif
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} %if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: aarch64 x86_64 ExclusiveArch: aarch64 x86_64
%else %else
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
Prefix: /usr/src Prefix: /usr/src
AutoReqProv: off
Source: README.KSYMS
%ifarch aarch64 x86_64
Requires: kernel-longterm-devel = %version-%source_rel
%endif
Requires: pesign-obs-integration
Requires: kernel-devel%variant = %version-%source_rel
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
Provides: multiversion(kernel)
# Force bzip2 instead of lzma compression to # Force bzip2 instead of lzma compression to
# 1) allow install on older dist versions, and # 1) allow install on older dist versions, and
@@ -70,13 +70,14 @@ package dependencies.
%source_timestamp %source_timestamp
%prep
%install
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
%files %files
%dir %_docdir/%name %dir %_docdir/%name
%_docdir/%name/README.SUSE %_docdir/%name/README.SUSE
%prep
%install
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
%changelog %changelog

View File

@@ -22,9 +22,6 @@
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
Name: kernel-syms@VARIANT@ Name: kernel-syms@VARIANT@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
Version: @RPMVERSION@ Version: @RPMVERSION@
%if %using_buildservice %if %using_buildservice
%if 0%{?is_kotd} %if 0%{?is_kotd}
@@ -36,22 +33,25 @@ Release: @RELEASE@
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) %define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
Release: %kernel_source_release Release: %kernel_source_release
%endif %endif
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0-only
Group: Development/Sources
URL: https://www.kernel.org/ URL: https://www.kernel.org/
AutoReqProv: off
BuildRequires: coreutils BuildRequires: coreutils
@REQUIRES@
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
%if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0} %if ! 0%{?is_kotd} || ! %{?is_kotd_qa}%{!?is_kotd_qa:0}
ExclusiveArch: @ARCHS@ ExclusiveArch: @ARCHS@
%else %else
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
Prefix: /usr/src Prefix: /usr/src
AutoReqProv: off
Source: README.KSYMS
@REQUIRES@
Requires: pesign-obs-integration
Requires: kernel-devel%variant = %version-%source_rel
Provides: %name = %version-%source_rel
Provides: %name-srchash-%git_commit
Provides: multiversion(kernel)
# Force bzip2 instead of lzma compression to # Force bzip2 instead of lzma compression to
# 1) allow install on older dist versions, and # 1) allow install on older dist versions, and
@@ -68,13 +68,14 @@ package dependencies.
%source_timestamp %source_timestamp
%prep
%install
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
%files %files
%dir %_docdir/%name %dir %_docdir/%name
%_docdir/%name/README.SUSE %_docdir/%name/README.SUSE
%prep
%install
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
%changelog %changelog

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

Binary file not shown.

View File

@@ -6,6 +6,7 @@ else \
print( "" ) \ print( "" ) \
end end
} }
%usrmerged %{lua: susever = rpm.expand('%{?suse_version}'); if susever ~= '' and tonumber(susever) > 1550 then print('1') else print('0') end }
%kernel_module_package_release 1 %kernel_module_package_release 1
%kernel_module_package_buildreqs modutils kernel-syms kmod-compat suse-kernel-rpm-scriptlets %kernel_build_shell_package %kernel_module_package_buildreqs modutils kernel-syms kmod-compat suse-kernel-rpm-scriptlets %kernel_build_shell_package

4
mkspec
View File

@@ -4,7 +4,7 @@ use strict;
use warnings; use warnings;
use File::Copy; use File::Copy;
use Getopt::Long; use Getopt::Long qw(:config no_ignore_case);
my $dir = "."; my $dir = ".";
my $rpmrelease; my $rpmrelease;
@@ -64,6 +64,7 @@ my $split_optional = to_bool $vars{'SPLIT_OPTIONAL'};
my $supported_modules_check = to_bool $vars{'SUPPORTED_MODULES_CHECK'}; my $supported_modules_check = to_bool $vars{'SUPPORTED_MODULES_CHECK'};
my $build_pdf = to_bool $vars{'BUILD_PDF'}; my $build_pdf = to_bool $vars{'BUILD_PDF'};
my $build_html = to_bool $vars{'BUILD_HTML'}; my $build_html = to_bool $vars{'BUILD_HTML'};
my $generate_compile_commands = to_bool $vars{'GENERATE_COMPILE_COMMANDS'};
if (!defined ($rpmrelease)) { if (!defined ($rpmrelease)) {
$rpmrelease = $vars{'RELEASE'} || 0; $rpmrelease = $vars{'RELEASE'} || 0;
@@ -140,6 +141,7 @@ my %macros = (
YEAR => (localtime time)[5] + 1900, YEAR => (localtime time)[5] + 1900,
COMPRESS_MODULES => $compress_modules, COMPRESS_MODULES => $compress_modules,
COMPRESS_VMLINUX => $compress_vmlinux, COMPRESS_VMLINUX => $compress_vmlinux,
GENERATE_COMPILE_COMMANDS => $generate_compile_commands,
); );
# binary spec files # binary spec files

View File

@@ -90,6 +90,7 @@ my @riscv64_package_list = (
['dtb-microchip', 'microchip/*.dts', "Microchip based riscv64 systems"], ['dtb-microchip', 'microchip/*.dts', "Microchip based riscv64 systems"],
['dtb-renesas', 'renesas/*.dts', "Renesas based riscv64 systems"], ['dtb-renesas', 'renesas/*.dts', "Renesas based riscv64 systems"],
['dtb-sifive', 'sifive/*.dts', "SiFive 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-starfive', 'starfive/*.dts', "StarFive based riscv64 systems"],
['dtb-thead', 'thead/*.dts', "T-HEAD based riscv64 systems"], ['dtb-thead', 'thead/*.dts', "T-HEAD based riscv64 systems"],
); );
@@ -108,8 +109,6 @@ sub generate_spec($$$)
unless ($exclusive_arch eq 'none'); unless ($exclusive_arch eq 'none');
my $subpkg_desc = ""; my $subpkg_desc = "";
my $subpkg_post = "";
my $subpkg_files = "";
my $subpkg_case = ""; my $subpkg_case = "";
my $all_supported_dtb = ""; my $all_supported_dtb = "";
my $DTS_folder = "arch/arm/boot/dts"; my $DTS_folder = "arch/arm/boot/dts";
@@ -155,7 +154,7 @@ sub generate_spec($$$)
"%description -n $PKG_NAME\n" . "%description -n $PKG_NAME\n" .
"Device Tree files for $MACHINES.\n\n"; "Device Tree files for $MACHINES.\n\n";
$subpkg_post .= $subpkg_desc .=
"%post -n $PKG_NAME\n" . "%post -n $PKG_NAME\n" .
"cd /boot\n" . "cd /boot\n" .
"# If /boot/dtb is a symlink, remove it, so that we can replace it.\n" . "# If /boot/dtb is a symlink, remove it, so that we can replace it.\n" .
@@ -175,7 +174,7 @@ sub generate_spec($$$)
$dtb_subdir .= "%dir %{dtbdir}$path\n"; $dtb_subdir .= "%dir %{dtbdir}$path\n";
} }
$subpkg_files .= $subpkg_desc .=
"%ifarch %arm aarch64 riscv64\n" . "%ifarch %arm aarch64 riscv64\n" .
"%files -n $PKG_NAME -f $PKG_NAME.list\n" . "%files -n $PKG_NAME -f $PKG_NAME.list\n" .
"%else\n" . "%else\n" .
@@ -203,8 +202,6 @@ sub generate_spec($$$)
$_ =~ s/\$DTS_folder/$DTS_folder/g; $_ =~ s/\$DTS_folder/$DTS_folder/g;
$_ =~ s/\$SUBPKG_DESC/$subpkg_desc/g; $_ =~ s/\$SUBPKG_DESC/$subpkg_desc/g;
$_ =~ s/\$ALL_SUPPORTED_DTB/$all_supported_dtb/g; $_ =~ s/\$ALL_SUPPORTED_DTB/$all_supported_dtb/g;
$_ =~ s/\$SUBPKG_POST\n?/$subpkg_post/g;
$_ =~ s/\$SUBPKG_FILES\n?/$subpkg_files/g;
$_ =~ s/\$SUBPKG_CASE\n?/$subpkg_case/g; $_ =~ s/\$SUBPKG_CASE\n?/$subpkg_case/g;
print SPEC $_; print SPEC $_;
} }

View File

@@ -3,7 +3,7 @@
use File::Basename; use File::Basename;
use File::Path; use File::Path;
use File::Find; use File::Find;
use Getopt::Long; use Getopt::Long qw(:config no_ignore_case);
use strict; use strict;
my %symbol_type_name = ( my %symbol_type_name = (

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:20aaaa92154a8d7e2e675485e1dc622c00e63634a92367c2d4833d7ef52e8ce9 oid sha256:8be24940c1b6c6379a08fd1cf3f020de9af7ab9094fd0b8f86d7af343070ed3d
size 11348679 size 2014700

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:554e8e4e583ef73827c621d3ef5593a0cffb137cb98e75047fa3572a0671a57a oid sha256:edf0af8a4cc13e726c4357bf3e3d929de85b9e46a985714f2571078e81e8883d
size 4243 size 4156

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:61ad90fbe866d677b0cc9048662518b3c33a844ad0ba2fc27e2fd609ec3ffae7 oid sha256:ecd73deb4768b1cd17aa9e38738bc823908bb42557e4900d1c6b7f30d8c4fe67
size 67083 size 42417

View File

@@ -1,6 +1,8 @@
# This file contains regular expressions that define which projects # This file contains regular expressions that define which projects
# are considered part of an official release channel. # are considered part of an official release channel.
# This will mark the kernel as released when it's built. # This will mark the kernel as released when it's built.
SUSE:SLFO:[0-9].*
SUSE:ALP:Source:Standard:1.0
SUSE:SLE-.* SUSE:SLE-.*
SUSE:Maintenance:.* SUSE:Maintenance:.*
openSUSE:[0-9].*:Update openSUSE:[0-9].*:Update

16707
series.conf

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,3 @@
2025-01-23 22:28:33 +0000 2025-01-25 20:32:55 +0000
GIT Revision: 1ba8802bbd72beca1b36b372a5479b61392785a6 GIT Revision: 19bdf41cce31b4e3d694b7d651e6410964795b67
GIT Branch: slowroll GIT Branch: slowroll