[arch-releng] [PATCH 1/5] [configs/releng] Add pacman-init.service

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Sep 12 19:32:20 EDT 2012


On 09/12/2012 04:10 AM, 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 +++++++++++++
>   .../releng/root-image/usr/lib/tmpfiles.d/pacman-init.conf   |  2 ++
>   2 files changed, 15 insertions(+)
>   create mode 100644 configs/releng/root-image/usr/lib/systemd/system/pacman-init.service
>   create mode 100644 configs/releng/root-image/usr/lib/tmpfiles.d/pacman-init.conf
>
> 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..2154476
> --- /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
> +After=haveged.service
> +
> +[Service]
> +Type=oneshot
> +RemainAfterExit=yes
> +ExecStart=/usr/bin/pacman-key --init
> +ExecStart=/usr/bin/pacman-key --populate archlinux
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/configs/releng/root-image/usr/lib/tmpfiles.d/pacman-init.conf b/configs/releng/root-image/usr/lib/tmpfiles.d/pacman-init.conf
> new file mode 100644
> index 0000000..8f3d6c9
> --- /dev/null
> +++ b/configs/releng/root-image/usr/lib/tmpfiles.d/pacman-init.conf
> @@ -0,0 +1,2 @@
> +d /run/pacman.d/gnupg - - - - -
> +L /etc/pacman.d/gnupg - - - - /run/pacman.d/gnupg
Moved respetively to /etc.

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list