[lorax] only ix86/x86_64 and ppc/ppc64 need grub2

Vratislav Podzimek vpodzime at redhat.com
Thu Dec 6 08:10:00 UTC 2012


On Wed, 2012-12-05 at 17:00 +0100, Dan HorĂ¡k wrote:
> AFAIK grub2 is used only ix86/x86_64 and ppc/pcc64 arches. This will silence
> the error thrown on arches where the package doesn't exist.
> ---
>  share/runtime-install.tmpl |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
> index e9e3da3..6fe5768 100644
> --- a/share/runtime-install.tmpl
> +++ b/share/runtime-install.tmpl
> @@ -12,7 +12,6 @@ installpkg pigz
>  
>  ## firstaidkit (rescue mode) packages
>  installpkg firstaidkit-plugin-{passwd,key-recovery,mdadm-conf}
> -installpkg grub2 grub2-tools
>  
>  ## kernel and firmware
>  installpkg kernel
> @@ -30,10 +29,10 @@ installpkg kernel
>      installpkg kernel-PAE gpart
>  %endif
>  %if basearch in ("i386", "x86_64"):
> -    installpkg shim grub2-efi efibootmgr biosdevname memtest86+
> +    installpkg grub2 grub2-tools shim grub2-efi efibootmgr biosdevname memtest86+
>  %endif
>  %if basearch in ("ppc", "ppc64"):
> -    installpkg yaboot fbset hfsutils kernel-bootwrapper ppc64-utils
> +    installpkg grub2 grub2-tools yaboot fbset hfsutils kernel-bootwrapper ppc64-utils
>  %endif
>  %if basearch == "s390x":
>      installpkg lsscsi modutils mount s390utils-base s390utils-cmsfs-fuse
Both patches look good to me. Do you have permissions to push them, or
shall I do it?

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list