mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 21:57:54 +00:00
Merge pull request #1725 from balena-os/add_revpi_boards_to_raspberrypi_variants
Add revpi-connect, revpi-core-3 to Raspberry Pi variants
This commit is contained in:
commit
1bfcd6b791
@ -53,9 +53,14 @@ export class ConfigTxt extends ConfigBackend {
|
|||||||
|
|
||||||
public async matches(deviceType: string): Promise<boolean> {
|
public async matches(deviceType: string): Promise<boolean> {
|
||||||
return (
|
return (
|
||||||
['fincm3', 'rt-rpi-300', '243390-rpi3', 'nebra-hnt'].includes(
|
[
|
||||||
deviceType,
|
'fincm3',
|
||||||
) || deviceType.startsWith('raspberry')
|
'rt-rpi-300',
|
||||||
|
'243390-rpi3',
|
||||||
|
'nebra-hnt',
|
||||||
|
'revpi-connect',
|
||||||
|
'revpi-core-3',
|
||||||
|
].includes(deviceType) || deviceType.startsWith('raspberry')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user