diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-11-22 01:26:32 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:45:42 +0000 |
commit | 68c7589b67a83977331a04356b53aa51680a1d9d (patch) | |
tree | 01c4466acc31bb84e25cea3876e58101e7cfc6bf /scripts/runqemu-export-rootfs | |
parent | 3e1d8e5c7ac3238eda85ee95dfef044bef2a6411 (diff) | |
download | openembedded-core-68c7589b67a83977331a04356b53aa51680a1d9d.tar.gz openembedded-core-68c7589b67a83977331a04356b53aa51680a1d9d.tar.bz2 openembedded-core-68c7589b67a83977331a04356b53aa51680a1d9d.zip |
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>
Diffstat (limited to 'scripts/runqemu-export-rootfs')
0 files changed, 0 insertions, 0 deletions