1
0
Commit Graph

9 Commits

Author SHA1 Message Date
Neal Gompa
57d9815a48 Drop copying qemu binaries and ensure qemu-user is configured on host
Since Mageia 6, it has not been necessary to copy the qemu binaries
and the binfmt files into the chroot to run ARM binaries inside a chroot.
This change finally stops doing that.

In order to make sure this works properly, we ensure that systemd-binfmt
is restarted to apply binfmt changes on the system. This ensures that
the host qemu-user-static is configured to execute binaries, even in
chroots.
2020-01-11 13:49:16 -05:00
Neal Gompa
036dc79d99 Small fixes to get basesystem chroot working 2020-01-05 19:33:28 -05:00
Neal Gompa
2bef753269 Install distribution-gpg-keys if it is not already installed
We need distribution-gpg-keys to provide us the Mageia GPG key file
in the distribution-agnostic location. As this package is available
on virtually every distribution that also has DNF, it's easily relied
upon.
2020-01-05 16:32:41 -05:00
Daniel Tartavel
c5531c36c3 reactivated test of root user 2020-01-05 21:54:31 +01:00
Neal Gompa
3d71025331 Install u-boot only on armv7hl systems
U-Boot is not available for AArch64, so this causes basesystem setup
to fail when producing AArch64 images.
2020-01-05 14:11:26 -05:00
Jybz
86a52fa755 rpi3b+64b 2020-01-05 14:11:26 -05:00
Neal Gompa
e52a9a4871 Add my attribution to the script 2020-01-05 14:04:03 -05:00
Neal Gompa
9d2fe5306d Use self-contained config file for DNF with repos defined
With self-contained configuration, the repository definitions
will be predictable based on the target architecture and avoid
leaking anything from the host.
2020-01-05 14:04:03 -05:00
Neal Gompa
b4da22f2cf Initial conversion to use DNF
This change makes it so that the ARM image creation script uses DNF
instead of urpmi. This affords several advantages:

1. Mageia images can be created from non-Mageia systems
2. Mageia images can be created from within Mock
3. ARM images can be created from x86_64 hosts
4. Image building can rely on pre-installed repo configurations

This also brings us in line with the Docker image creation process,
which also uses DNF.
2020-01-04 18:06:54 -05:00