2021-04-02 16:57:13 +00:00
|
|
|
from bundlewrap.exceptions import BundleError
|
|
|
|
|
|
|
|
if not node.os == 'arch':
|
|
|
|
raise BundleError(f'{node.name}: bundle:pacman requires arch linux')
|
2021-02-18 13:24:57 +00:00
|
|
|
|
|
|
|
# This is more targeted to GUI systems. This is intentional.
|
|
|
|
|
|
|
|
pkg_pacman = {
|
|
|
|
'fish': {},
|
|
|
|
'fwupd': {},
|
|
|
|
'dialog': {},
|
|
|
|
'linux': {},
|
|
|
|
'netctl': {},
|
|
|
|
'rfkill': {},
|
|
|
|
'tmux': {},
|
|
|
|
'vim': {},
|
|
|
|
'wpa_supplicant': {},
|
|
|
|
'wpa_actiond': {},
|
2021-05-19 16:46:22 +00:00
|
|
|
'lm_sensors': {},
|
2021-02-18 13:24:57 +00:00
|
|
|
}
|
|
|
|
|
2021-02-18 17:12:25 +00:00
|
|
|
for pkg, config in node.metadata.get('pacman/packages', {}).items():
|
2021-02-18 13:24:57 +00:00
|
|
|
pkg_pacman[pkg] = config
|