The issue is that 'abuild-apk' creates root-owned files in the workdir,
and they cannot be removed later without root privileges.
'abuild-apk' is called only with 2 commands (add --initdb, update),
and in the context of the script they don't seem to be requiring
root privileges, so I'm proposing to substitute the calls with 'apk'.
This will automatically resolve the issue mentioned above.
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@bell-sw.com>
create yaml even if file already exists. This solves the problem of yaml
entry disapearing from latest-release.yaml on a re-run. the yaml is
recreated so we need to recreate every yaml, not only for the images
that are rebuilt.
not enabled yet, but uncommenting the grub_mod should enable
building of isolinux+grubefi hybrid images. once uefi boot works
and is verified on aarch64, we can enable the vanilla iso image
(grsec does not support aarch64).
the boot repositry needs to be signed with a key. We explicitly copy
this to initramfs so users don't need use --hostkeys which requires
access to /etc/apk/keys/
without the key in intramfs the boot repository will be useless