Allow symlinks to be copied

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
In the event the target isn't present it will be created

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
rsync needs a trailing / after src/ otherwish it makes target/src/src :/

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Clarify boot-time text

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Refresh the target repos when installed. They shouldn't change after that.
Add an explicit target refresh repos later

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Uset $target consistently

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Simplify unpacking file logic

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Correct target name validation

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
use ${1:-} to avoid errors with unset $1

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add --target --refresh <target>

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add verbosity and chown mersdk group too

Signed-off-by: David Greaves <david.greaves@jollamobile.com>