mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-24 07:46:39 +00:00
Use os.install in resin-write
This commit is contained in:
parent
2f804d5d16
commit
448c515f13
@ -3,12 +3,12 @@
|
|||||||
// http://coffeescript.org/documentation/docs/register.html
|
// http://coffeescript.org/documentation/docs/register.html
|
||||||
require('coffee-script/register');
|
require('coffee-script/register');
|
||||||
|
|
||||||
var device = require('../lib/actions/device.coffee');
|
var os = require('../lib/actions/os.coffee');
|
||||||
var errors = require('../lib/errors');
|
var errors = require('../lib/errors');
|
||||||
|
|
||||||
// TODO: Do some error handling when image or device are incorrect
|
// TODO: Do some error handling when image or device are incorrect
|
||||||
|
|
||||||
device.init.action({
|
os.install.action({
|
||||||
image: process.argv[2],
|
image: process.argv[2],
|
||||||
device: process.argv[3]
|
device: process.argv[3]
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user