You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lorax-templates-rhel/SOURCES/0007-Add-sphere-licenses-to...

26 lines
752 B

From deda2347d8070c033c14e707f238b1bd48c6de96 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Fri, 22 Dec 2023 16:48:22 +0300
Subject: [PATCH 7/7] Add sphere licenses to live media
---
80-rhel/live/x86.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/80-rhel/live/x86.tmpl b/80-rhel/live/x86.tmpl
index 65ed6a3..43cb004 100644
--- a/80-rhel/live/x86.tmpl
+++ b/80-rhel/live/x86.tmpl
@@ -138,7 +138,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
%endfor
# Add the license files
-%for f in glob("/usr/share/licenses/*-release/*"):
+%for f in glob("/usr/share/sphere-release/EULA"):
install ${f} ${f|basename}
<% filegraft += " {0}={1}/{0}".format(basename(f), outroot) %>
%endfor
--
2.43.0