[arch-releng] [PATCH 2/5] [configs/releng] Add pacman-init.service
Dave Reisner
d at falconindy.com
Sun Aug 19 00:11:40 EDT 2012
On Sun, Aug 19, 2012 at 12:57:17AM -0300, Gerardo Exequiel Pozzi wrote:
> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at 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
There should be an 'After=haveged.service' here as well
> +
> +[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
>
More information about the arch-releng
mailing list