I added Profiles=obs-repos to my mkosi.local.conf and the build broke with:
mkosi -B -f
‣ Running bump script /home/leo/git/particleos/mkosi.bump
‣ Bumping version: 'n/a' → '20260214201224'
‣ Copying in sandbox trees…
‣ Syncing package manager metadata
:: Synchronizing package databases...
system_systemd_Arch 6.8 KiB 103 KiB/s 00:00 [################################################] 100%
core 123.6 KiB 1585 KiB/s 00:00 [################################################] 100%
extra 7.9 MiB 11.1 MiB/s 00:01 [################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: system_systemd_Arch: key "713BF72732820778" is unknown
error: keyring is not writable
error: failed to synchronize all databases (unexpected error)
‣ "pacman --root=/buildroot --logfile=/dev/null --dbpath=/var/lib/pacman --cachedir=/var/cache/pacman/mkosi --cachedir=/var/cache/pacman/pkg --hookdir=/buildroot/etc/pacman.d/hooks --arch x86_64 --color auto --noconfirm --sync --refresh" returned non-zero exit code 1.
‣ (sandbox command omitted, rerun with --debug to see the full sandbox command.)
I think this is caused by mkosi commit , which moves pacman keyring initialization after database synchronization in mkosi/init.py.
mkosi.local.conf for reference:
[Distribution]
Distribution=arch
[Config]
Profiles=obs-repos
Profiles=desktop,kde,flathub
[Validation]
SecureBoot=no
SignExpectedPcr=no
I' m trying this on manjaro.
I added
Profiles=obs-reposto my mkosi.local.conf and the build broke with:I think this is caused by mkosi commit , which moves pacman keyring initialization after database synchronization in mkosi/init.py.
mkosi.local.conf for reference:
I' m trying this on manjaro.