mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-09-21 15:20:53 +08:00
18 lines
525 B
YAML
18 lines
525 B
YAML
|
filesystem:
|
||
|
files:
|
||
|
- path: /etc/systemd/system/pacman-init.service
|
||
|
content: |
|
||
|
[Unit]
|
||
|
Description=Initializes Pacman keyring
|
||
|
Requires=etc-pacman.d-gnupg.mount
|
||
|
After=etc-pacman.d-gnupg.mount time-sync.target
|
||
|
BindsTo=etc-pacman.d-gnupg.mount
|
||
|
Before=archlinux-keyring-wkd-sync.service
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/usr/bin/pacman-key --init
|
||
|
ExecStart=/usr/bin/pacman-key --populate
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|