mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-11 20:11:42 +00:00
Merge pull request #1621 from balena-io/nebra-hnt
Add nebra-hnt to raspberry pi variants
This commit is contained in:
@ -52,8 +52,9 @@ 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'].includes(deviceType) ||
|
['fincm3', 'rt-rpi-300', '243390-rpi3', 'nebra-hnt'].includes(
|
||||||
deviceType.startsWith('raspberry')
|
deviceType,
|
||||||
|
) || deviceType.startsWith('raspberry')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user