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 = {
|
2021-05-23 10:24:00 +00:00
|
|
|
'at': {},
|
|
|
|
'autoconf': {},
|
|
|
|
'automake': {},
|
|
|
|
'binutils': {},
|
|
|
|
'bison': {},
|
|
|
|
'bzip2': {},
|
|
|
|
'curl': {},
|
2021-02-18 13:24:57 +00:00
|
|
|
'dialog': {},
|
2021-05-23 10:24:00 +00:00
|
|
|
'diffutils': {},
|
|
|
|
'fakeroot': {},
|
|
|
|
'file': {},
|
|
|
|
'findutils': {},
|
|
|
|
'flex': {},
|
|
|
|
'fwupd': {},
|
|
|
|
'gawk': {},
|
|
|
|
'gcc': {},
|
|
|
|
'gettext': {},
|
|
|
|
'git': {},
|
|
|
|
'gnu-netcat': {},
|
|
|
|
'grep': {},
|
|
|
|
'groff': {},
|
|
|
|
'gzip': {},
|
|
|
|
'ldns': {},
|
|
|
|
'less': {},
|
|
|
|
'libtool': {},
|
2021-02-18 13:24:57 +00:00
|
|
|
'linux': {},
|
2021-05-23 10:24:00 +00:00
|
|
|
'logrotate': {},
|
|
|
|
'lsof': {},
|
|
|
|
'm4': {},
|
|
|
|
'mailutils': {},
|
|
|
|
'make': {},
|
|
|
|
'moreutils': {},
|
|
|
|
'mtr': {},
|
|
|
|
'ncdu': {},
|
|
|
|
'nmap': {},
|
|
|
|
'patch': {},
|
|
|
|
'pkgconf': {},
|
|
|
|
'python': {},
|
|
|
|
'python-setuptools': {
|
|
|
|
'needed_by': {
|
|
|
|
'pkg_pip:',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'python-pip': {
|
|
|
|
'needed_by': {
|
|
|
|
'pkg_pip:',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'python-virtualenv': {},
|
|
|
|
'rsync': {},
|
|
|
|
'sed': {},
|
|
|
|
'tar': {},
|
|
|
|
'texinfo': {},
|
2021-02-18 13:24:57 +00:00
|
|
|
'tmux': {},
|
2021-05-23 10:24:00 +00:00
|
|
|
'tree': {},
|
|
|
|
'unzip': {},
|
2021-02-18 13:24:57 +00:00
|
|
|
'vim': {},
|
2021-05-23 10:24:00 +00:00
|
|
|
'wget': {},
|
|
|
|
'which': {},
|
|
|
|
'whois': {},
|
|
|
|
'zip': {},
|
2021-02-18 13:24:57 +00:00
|
|
|
}
|
|
|
|
|
2021-05-23 10:24:00 +00:00
|
|
|
if node.metadata.get('pacman/install_gui', False):
|
|
|
|
pkg_pacman = {
|
|
|
|
'fish': {},
|
|
|
|
'netctl': {},
|
|
|
|
'rfkill': {},
|
|
|
|
'wpa_supplicant': {},
|
|
|
|
'wpa_actiond': {},
|
|
|
|
'lm_sensors': {},
|
|
|
|
}
|
|
|
|
|
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
|