blob: 8ca52c556390d9ac1200e773748c04bc46c51be3 [file] [log] [blame]
#!/bin/bash
# Copyright 2015 The Vanadium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -x
set -e
V23_PROFILE=arm v23 go install v.io/x/media_sharing/...
mkdir -p $V23_ROOT/release/go/bin/linux_arm
cp $V23_ROOT/release/projects/media-sharing/go/bin/linux_arm/* $V23_ROOT/release/go/bin/linux_arm
vbecome --role=identity/role/vprod/publisher device publish --goos=linux --goarch=arm mediaserver
installation=$(device ls --installation-state=Active vlab/devices/rpi2media/devmgr/apps/mediaserver/* | tail -n 1)
device updateall $installation