bundles/apt: allow variables {os} and {os_release} in sources.list entries

This commit is contained in:
Franzi 2020-08-30 12:06:19 +02:00
parent 77051c0a0e
commit ccd4a09183
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 14 additions and 11 deletions

View file

@ -3,19 +3,19 @@ defaults = {
'repos': {
'yarn': {
'items': [
'deb https://dl.yarnpkg.com/debian/ stable main',
'deb https://dl.yarnpkg.com/{os}/ stable main',
],
},
'node': {
'items': [
'deb https://deb.nodesource.com/node_10.x buster main',
'deb-src https://deb.nodesource.com/node_10.x buster main',
'deb https://deb.nodesource.com/node_10.x {os_release} main',
'deb-src https://deb.nodesource.com/node_10.x {os_release} main',
],
},
},
'unattended-upgrades': {
'origins': {
'o=Node Source,n=buster,l=Node Source,c=main',
'o=Node Source,l=Node Source,c=main',
'o=yarn,a=stable,n=stable,l=yarn-stable,c=main',
},
},