From a1f6546969222510c634452691e11622b095ba2c Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Tue, 19 Nov 2024 17:06:08 +0530 Subject: [PATCH] patch: Update Jetson provisioning instructions to use Jetson Flash tool Signed-off-by: Vipul Gupta (@vipulgupta2048) --- src/models/balenaos-contract.ts | 6 +----- tests/integration/models/device-type.spec.ts | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/models/balenaos-contract.ts b/src/models/balenaos-contract.ts index 82d949054..f0f6e2643 100644 --- a/src/models/balenaos-contract.ts +++ b/src/models/balenaos-contract.ts @@ -39,11 +39,7 @@ export const BalenaOS: Contract = { `{{{deviceType.partials.bootDevice}}} to boot the device.`, ], jetsonFlash: [ - `Put the device in recovery mode and connect to the host computer via USB`, - `{{#if deviceType.partials.jetsonNotes}}{{#each deviceType.partials.jetsonNotes}}{{{this}}} {{/each}}{{/if}}`, - `Unzip the {{name}} image and use the Jetson Flash tool to flash the {{deviceType.name}}.`, - `Wait for writing of {{name}} to complete.`, - `{{{deviceType.partials.bootDevice}}} to boot the device.`, + `To provision {{deviceType.name}}, follow the instructions using our Jetson Flash tool to make the process more streamlined.`, ], usbMassStorage: [ `{{#each deviceType.partials.instructions}}{{{this}}} diff --git a/tests/integration/models/device-type.spec.ts b/tests/integration/models/device-type.spec.ts index 7d9ec46fb..8b96f7f48 100644 --- a/tests/integration/models/device-type.spec.ts +++ b/tests/integration/models/device-type.spec.ts @@ -137,6 +137,12 @@ describe('Device Type model', function () { 'Power up the Intel NUC to boot the device.', ], ], + [ + 'jetson-nano', + [ + 'To provision Nvidia Jetson Nano SD-CARD, follow the instructions using our Jetson Flash tool to make the process more streamlined.', + ], + ], ] as const ).forEach(([deviceTypeSlug, instructions]) => { it(`should get just the full instructions for installing BalenaOS for ${deviceTypeSlug} with templates strings resolved when passing the slug`, async function () {