bundlewrap/bundles/pacman/items.py
Franziska Kunsmann b06532241b
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles: use metastack syntax for metadata.get()
2021-02-18 18:12:25 +01:00

19 lines
388 B
Python

assert node.os == 'arch'
# This is more targeted to GUI systems. This is intentional.
pkg_pacman = {
'fish': {},
'fwupd': {},
'dialog': {},
'linux': {},
'netctl': {},
'rfkill': {},
'tmux': {},
'vim': {},
'wpa_supplicant': {},
'wpa_actiond': {},
}
for pkg, config in node.metadata.get('pacman/packages', {}).items():
pkg_pacman[pkg] = config