diskimage-builder Package grub-pc is not available error running on Fedora 25 AArch64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am running Fedora 25 on a 64-bit ARM (AArch64) host, and tried testing the latest (F26) version of diskimage-builder,
# cat /etc/redhat-release
Fedora release 25 (Twenty Five)
# rpm -q diskimage-builder
diskimage-
but I encountered an error with the following command:
# disk-image-create -a arm64 -o test.qcow2 vm ubuntu
:
+ install-packages -m bootloader grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub-pc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub2-common grub-common
E: Package 'grub-pc' has no installation candidate
Note: running the same command without the "vm" element successfully creates an image:
# disk-image-create -a arm64 -o test.qcow2 ubuntu
:
Converting image using qemu-img convert
Image file test.qcow2 created...
# ls -l test.qcow2
-rw-r--r--. 1 root root 418840576 Jan 11 16:36 test.qcow2
That image wouldn't be bootable i'm guessing.
in bootloader/ finalise. d/50-bootloader we have a branch for ppc to install their grub; arm presumably requires it's own bootloader setup and no installing "grub-pc"
---
install- packages grub-ieee1275
install- packages -m bootloader grub-pc
elif [[ "$ARCH" =~ "ppc" ]]; then
else
fi
---
I'm afraid i'm really not familiar enough with the architecture to know what it needs here. but i'm sure people have been doing aarch builds; but maybe not with VM targets?