1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash cd build source /opt/agl-sdk/6.0.0_toyota-special/environment-setup-aarch64-agl-linux make package if [ $? -eq 0 ]; then scp package/windowmanager-service-2017.wgt root@${1}:~ 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 ssh root@${1} reboot fi