Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- .../root-image/usr/lib/systemd/system/pacman-init.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 configs/releng/root-image/usr/lib/systemd/system/pacman-init.service diff --git a/configs/releng/root-image/usr/lib/systemd/system/pacman-init.service b/configs/releng/root-image/usr/lib/systemd/system/pacman-init.service new file mode 100644 index 0000000..58a9271 --- /dev/null +++ b/configs/releng/root-image/usr/lib/systemd/system/pacman-init.service @@ -0,0 +1,13 @@ +[Unit] +Description=Initializes Pacman keyring +Wants=haveged.service + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/pacman-key --init +ExecStart=/usr/bin/pacman-key --populate archlinux +ExecStop=/bin/rm -rf /etc/pacman.d/gnupg + +[Install] +WantedBy=multi-user.target -- 1.7.11.5