Initial import for AlmaLinux 9.0 beta

This commit is contained in:
Andrew Lukoshko 2022-03-11 15:53:46 +00:00
commit 9bf827d680
3 changed files with 44 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/lorax-templates-rhel-9.0-33.tar.gz

View File

@ -0,0 +1 @@
98cc5aefbb19b3e7f3dfa90c2af91e36bcedeea9 SOURCES/lorax-templates-rhel-9.0-33.tar.gz

View File

@ -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 <alukoshko@almalinux.org> - 9.0-33
- Initial build for AlmaLinux 9.0 beta