mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +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> {
|
||||
return (
|
||||
['fincm3', 'rt-rpi-300', '243390-rpi3', 'nebra-hnt'].includes(
|
||||
deviceType,
|
||||
) || deviceType.startsWith('raspberry')
|
||||
[
|
||||
'fincm3',
|
||||
'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