- Add x86_64_v2 support

This commit is contained in:
eabdullin 2024-11-25 16:19:53 +03:00
parent 2b1b092dbc
commit e2a9b51c2e
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From ac5808bd2045da5fd0af937fb84755d75e155a92 Mon Sep 17 00:00:00 2001
From: soksanichenko <soksanichenko@almalinux.org>
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)

View File

@ -4,7 +4,7 @@
Name: lorax Name: lorax
Version: 40.5.6 Version: 40.5.6
Release: 1%{?dist} Release: 1%{?dist}.alma.1
Summary: Tool for creating the anaconda install images Summary: Tool for creating the anaconda install images
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -15,6 +15,9 @@ URL: https://github.com/weldr/lorax
# tito build --tgz # tito build --tgz
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
# AlmaLinux patches
Patch1000: 0001-Add-x86_64_v2-support.patch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: make BuildRequires: make
@ -182,6 +185,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%{_datadir}/lorax/templates.d/* %{_datadir}/lorax/templates.d/*
%changelog %changelog
* Mon Nov 25 2024 Eduard Abdullin <eabdullin@almalinux.org> 40.5.6-1.alma.1
- Add x86_64_v2 support
* Mon Aug 12 2024 Brian C. Lane <bcl@redhat.com> 40.5.6-1 * Mon Aug 12 2024 Brian C. Lane <bcl@redhat.com> 40.5.6-1
- New lorax documentation - 40.5.6 (bcl) - New lorax documentation - 40.5.6 (bcl)
Related: RHEL-48606 Related: RHEL-48606