Make all mounts to be performed in a private namespace.

This makes mount and umount commands unnecessary because all mounts
are done in a private namespace during enter or exec phases.
Also, enter and exec commands are unnecessary as well because
action to be performed can be determined by presence of command name and args.
Hence, no action is needed to be specified;
the new command line syntax looks like this:
mer-sdk-chroot [command args...]

Signed-off-by: Oleg Girko <ol+mer@infoserver.ru>

Added some compatibility code so sdk mount/umount is an error and
sdk enter/exec still works

Modified-by: David Greaves <david@dgreaves.com>
Add services to support sdk engine internal lan

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Ensure spec is up-to-date with yaml

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Make libsb2 upgradable in sdk-install mode

Removed libsb2 related rules/mappings from the sdk-install mode and
cleaned up consequently unused rules.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Run specify on yaml, not spec

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add some usage notes

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Verify the target dependencies when qmake is run

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add/remove /home/src<N> mountpoints using sdk-manage --srcdir --add/--remove 1

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

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add a --status to --sdk to allow QtC to verify that all is well

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Re-organise shared folders

config including ssh private keys for emulators/devices and devices.xml :

<QtC_sdk>/vmshare/ssh/private_keys/*/	private keys to ssh to emul
<QtC_sdk>/vmshare/devices.xml		device description/config

<QtC_sdk>/vmshare is shared as 'config' to MerSDK and emulators mounted under
/etc/mersdk/share

Engine Targets/ssh:

<QtC_sdk>/mersdk/targets/*/		Targets
<QtC_sdk>/mersdk/targets/targets.xml	Target description
<QtC_sdk>/mersdk/ssh/*/ 		authorized_keys for sshd

<QtC_sdk>/mersdk/targets is shared as 'targets' to MerSDK mounted under
/host_targets/
<QtC_sdk>/mersdk/ssh is shared as 'ssh' to MerSDK mounted under
/etc/sshd/authorized_keys

Emulator ssh
<QtC_sdk>/emulator/1/ssh/*/ 		authorized_keys for sshd

<QtC_sdk>/emulator/1/ssh is shared as 'ssh' to MerSDK mounted under
/etc/sshd/authorized_keys

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add some usage on the options

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add -p to specify projectdir and tidy up whitespace

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

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Setup SDK LAN with both ethernet interfaces; do it before connman comes up but after shared folder

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Remove default unit. Setup correct [Install] sections

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: add deploy and ssh|run commands

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: support a default target if the user has one
mb2: mb2 build should now operate in much the same way as "mb build" but without the rsync
or need for mb clean

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: Remove %patch lines from spec before building
since rpmbuild complains even if not doing the setup phase

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