From e2a9b51c2edd537758d8116125f6e20f8bd3ea58 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 25 Nov 2024 16:19:53 +0300 Subject: [PATCH] - Add x86_64_v2 support --- 0001-Add-x86_64_v2-support.patch | 23 +++++++++++++++++++++++ lorax.spec | 8 +++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-Add-x86_64_v2-support.patch diff --git a/0001-Add-x86_64_v2-support.patch b/0001-Add-x86_64_v2-support.patch new file mode 100644 index 0000000..4782bf2 --- /dev/null +++ b/0001-Add-x86_64_v2-support.patch @@ -0,0 +1,23 @@ +From ac5808bd2045da5fd0af937fb84755d75e155a92 Mon Sep 17 00:00:00 2001 +From: soksanichenko +Date: Fri, 13 Sep 2024 09:24:59 +0300 +Subject: [PATCH] Add x86_64_v2 support + +--- + src/pylorax/treebuilder.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py +index 2c6b5d8..47f8747 100644 +--- a/src/pylorax/treebuilder.py ++++ b/src/pylorax/treebuilder.py +@@ -36,6 +36,7 @@ from pylorax.executils import runcmd, runcmd_output, execWithCapture + + templatemap = { + 'x86_64': 'x86.tmpl', ++ 'x86_64_v2': 'x86_v2.tmpl', + 'ppc64le': 'ppc64le.tmpl', + 's390x': 's390.tmpl', + 'aarch64': 'aarch64.tmpl', +-- +2.39.3 (Apple Git-146) diff --git a/lorax.spec b/lorax.spec index 9dc382f..445ca73 100644 --- a/lorax.spec +++ b/lorax.spec @@ -4,7 +4,7 @@ Name: lorax Version: 40.5.6 -Release: 1%{?dist} +Release: 1%{?dist}.alma.1 Summary: Tool for creating the anaconda install images License: GPL-2.0-or-later @@ -15,6 +15,9 @@ URL: https://github.com/weldr/lorax # tito build --tgz Source0: %{name}-%{version}.tar.gz +# AlmaLinux patches +Patch1000: 0001-Add-x86_64_v2-support.patch + BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: make @@ -182,6 +185,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install %{_datadir}/lorax/templates.d/* %changelog +* Mon Nov 25 2024 Eduard Abdullin 40.5.6-1.alma.1 +- Add x86_64_v2 support + * Mon Aug 12 2024 Brian C. Lane 40.5.6-1 - New lorax documentation - 40.5.6 (bcl) Related: RHEL-48606