-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check user access to the device type provided to /config/vars
Change-type: patch See: https://balena.zulipchat.com/#narrow/stream/345889-balena-io.2Fos/topic/balenaOS.20for.20RPi.205.20.5BUnder.20NDA.5D/near/393642691
- Loading branch information
Showing
8 changed files
with
170 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
test/fixtures/contracts/base-contracts/contracts/hw.device-type/jetson-tx2/contract.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"slug": "jetson-tx2", | ||
"version": "1", | ||
"type": "hw.device-type", | ||
"aliases": [], | ||
"name": "Nvidia Jetson TX2", | ||
"assets": { | ||
"logo": { | ||
"url": "./jetson-tx2.svg", | ||
"name": "logo" | ||
} | ||
}, | ||
"data": { | ||
"arch": "aarch64", | ||
"hdmi": true, | ||
"led": false, | ||
"connectivity": { | ||
"bluetooth": true, | ||
"wifi": true | ||
}, | ||
"storage": { | ||
"internal": true | ||
}, | ||
"media": { | ||
"defaultBoot": "internal", | ||
"altBoot": ["sdcard"] | ||
}, | ||
"is_private": false | ||
}, | ||
"partials": { | ||
"bootDeviceExternal": [ | ||
"Connect power to the {{name}} and press and hold the POWER push button for 1 second" | ||
], | ||
"flashIndicator": ["all LEDs are off"], | ||
"bootDevice": ["Remove and re-connect power to the {{name}}"] | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...res/contracts/base-contracts/contracts/hw.device-type/jetson-tx2/jetson-tx2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions
40
test/fixtures/contracts/base-contracts/contracts/hw.device-type/up-board/contract.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"slug": "up-board", | ||
"version": "1", | ||
"type": "hw.device-type", | ||
"aliases": [], | ||
"name": "UP Board", | ||
"assets": { | ||
"logo": { | ||
"url": "./up-board.svg", | ||
"name": "logo" | ||
} | ||
}, | ||
"data": { | ||
"arch": "amd64", | ||
"family": "family-upboard", | ||
"hdmi": true, | ||
"led": true, | ||
"connectivity": { | ||
"bluetooth": false, | ||
"wifi": false | ||
}, | ||
"storage": { | ||
"internal": true | ||
}, | ||
"media": { | ||
"defaultBoot": "internal", | ||
"altBoot": ["usb_mass_storage"] | ||
}, | ||
"is_private": false | ||
}, | ||
"partials": { | ||
"bootDeviceExternal": [ | ||
"Power on the {{name}} with a keyboard connected.", | ||
"Press the F7 key while BIOS is loading to enter the boot menu.", | ||
"Select the \"UEFI:\" option from the boot menu." | ||
], | ||
"flashIndicator": ["all LEDs are off"], | ||
"bootDevice": ["Power up the {{name}}"] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ixtures/contracts/base-contracts/contracts/hw.device-type/up-board/up-board.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.