On Wed, Apr 27, 2016 at 1:18 PM, Chanho Park <parkch98(a)gmail.com> wrote:
Hi all,
I want to use the armhf fedora rootfs on the aarch64 bit kernel.
You can't, it's not a use case we support.
When I ran the dnf command on the armhf image with aarch64 kernel,
the
dnf command was failed with below error.
dnf -v install mesa
cachedir: /var/cache/dnf
DNF version: 1.1.6
Failed to synchronize cache for repo 'rpmfusion-free-updates' from
'http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=aarch64':
Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling.
repo: using cache for: fedora
not found updateinfo for: Fedora 22 - aarch64
repo: using cache for: updates
not found deltainfo for: Fedora 22 - aarch64 - Updates
not found updateinfo for: Fedora 22 - aarch64 - Updates
Actually, armhf binaries/rootfs can be executed even aarch64
kernel(fully compatible with armhf).
Maybe the dnf command tries to find its repo from uname call.
$ uname -m
aarch64
The rpm install was also failed because fedora doesn't have any rpm
platform file
So, I added below file. It is able to install armhf rpm file even
aarch64 kernel.
cat /etc/rpm/platform
armv7hl-fedora-linux-gnu
The question is 'how can I run 'dnf' command on armhf fedora with
aarch64 kernel?'
No, the ARMv7 and aarch64 ABI aren't compatible, the only way we
support ARMv7 on aarch64 is via virtualisation. We will not be
supporting this or a "multilib" usecase.
Peter