1
0
Commit Graph

264 Commits

Author SHA1 Message Date
Neal Gompa
5b42a8d15b Work around issues with filesystem package by preparing chroot skeleton
There are issues with the filesystem package in Mageia that lead to
unpredictable setup for the filesystem hierarchy when setting up
chroots. In order to work around this problem, let's create some
of the basic paths ourselves while we wait for the issue to be fixed.

Reference: https://bugs.mageia.org/show_bug.cgi?id=26044
2020-01-12 04:17:25 -05:00
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
DTux
ba52a77532 Merge branch 'disable-deltastuff' of ngompa/mageia4arm into master 2020-01-08 20:42:45 +00:00
Neal Gompa
04bd2398e4 Disable fetching DeltaRPMs as a preventative measure
While Mageia does not yet produce DeltaRPMs, it would never make
sense to fetch them for building ARM images, so we just turn it off
pre-emptively to simplify things for the future.
2020-01-06 21:39:26 -05:00
Neal Gompa
09d1218e22 Disable zchunk by default to make repodata fetching more reliable
Some mirrors have issues with ranged fetching of files, which is a
critical aspect of fetching zchunk-based repodata. In order to
to improve the reliability of fetching repodata and packages, disable
this.
2020-01-06 21:36:17 -05:00
DTux
1b345f3cb2 Merge branch 'misc-bootstrap-fixes' of ngompa/mageia4arm into master 2020-01-06 21:03:07 +00: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
DTux
895688d085 Merge branch 'use-local-dnf-config' of ngompa/mageia4arm into master 2020-01-05 20:01:42 +00: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
58f1fc7975 Fixed bananaPro extlinux.conf file 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
b59ebbab15 Use the correct license file for the sources
The source code seems to be actually licensed GPLv2+, so
let's include the correct license file.
2020-01-05 11:18:48 -05:00
DTux
df81adfaa2 Merge branch 'dnfify' of ngompa/mageia4arm into master 2020-01-05 13:05:14 +00: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
Jybz
3c6be8d7ad Reparation build Rpi (2)+ essais Rpi3b+ 64bits 2020-01-04 08:53:36 +01:00
Jybz
16ffe5ff5c Reparation build Rpi + essais Rpi3b+ 64bits 2020-01-04 08:52:48 +01:00
DTux
415110895e Merge branch 'master' of Jybz/mageia4arm into master 2020-01-03 15:19:15 +00:00
Jybz
c9dbaadba7 Fix : no user password, no banana user. 2020-01-03 14:47:37 +01:00
Jybz
e05e98f7ea Fix : no user password. 2020-01-03 14:47:14 +01:00
Jybz
04ed6b37ee Fix no root password 2020-01-03 12:22:57 +01:00
Jybz
c6433201a4 Automatically set root password and user prior configuration. 2020-01-03 11:53:36 +01:00
DTux
2c8c706aca Merge branch 'master' of Jybz/mageia4arm into master 2020-01-02 11:49:15 +00:00
Jybz
4bb68f6702 Fixe readme filename 2019-12-30 13:46:11 +01:00
Jybz
07dc125b43 fix readme 2019-12-30 13:17:44 +01:00
Jybz
2502564de3 suppression useless log de build 2019-12-30 12:13:52 +00:00
Jybz
4c91542775 Fixed extlinux for BananaPro, add initrd for root=UUID. 2019-12-30 13:12:45 +01:00
Jybz
68db69c9bf Improve extlinux.conf doc and process. 2019-12-30 11:03:16 +01:00
DTux
b15108a01f Merge branch 'master' of Jybz/mageia4arm into master 2019-12-20 08:20:22 +00:00
Jybz
1a545d74b3 Clean build process for BananaPro 2019-12-19 20:01:36 +01:00
Jybz
d69cbea692 MAJ readme.md 2 2019-12-19 20:00:17 +01:00
Jybz
82b0c397f8 MAJ README.md 2019-12-19 19:57:34 +01:00
DTux
d584de049e Merge branch 'master' of Jybz/mageia4arm into master 2019-12-15 22:16:00 +00:00
Jybz
756d128e4c BananaPro use kernel from repo update and not from testing 2019-12-14 19:35:13 +01:00
Jybz
13106b7bdb fixe courriel 2019-12-06 14:09:39 +01:00
Jybz
f3a98a1407 add ® 2019-12-06 14:07:56 +01:00
DTux
efe8057ee0 Merge branch 'master' of Jybz/mageia4arm into master 2019-12-06 12:35:40 +00:00
Jybz
b314f24a5e add gitignore /log 2019-12-05 10:57:01 +01:00
Jybz
be97663762 Merge branch 'master' of ssh://git.labolyon.fr/Jybz/mageia4arm 2019-12-05 10:53:27 +01:00
Jybz
7759ecc296 debug ${INSTALL_PATH} 2019-12-05 10:52:26 +01:00
Jybz
71d227811f delete 2019-12-05 08:27:28 +00:00
Jybz
d01df2ee8b delete 2019-12-05 08:27:24 +00:00
Jybz
0e3f2e6252 delete 2019-12-05 08:27:20 +00:00
Jybz
942364551a delete 2019-12-05 08:27:17 +00:00
Jybz
2a00f0fe4b delete 2019-12-05 08:27:14 +00:00
Jybz
fe88b87bda delete 2019-12-05 08:27:10 +00:00
Jybz
da84ed6b7e delete 2019-12-05 08:27:06 +00:00