archiso/configs
nl6720 de8923f8b2
Remove pacman-init.service from releng
pacman-init.service causes more problems than it's worth.

Due to archlinux-keyring bloat, it takes too long to finish making it possible to corrupt the keyring if pacman or pacstrap is used before pacman-init.service is done.

If the timezone is in UTC+X, gpg as run by pacman-key will create and sign the keys with a future timestamp causing issues when updating the pacman keyring.

The solutions were to either:

* Automate more. Enable systemd-timesyncd.service and systemd-time-wait-sync.service. Order pacman-init.service after time-sync.target.
* Automate less. Get rid of pacman-init.service entirely.

"Automating more" just means more automagic that makes the releng profile differ from a newly installed system. Which in turn gives false expectations for those installing Arch.

This change will require that users manually initialize the pacman keyring and populate the keys in the live environment. I.e. these commands will now need to be run manually:

    # pacman-key --init
    # pacman-key --populate

Alternatively, using the latest Arch Linux keyring from the repos:

    # pacman-key --init
    # pacman -Sy archlinux-keyring

Regardless of the chosen commands, they should be run after the system time is synced via NTP.

Fixes #190
Fixes #191
2022-09-10 14:47:42 +03:00
..
baseline configs/*/grub/grub.cfg: enable serial input and output 2022-06-26 13:16:29 +03:00
releng Remove pacman-init.service from releng 2022-09-10 14:47:42 +03:00