Add x86_64_v2 support
This commit is contained in:
parent
2e5a18d6c9
commit
09aad953b7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
lorax-40.5.7
|
||||
/lorax-19.0.tar.gz
|
||||
/lorax-19.1.tar.gz
|
||||
/lorax-19.2.tar.gz
|
||||
|
23
0001-Add-x86_64_v2-support.patch
Normal file
23
0001-Add-x86_64_v2-support.patch
Normal 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)
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name: lorax
|
||||
Version: 40.5.7
|
||||
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
|
||||
* Fri Sep 13 2024 Eduard Abdullin <eabdullin@almalinux.org> 40.5.7-1.alma.1
|
||||
- Add x86_64_v2 support
|
||||
|
||||
* Tue Sep 10 2024 Brian C. Lane <bcl@redhat.com> 40.5.7-1
|
||||
- templates: Sync template changes from lorax-templates-rhel (bcl)
|
||||
Resolves: RHEL-54713
|
||||
|
Loading…
Reference in New Issue
Block a user