diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-09-25 00:24:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-09-25 00:28:00 -0400 |
commit | 4136b2e3a6d3892298b188d677c834b0946c24ef (patch) | |
tree | bb99b60ac2d7d217dd2413f105c6ba9dd5514015 /systemd | |
parent | 1dff5a4284daed3b65722e008456a21b19e3960f (diff) |
Add a 'db-import-keyring' program
It is a bit similar in spirit to the old 'any-to-ours' program.
When db-import-pkg imports archlinux32-keyring, it is only released to
core-i686, but we need it to be available on all architectures.
Currently, this is a manual process.
So, add db-import-keyring which imports *only* the -keyring packages, and
releases them to [libre] on each architecture.
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/db-import-keyring.service | 11 | ||||
-rw-r--r-- | systemd/db-import-keyring.timer | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/systemd/db-import-keyring.service b/systemd/db-import-keyring.service new file mode 100644 index 0000000..96ec7bd --- /dev/null +++ b/systemd/db-import-keyring.service @@ -0,0 +1,11 @@ +[Unit] +Description=db-import-keyring +Wants=network-online.target +After=network-online.target + +[Service] +Type=oneshot +User=repo +ExecStart=/usr/bin/db-import-keyring + +PrivateTmp=true diff --git a/systemd/db-import-keyring.timer b/systemd/db-import-keyring.timer new file mode 100644 index 0000000..3818733 --- /dev/null +++ b/systemd/db-import-keyring.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Daily db-import-keyring + +[Timer] +OnCalendar=daily +Persistent=true + +[Install] +WantedBy=timers.target |