Updated armband
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Thu, 29 Sep 2016 19:44:26 +0000 (19:44 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 29 Sep 2016 19:44:27 +0000 (19:44 +0000)
commitf8267b8e7f78ffdc1ccab3b708b0c0b124e0cfd3
tree2390492da033ce2dba63bc60c57397db1e036c30
parent3741f0acb4c54b701144fc8c2eb28912925a35a3
Updated armband
Project: fuel  2e6be7473d11f14d62ad1aa1d76f2e0c99327424

check read access instead of isfile() for Fuel ISO

When testing with nested virtualzation I attached
the Fuel ISO to VM (/dev/sr0) running deploy.sh

This failed because we expect the ISO to be a file, when
it could be a device, e.g. /dev/sr0.  Instead of checking isfile()
check for read access.

This tested with bsdtar. It can extract an ISO from a file or device.

Change-Id: Ic09373cd618b33382303d9134cce4e005040de95
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
upstream/fuel