From: Michael Hofmann on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2647
Fixes https://gitlab.com/cki-project/kernel-webhooks/-/issues/452
Signed-off-by: Michael Hofmann mhofmann@redhat.com
--- redhat/kernel.spec.template | 14 +++++++------- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 7 deletions(-)
From: Michael Hofmann mhofmann@redhat.com
gitlab-ci: enable build-only pipelines for Rawhide/16k/aarch64
Fixes https://gitlab.com/cki-project/kernel-webhooks/-/issues/452
Signed-off-by: Michael Hofmann mhofmann@redhat.com
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index blahblah..blahblah 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -130,6 +130,14 @@ workflow: rpmbuild_with: up debug package_name: kernel-debug architectures: x86_64 aarch64 + rawhide-16k: &rawhide-16k + rpmbuild_with: arm64_16k base + package_name: kernel-16k + architectures: aarch64 + rawhide-16k-debug: &rawhide-16k-debug + rpmbuild_with: arm64_16k debug + package_name: kernel-16k-debug + architectures: aarch64 eln-up: &eln-up rpmbuild_with: up base package_name: kernel @@ -165,6 +173,14 @@ ark_debug_merge_request: extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] variables: *rawhide-up-debug
+ark_16k_merge_request: + extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] + variables: *rawhide-16k + +ark_16k_debug_merge_request: + extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] + variables: *rawhide-16k-debug + # Rawhide baselines ark_baseline: extends: [.baseline, .trigger_rawhide, .reported_tests, .ark_latest_head] @@ -174,6 +190,14 @@ ark_debug_baseline: extends: [.baseline, .trigger_rawhide, .reported_tests, .ark_latest_head] variables: *rawhide-up-debug
+ark_16k_baseline: + extends: [.baseline, .trigger_rawhide, .no_tests, .ark_latest_head] + variables: *rawhide-16k + +ark_16k_debug_baseline: + extends: [.baseline, .trigger_rawhide, .no_tests, .ark_latest_head] + variables: *rawhide-16k-debug + # ELN CI eln_merge_request: extends: [.merge_request, .trigger_eln, .no_tests, .srpm_for_bot]
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2647
From: Michael Hofmann mhofmann@redhat.com
kernel.spec: allow to enable arm64_16k variant
Signed-off-by: Michael Hofmann mhofmann@redhat.com
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -200,7 +200,7 @@ Summary: The Linux kernel # kernel-zfcpdump (s390 specific kernel for zfcpdump) %define with_zfcpdump %{?_without_zfcpdump: 0} %{?!_without_zfcpdump: 1} # kernel-16k (aarch64 kernel with 16K page_size) -%define with_arm64_16k %{?_without_arm64_16k: 0} %{?!_without_arm64_16k: 1} +%define with_arm64_16k %{?_with_arm64_16k: 1} %{?!_with_arm64_16k: 0} # kernel-64k (aarch64 kernel with 64K page_size) %define with_arm64_64k %{?_without_arm64_64k: 0} %{?!_without_arm64_64k: 1} # kernel-rt (x86_64 and aarch64 only PREEMPT_RT enabled kernel) @@ -307,9 +307,6 @@ Summary: The Linux kernel %define with_arm64_64k 0 %endif
-# No arm64-16k flavor for now -%define with_arm64_16k 0 - %if %{with_verbose} %define make_opts V=1 %else
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2647
From: Michael Hofmann mhofmann@redhat.com
kernel.spec: adjust build option comment
The comment was already wrong for realtime, which is disabled by default in Rawhide/ELN atm. With the arm64_16k variant, there are now two variants that are disabled by default.
Signed-off-by: Michael Hofmann mhofmann@redhat.com
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -187,9 +187,12 @@ Summary: The Linux kernel # should not be exported to RPM provides %global __provides_exclude_from ^%{_libexecdir}/kselftests
-# The following build options are enabled by default, but may become disabled -# by later architecture-specific checks. These can also be disabled by using -# --without <opt> in the rpmbuild command, or by forcing these values to 0. +# The following build options are (mostly) enabled by default, but may become +# enabled/disabled by later architecture-specific checks. +# Where disabled by default, they can be enabled by using --with <opt> in the +# rpmbuild command, or by forcing these values to 1. +# Where enabled by default, they can be disabled by using --without <opt> in +# the rpmbuild command, or by forcing these values to 0. # # standard kernel %define with_up %{?_without_up: 0} %{?!_without_up: 1}
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2647
kernel@lists.fedoraproject.org