xci: scripts: start-new-vm.sh: Do not allow multiple build-dib-os processes 51/43351/7
authorMarkos Chandras <mchandras@suse.de>
Wed, 27 Sep 2017 15:46:07 +0000 (16:46 +0100)
committerMarkos Chandras <mchandras@suse.de>
Wed, 27 Sep 2017 22:11:14 +0000 (23:11 +0100)
commit4b79476969def3e3510f3859e1539386b5b0d471
tree27913c389432375d9e31a7102dff222c4453d03e
parente399ec873c902675c9b154dcc40d47358f3a95ee
xci: scripts: start-new-vm.sh: Do not allow multiple build-dib-os processes

apt-get is really unhappy when another instance is running and fails
with the following error:

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Change-Id: I2fe343fdab8438cb112cce0a4f81c7e3977c55f9
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/scripts/vm/build-dib-os.sh
xci/scripts/vm/start-new-vm.sh