diff --git a/orangepi-plus2.coffee b/orangepi-plus2.coffee index d977752..09ceee3 100644 --- a/orangepi-plus2.coffee +++ b/orangepi-plus2.coffee @@ -2,6 +2,12 @@ deviceTypesCommon = require '@resin.io/device-types/common' { networkOptions, commonImg, instructions } = deviceTypesCommon +postProvisioningInstructions = [ + instructions.BOARD_SHUTDOWN + instructions.REMOVE_INSTALL_MEDIA + instructions.BOARD_REPOWER +] + module.exports = version: 1 slug: 'orangepi-plus2' @@ -9,7 +15,16 @@ module.exports = arch: 'armv7hf' state: 'experimental' - instructions: commonImg.instructions + stateInstructions: + postProvisioning: postProvisioningInstructions + + instructions: [ + instructions.ETCHER_SD + instructions.EJECT_SD + instructions.FLASHER_WARNING + instructions.CONNECT_AND_BOOT + ].concat(postProvisioningInstructions) + gettingStartedLink: windows: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device' osx: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'