#!/bin/bash # Library to install software on Raspbian ARM through QEMU # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! # # More at ownyourbits.com # IMGNAME=$( basename $IMGFILE .img )_$( basename $INSTALL_SCRIPT .sh ).img CFGOUT=config_$( basename $INSTALL_SCRIPT .sh ).txt DBG=x # $IMGOUT will contain the name of the last step function launch_install_qemu() { local IMG=$1 local IP=$2 [[ "$IP" == "" ]] && { echo "usage: launch_install_qemu