diff --git a/SOURCES/CENTOS-add-armhfp-pkgs.patch b/SOURCES/CENTOS-add-armhfp-pkgs.patch new file mode 100644 index 0000000..f701ee5 --- /dev/null +++ b/SOURCES/CENTOS-add-armhfp-pkgs.patch @@ -0,0 +1,17 @@ +diff -uNr lorax-templates-rhel-8.1.orig/80-rhel/runtime-install.tmpl lorax-templates-rhel-8.1/80-rhel/runtime-install.tmpl +--- lorax-templates-rhel-8.1.orig/80-rhel/runtime-install.tmpl 2019-09-03 12:46:28.000000000 -0500 ++++ lorax-templates-rhel-8.1/80-rhel/runtime-install.tmpl 2019-12-31 12:06:13.556087038 -0600 +@@ -34,6 +34,13 @@ + %if basearch == "aarch64": + installpkg efibootmgr grub2-efi-aa64-cdboot grubby shim-aa64 + %endif ++%if basearch in ("arm", "armhfp"): ++ installpkg efibootmgr ++ installpkg grub2-efi-arm-cdboot ++ installpkg grubby-deprecated ++ installpkg kernel-lpae ++ installpkg uboot-tools ++%endif + %if basearch == "x86_64": + installpkg grub2-tools-efi + installpkg efibootmgr diff --git a/SPECS/lorax-templates-rhel.spec b/SPECS/lorax-templates-rhel.spec index c68f707..ed8ed31 100644 --- a/SPECS/lorax-templates-rhel.spec +++ b/SPECS/lorax-templates-rhel.spec @@ -1,6 +1,6 @@ Name: lorax-templates-rhel Version: 8.1 -Release: 3%{?dist} +Release: 3%{?dist}.0.1 Summary: RHEL8 build templates for lorax and livemedia-creator License: GPLv2+ @@ -8,6 +8,8 @@ URL: https://github.com/weldr/lorax BuildArch: noarch Source0: lorax-templates-rhel-8.1-3.tar.gz +Patch1: CENTOS-add-armhfp-pkgs.patch + # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-rhel @@ -17,6 +19,7 @@ placed in %{templatedir} %prep %setup +%patch1 -p1 %build # nothing to build @@ -31,6 +34,9 @@ cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Tue Dec 31 2019 bstinson@centosproject.org - 8.1-3.0.1 +- Add runtime-install packages for armhfp in CentOS + * Tue Sep 03 2019 Brian C. Lane - 8.1-3 - Fix path to generic.prm (bcl) Resolves: rhbz#1746424