diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-14 15:33:03 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-17 14:01:37 +0100 |
commit | f58ea8c81412344cae268960d13b968901f19577 (patch) | |
tree | 1f768705eeb26b99a01b0d373f1d5a477dfadb22 /meta-yocto-bsp/lib/oeqa | |
parent | 116e14fc4531d63ad0872f2c5218bad04bdfb348 (diff) | |
download | poky-f58ea8c81412344cae268960d13b968901f19577.tar.gz |
wic: isoimage-isohybrid: check result of glob()
isoimage-isohybrid plugin uses result of glob call to
get path to initrd image. When glob returns empty list
the plugin crashes with IndexError.
Checking if result of glob call is not empty should fix
the breakage.
(From OE-Core rev: ad02f253f08a3da3fa5c86ae4f6ba7f94b070578)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/lib/oeqa')
0 files changed, 0 insertions, 0 deletions