Build ISOs in CI with the correct mkinitcpio hooks/scripts
archiso/initcpio/ should be used when building the the ISO in GitLab CI.
It doesn't matter much for now, but it will become relevant when the built ISO will be tested/used.
Based on the instructions from archiso-git:
- Use a custom
PKGBUILD
, to createmkinitcpio-archiso
from archiso/initcpio/, - Setup a custom local repo and add the built package to it,
- Add the repo as the first repo in
configs/*/pacman.conf
.
This could also be solved by implementing #47 (closed). Then initcpio stuff can be tested separately from mkarchiso, but that won't allow testing improvements that require changes to both.