require rpm-build in sb2 target as well.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
require rpm-build in sb2 target as well.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Make the files seen by the guest appear to have 700 file permissions. This is needed to allow fussy ssh clients to work.

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add --import to target to allow existing targets to be pulled into SDK

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Better wording for the SDK welcome text

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add an 'ssh' shared folder mounted at /etc/ssh/authorized_keys/
To point sshd at the correct authorized_keys location and to allow for shared_folders limited username/permissions mapping :
  sed -i 's/.*StrictModes.*/StrictModes no/' /etc/ssh/sshd_config
  sed -i 's^.*AuthorizedKeysFile.*^AuthorizedKeysFile      /etc/ssh/authorized_keys/%u/authorized_keys^' /etc/ssh/sshd_config

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Cleans up after failed curl download

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Retain current working directory when entering the SDK chroot.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
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>
Merge branch 'master' of git://github.com/mer-tools/sdk-setup