Drop 0006-Add-sphere-licenses-to-live-media.patch

i10-beta changed/i10-beta/lorax-templates-msvsphere-10.0-52.el10.2
Arkady L. Shane 2 weeks ago
parent 3530f6fe28
commit fb9d9ee2d1
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,39 +0,0 @@
From 90b15f518e2d75d1503f94a1cc2a7c9166e681fe Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Sat, 30 Sep 2023 16:42:23 +0300
Subject: [PATCH 6/8] Add sphere licenses to live media
---
80-rhel/live/aarch64.tmpl | 2 +-
80-rhel/live/x86.tmpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/80-rhel/live/aarch64.tmpl b/80-rhel/live/aarch64.tmpl
index f8bb655..2f1f9ee 100644
--- a/80-rhel/live/aarch64.tmpl
+++ b/80-rhel/live/aarch64.tmpl
@@ -77,7 +77,7 @@ mkdir ${KERNELDIR}
%endfor
# Add the license files
-%for f in glob("usr/share/licenses/*-release-common/*"):
+%for f in glob("/usr/share/sphere-release/EULA"):
install ${f} ${f|basename}
<% filegraft += " {0}={1}/{0}".format(basename(f), outroot) %>
%endfor
diff --git a/80-rhel/live/x86.tmpl b/80-rhel/live/x86.tmpl
index 82a9ca0..9929c7f 100644
--- a/80-rhel/live/x86.tmpl
+++ b/80-rhel/live/x86.tmpl
@@ -90,7 +90,7 @@ replace @EXTRA@ '${extra_boot_args}' ${GRUB2DIR}/grub.cfg
%endfor
# Add the license files
-%for f in glob("usr/share/licenses/*-release-common/*"):
+%for f in glob("/usr/share/sphere-release/EULA"):
install ${f} ${f|basename}
<% filegraft += " {0}={1}/{0}".format(basename(f), outroot) %>
%endfor
--
2.47.1

@ -18,7 +18,6 @@ Patch1002: 0002-Translate-installation-image-bootloader-to-Russian.patch
Patch1003: 0003-Translate-live-image-bootloader-to-Russian.patch
Patch1004: 0004-Disable-geo-location.patch
Patch1005: 0005-Update-title-color.patch
Patch1006: 0006-Add-sphere-licenses-to-live-media.patch
Patch1007: 0007-Force-Russian-language-during-installation.patch
Patch1008: 0008-Set-latarcyrheb-sun16-as-default-font-instead-of-eur.patch

Loading…
Cancel
Save