ar71xx-generic: move CPE/WBS 210/220/510/520 minor versions to manifest_aliases

Only include the major version in the base image name or aliases.
This commit is contained in:
Matthias Schiffer 2020-08-15 15:25:23 +02:00
parent bd0133ad37
commit bcc8eb5232
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -251,18 +251,48 @@ if (env.GLUON_REGION or '') ~= '' then
tplink_region_suffix = '-' .. env.GLUON_REGION tplink_region_suffix = '-' .. env.GLUON_REGION
end end
device('tp-link-cpe210-v1.0', 'cpe210-220-v1', { device('tp-link-cpe210-v1', 'cpe210-220-v1', {
aliases = {'tp-link-cpe210-v1.1', 'tp-link-cpe220-v1.1'}, aliases = {
'tp-link-cpe220-v1',
},
manifest_aliases = {
'tp-link-cpe210-v1.0',
'tp-link-cpe210-v1.1',
'tp-link-cpe220-v1.1',
},
}) })
device('tp-link-cpe210-v2.0', 'cpe210-v2') device('tp-link-cpe210-v2', 'cpe210-v2', {
device('tp-link-cpe210-v3.0', 'cpe210-v3') manifest_aliases = {
'tp-link-cpe210-v2.0',
device('tp-link-cpe510-v1.0', 'cpe510-520-v1', { },
aliases = {'tp-link-cpe510-v1.1', 'tp-link-cpe520-v1.1'}, })
device('tp-link-cpe210-v3', 'cpe210-v3', {
manifest_aliases = {
'tp-link-cpe210-v3.0',
},
}) })
device('tp-link-wbs210-v1.20', 'wbs210-v1') device('tp-link-cpe510-v1', 'cpe510-520-v1', {
device('tp-link-wbs510-v1.20', 'wbs510-v1') aliases = {
'tp-link-cpe520-v1',
},
manifest_aliases = {
'tp-link-cpe510-v1.0',
'tp-link-cpe510-v1.1',
'tp-link-cpe520-v1.1',
},
})
device('tp-link-wbs210-v1', 'wbs210-v1', {
manifest_aliases = {
'tp-link-wbs210-v1.20',
},
})
device('tp-link-wbs510-v1', 'wbs510-v1', {
manifest_aliases = {
'tp-link-wbs510-v1.20',
},
})
device('tp-link-tl-wr710n-v1', 'tl-wr710n-v1', { device('tp-link-tl-wr710n-v1', 'tl-wr710n-v1', {
class = 'tiny', -- 32M ath9k class = 'tiny', -- 32M ath9k