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
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
2189cd1ef9
commit
950c88aab2
2 changed files with 14 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -52,9 +52,6 @@ defaults = {
|
|||
},
|
||||
},
|
||||
'pacman': {
|
||||
'additional_config': {
|
||||
'[archzfs]\nServer = http://archzfs.com/archzfs/x86_64',
|
||||
},
|
||||
'packages': {
|
||||
'zfs-linux-lts': {
|
||||
'needed_by': {
|
||||
|
|
Loading…
Reference in a new issue