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]
|
[community]
|
||||||
Server = ${node.metadata.get('pacman/repository')}
|
Server = ${node.metadata.get('pacman/repository')}
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
% if node.metadata.get('pacman/enable_multilib', False):
|
% if node.metadata.get('pacman/enable_multilib', False):
|
||||||
|
|
||||||
[multilib]
|
[multilib]
|
||||||
Server = ${node.metadata.get('pacman/repository')}
|
Server = ${node.metadata.get('pacman/repository')}
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
% if node.metadata.get('pacman/enable_aurto', True):
|
% if node.metadata.get('pacman/enable_aurto', True):
|
||||||
|
|
||||||
[aurto]
|
[aurto]
|
||||||
Server = https://aurto.kunbox.net/
|
Server = https://aurto.kunbox.net/
|
||||||
SigLevel = Optional TrustAll
|
SigLevel = Optional TrustAll
|
||||||
% endif
|
% 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': {
|
'pacman': {
|
||||||
'additional_config': {
|
|
||||||
'[archzfs]\nServer = http://archzfs.com/archzfs/x86_64',
|
|
||||||
},
|
|
||||||
'packages': {
|
'packages': {
|
||||||
'zfs-linux-lts': {
|
'zfs-linux-lts': {
|
||||||
'needed_by': {
|
'needed_by': {
|
||||||
|
|
Loading…
Reference in a new issue