]> code.ossystems Code Review - openembedded-core.git/commit
wic/isoimage-isohybrid.py: use glob to find initramfs location
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>
Fri, 1 Apr 2016 14:31:19 +0000 (17:31 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Apr 2016 14:51:08 +0000 (15:51 +0100)
commitca516f5907a661606c35e1ca5c2ece9fc79c77ea
tree5023d7045b41079f130bafa5ff4e927f92caa3b5
parent70d8cb61b03aa9214fe0e1990ab9500888d9f565
wic/isoimage-isohybrid.py: use glob to find initramfs location

Some filenames can omit 'initramfs', or use other names. This makes
detection more flexible by using only the image name, machine arch and
image type in a glob wildcard.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/isoimage-isohybrid.py