bundles/pacman: install archzfs repo and archzfs-kernels repo if node has bundle:zfs
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2022-03-23 19:19:21 +01:00
parent 2189cd1ef9
commit 950c88aab2
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 14 additions and 5 deletions

View file

@ -30,15 +30,27 @@ Include = /etc/pacman.d/mirrorlist
[community]
Server = ${node.metadata.get('pacman/repository')}
Include = /etc/pacman.d/mirrorlist
% if node.metadata.get('pacman/enable_multilib', False):
[multilib]
Server = ${node.metadata.get('pacman/repository')}
Include = /etc/pacman.d/mirrorlist
% endif
% if node.metadata.get('pacman/enable_aurto', True):
[aurto]
Server = https://aurto.kunbox.net/
SigLevel = Optional TrustAll
% endif
% if node.has_bundle('zfs'):
[archzfs]
Server = http://archzfs.com/archzfs/x86_64
[archzfs-kernels]
% if node.metadata.get('pacman/linux-lts', False):
Server = http://kernels.archzfs.com/zfs-linux-lts/
% else:
Server = http://kernels.archzfs.com/zfs-linux/
% endif
% endif

View file

@ -52,9 +52,6 @@ defaults = {
},
},
'pacman': {
'additional_config': {
'[archzfs]\nServer = http://archzfs.com/archzfs/x86_64',
},
'packages': {
'zfs-linux-lts': {
'needed_by': {