From 9bf827d6802b083675e2f892b54962f0607975fa Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Fri, 11 Mar 2022 15:53:46 +0000 Subject: [PATCH] Initial import for AlmaLinux 9.0 beta --- .gitignore | 1 + .lorax-templates-almalinux.metadata | 1 + SPECS/lorax-templates-almalinux.spec | 42 ++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 .lorax-templates-almalinux.metadata create mode 100644 SPECS/lorax-templates-almalinux.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f017d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lorax-templates-rhel-9.0-33.tar.gz diff --git a/.lorax-templates-almalinux.metadata b/.lorax-templates-almalinux.metadata new file mode 100644 index 0000000..699d389 --- /dev/null +++ b/.lorax-templates-almalinux.metadata @@ -0,0 +1 @@ +98cc5aefbb19b3e7f3dfa90c2af91e36bcedeea9 SOURCES/lorax-templates-rhel-9.0-33.tar.gz diff --git a/SPECS/lorax-templates-almalinux.spec b/SPECS/lorax-templates-almalinux.spec new file mode 100644 index 0000000..d33f659 --- /dev/null +++ b/SPECS/lorax-templates-almalinux.spec @@ -0,0 +1,42 @@ +Name: lorax-templates-almalinux +Version: 9.0 +Release: 33%{?dist} +Summary: AlmaLinux 8 build templates for lorax and livemedia-creator + +License: GPLv2+ +URL: https://github.com/weldr/lorax +BuildArch: noarch +Source0: lorax-templates-rhel-9.0-33.tar.gz + +# Required for the template branding support +Requires: lorax >= 34.9.1 + +# Where are these supposed to end up? +%define templatedir %{_datadir}/lorax/templates.d/70-almalinux + +%description +RHEL-specific Lorax templates for creating the boot.iso and live isos are +placed in %{templatedir} + +%prep +%setup -n lorax-templates-rhel-%{version} + +# Do not try to install packages not available in AlmaLinux +sed -i '/libreport-rhel-anaconda-bugzilla/d' 80-rhel/runtime-install.tmpl +sed -i '/redhat-release-eula/d' 80-rhel/runtime-install.tmpl + +%build +# nothing to build + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{templatedir} +cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir} + +%files +%dir %{templatedir} +%{templatedir}/* + +%changelog +* Fri Mar 11 2022 Andrew Lukoshko - 9.0-33 +- Initial build for AlmaLinux 9.0 beta