Grub2 package cannot be found on aarch64

Bug #1789414 reported by Harry Kominos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Undecided
Harry Kominos

Bug Description

When attempting to build aarch64 (not armv8 naming) Centos images with DIB, the grub2 packages cannot be found

I believe that the reason is

https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/bootloader/finalise.d/50-bootloader#n68

which requests aarch64 but

https://git.openstack.org/cgit/openstack/diskimage-builder/tree/diskimage_builder/elements/bootloader/pkg-map does not specify anything for aarch64.

Adding:

"grub-efi-aarch64": "grub2-tools grub2-efi grub2-efi-modules"

Solves the issue for that architecture

Harry Kominos (hkominos)
description: updated
Harry Kominos (hkominos)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/598595

Changed in diskimage-builder:
assignee: nobody → Harry Kominos (hkominos)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/598595
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=c85141291ec33d0714b311f7c8b6b672fadfb6b2
Submitter: Zuul
Branch: master

commit c85141291ec33d0714b311f7c8b6b672fadfb6b2
Author: Charalampos Kominos <email address hidden>
Date: Fri Aug 31 12:49:36 2018 +0200

    Fix bootloader packages for aarch64

    Due to the arm naming convention, building centos images for arm64 and
    aarch64 does not yield the same result. In order to locate grub2 on
    aarch64 the correct mapping is added.

    Change-Id: I1bb227b2523e420e394fec8c52c6c79fcdd31c53
    Closes-Bug:#1789414
    Signed-off-by: Charalampos Kominos <email address hidden>

Changed in diskimage-builder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.