mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
Merge pull request #1659 from balena-os/remove-nuc-from-extra-uenv
Refactor extra_uEnv to not match with intel nuc
This commit is contained in:
commit
fc5ac75171
@ -60,8 +60,7 @@ export class ExtraUEnv extends ConfigBackend {
|
|||||||
|
|
||||||
public async matches(deviceType: string): Promise<boolean> {
|
public async matches(deviceType: string): Promise<boolean> {
|
||||||
return (
|
return (
|
||||||
(deviceType === 'intel-nuc' ||
|
(deviceType.endsWith('-nano') ||
|
||||||
deviceType.endsWith('-nano') ||
|
|
||||||
deviceType.endsWith('-nano-emmc') ||
|
deviceType.endsWith('-nano-emmc') ||
|
||||||
deviceType.endsWith('-tx2')) &&
|
deviceType.endsWith('-tx2')) &&
|
||||||
(await fs.exists(ExtraUEnv.bootConfigPath))
|
(await fs.exists(ExtraUEnv.bootConfigPath))
|
||||||
|
@ -261,7 +261,7 @@ const MATCH_TESTS = [
|
|||||||
{ type: 'jetson-nano-emmc', supported: true },
|
{ type: 'jetson-nano-emmc', supported: true },
|
||||||
{ type: 'jn30b-nano', supported: true },
|
{ type: 'jn30b-nano', supported: true },
|
||||||
{ type: 'photon-nano', supported: true },
|
{ type: 'photon-nano', supported: true },
|
||||||
{ type: 'intel-nuc', supported: true },
|
{ type: 'intel-nuc', supported: false },
|
||||||
{ type: 'raspberry', supported: false },
|
{ type: 'raspberry', supported: false },
|
||||||
{ type: 'fincm3', supported: false },
|
{ type: 'fincm3', supported: false },
|
||||||
{ type: 'asus-tinker-board', supported: false },
|
{ type: 'asus-tinker-board', supported: false },
|
||||||
|
Loading…
Reference in New Issue
Block a user