Add ttl option from rbraakman

Signed-off-by: David Greaves <david@dgreaves.com>
Map the targets area to /host_targets/ on the host

Signed-off-by: David Greaves <david@dgreaves.com>
Ensure target names are valid

Signed-off-by: David Greaves <david@dgreaves.com>
Improve Scratchbox2 setup and fix cross-486 support

Signed-off-by: David Greaves <david@dgreaves.com>
Complete move of to using /host_targets/ on the host and /srv/mer/targets
internally on the VM.
Drop some checks which aren't needed for a root-run script.

Signed-off-by: David Greaves <david@dgreaves.com>
sudo must be run with -i otherwise it may not pickup correct $HOME

Signed-off-by: David Greaves <david@dgreaves.com>
Ignore special and device files during rsync

Signed-off-by: David Greaves <david@dgreaves.com>
Only run sudo -i once for target list (it's a bit quicker)

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