#!/bin/bash cd build source /home/mitsunari/opt/m3ulcb-5.90.0/environment-setup-aarch64-agl-linux make package scp package/windowmanager-service-2017.wgt root@192.168.200.17:~ ssh root@${1} afm-util remove windowmanager-service-2017@0.1 ssh root@${1} afm-util install windowmanager-service-2017.wgt ssh root@${1} sync scp ../layers.json.split root@${1}:/var/local/lib/afm/applications/windowmanager-service-2017/0.1/etc/layers.json ssh root@${1} sync