[PATCH v3 3/6] ml: adjusting build metadata to reflect mainline

From: Håkon Bugge
Date: Wed May 22 2024 - 09:56:16 EST


From: Luci Bot <fajita@xxxxxxxxxx>

Updating defaults to reflect that this is a mainline build

Signed-off-by: Luci Bot <fajita@xxxxxxxxxx>
Reviewed-by: Mark Nicholson <mark.j.nicholson@xxxxxxxxxx>
---
ml-rpm/ol8/{kernel-uek.spec => kernel-mainline.spec} | 2 +-
ml-rpm/ol9/{kernel-uek.spec => kernel-mainline.spec} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename ml-rpm/ol8/{kernel-uek.spec => kernel-mainline.spec} (99%)
rename ml-rpm/ol9/{kernel-uek.spec => kernel-mainline.spec} (99%)

diff --git a/ml-rpm/ol8/kernel-uek.spec b/ml-rpm/ol8/kernel-mainline.spec
similarity index 99%
rename from ml-rpm/ol8/kernel-uek.spec
rename to ml-rpm/ol8/kernel-mainline.spec
index e9a4e07f43fe7..ed47eb0706a87 100644
--- a/ml-rpm/ol8/kernel-uek.spec
+++ b/ml-rpm/ol8/kernel-mainline.spec
@@ -388,7 +388,7 @@ Summary: Oracle Unbreakable Enterprise Kernel Release 8
%define kernel_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install
%define initrd_prereq dracut >= 027

-%define variant %{?build_variant:%{build_variant}}%{!?build_variant:-luci}
+%define variant %{?build_variant:%{build_variant}}%{!?build_variant:-mainline}

%define installonly_variant_name kernel%{?build_variant:%{build_variant}}%{!?build_variant:-luci}

diff --git a/ml-rpm/ol9/kernel-uek.spec b/ml-rpm/ol9/kernel-mainline.spec
similarity index 99%
rename from ml-rpm/ol9/kernel-uek.spec
rename to ml-rpm/ol9/kernel-mainline.spec
index 0b494c7cf567c..0eb7d20043ed0 100644
--- a/ml-rpm/ol9/kernel-uek.spec
+++ b/ml-rpm/ol9/kernel-mainline.spec
@@ -361,7 +361,7 @@ Summary: Oracle Unbreakable Enterprise Kernel Release 8
%define kernel_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install
%define initrd_prereq dracut >= 027

-%define variant %{?build_variant:%{build_variant}}%{!?build_variant:-luci}
+%define variant %{?build_variant:%{build_variant}}%{!?build_variant:-mainline}

%define installonly_variant_name kernel%{?build_variant:%{build_variant}}%{!?build_variant:-luci}

--
2.31.1