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 add87bf..cc52860 100644 --- a/SPECS/lorax-templates-rhel.spec +++ b/SPECS/lorax-templates-rhel.spec @@ -8,6 +8,8 @@ URL: https://github.com/weldr/lorax BuildArch: noarch Source0: lorax-templates-rhel-8.3-2.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