]> code.ossystems Code Review - openembedded-core.git/commit
scripts/runqemu: fix checking for <file>.cpio.gz
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 22 Nov 2016 09:26:32 +0000 (01:26 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:42 +0000 (22:45 +0000)
commit68c7589b67a83977331a04356b53aa51680a1d9d
tree01c4466acc31bb84e25cea3876e58101e7cfc6bf
parent3e1d8e5c7ac3238eda85ee95dfef044bef2a6411
scripts/runqemu: fix checking for <file>.cpio.gz

When "runqemu /path/to/<file>.cpio.gz", it used the last suffix "gz" as
the fstype which was wrong. Check filename against self.fstypes firstly
can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu