]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqemu: check exit code of 'ls -t'
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 11 Jul 2017 14:34:24 +0000 (17:34 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:52 +0000 (13:48 +0100)
commitdac68d2323b0b630c019ce4d5256ed567eaf00da
treecc3d283e96b11a6a940aaca06003c89da1d598d3
parenta779a382b66e7b43ac53286758b4370dc14b193b
runqemu: check exit code of 'ls -t'

Used check_output instead of Popen as it raises CalledProcessError
exception when command exits with non-zero exit code.

Catched the exception to produce user-friendly output.

[YOCTO #11719]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu