Copy only EULA on live

i9 changed/i9/lorax-templates-msvsphere-9.0-37.el9.10
Arkady L. Shane 1 year ago
parent d27e582805
commit a28e335118
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -1,4 +1,4 @@
From a988cc8516ba2179a0780f3158ac17263f7ce828 Mon Sep 17 00:00:00 2001
From b8f496cf30e61c650fb416df9fb140b8148500fe Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Sat, 30 Sep 2023 16:42:23 +0300
Subject: [PATCH 7/7] Add sphere licenses to live media
@ -8,7 +8,7 @@ Subject: [PATCH 7/7] Add sphere licenses to live media
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/80-rhel/live/x86.tmpl b/80-rhel/live/x86.tmpl
index 6e10da4..8a1ee4c 100644
index 6e10da4..0b92fd6 100644
--- a/80-rhel/live/x86.tmpl
+++ b/80-rhel/live/x86.tmpl
@@ -136,7 +136,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
@ -16,7 +16,7 @@ index 6e10da4..8a1ee4c 100644
# Add the license files
-%for f in glob("/usr/share/licenses/*-release/*"):
+%for f in glob("/usr/share/sphere-release/*"):
+%for f in glob("/usr/share/sphere-release/EULA"):
install ${f} ${f|basename}
<% filegraft += " {0}={1}/{0}".format(basename(f), outroot) %>
%endfor

@ -1,6 +1,6 @@
Name: lorax-templates-msvsphere
Version: 9.0
Release: 37%{?dist}.9
Release: 37%{?dist}.10
Summary: MSVSphere 9 build templates for lorax and livemedia-creator
License: GPLv2+
@ -54,6 +54,9 @@ install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{templatedir}/live/config_files/x86/
%{templatedir}/*
%changelog
* Mon Oct 30 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.0-37.10
- Copy only EULA on live
* Sat Sep 30 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.0-37.9
- Added sphere licenses to live media

Loading…
Cancel
Save