bundles/apt: symlink /usr/bin/python to python3
kunsi/bundlewrap/pipeline/head This commit looks good Details

This commit is contained in:
Franzi 2021-07-25 13:32:59 +02:00
parent e51e1113bb
commit df137f73a6
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
1 changed files with 9 additions and 0 deletions

View File

@ -152,6 +152,15 @@ pkg_apt = {
},
}
if node.os_version[0] >= 11:
symlinks = {
'/usr/bin/python': {
'target': '/usr/bin/python3',
'needs': {
'pkg_apt:python3',
},
},
}
for name, data in node.metadata.get('apt/repos', {}).items():
files['/etc/apt/sources.list.d/{}.list'.format(name)] = {