mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
Add revpi-connect, revpi-core-3 to Raspberry Pi variants
We need the supervisor to be able to manage config.txt changes for these Revolution Pi boards too. Change-type: patch Signed-off-by: Florin Sarbu <florin@balena.io>
This commit is contained in:
parent
5486a74b82
commit
7c26480ada
@ -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…
x
Reference in New Issue
Block a user