]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: do exact match for rootfs type
authorZhenhua Luo <zhenhua.luo@nxp.com>
Mon, 13 Jun 2016 11:47:34 +0000 (19:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2016 18:37:14 +0000 (19:37 +0100)
commit1d0ea655e266e7c5acc9c282fa91406fbe9bfb85
tree0e5fb04b92d4aae9c2ec34defb4e800ab0d6eb5f
parent5a37852e4ab3a7438cab372b288663535ecdfee1
image.bbclass: do exact match for rootfs type

Do exact match for rootfs type, instead of pattern match, to avoid
unexpected build error due to redundant rootfs type build.

E.g. when building ext2.gz.u-boot, both .gz.u-boot and .u-boot are matched,
the following build error will appear, actually .u-boot is not needed.
| mkimage: Can't open .../core-image-minimal-<machine>-<yyyymmddhhmmss>.rootfs.ext2.gz: No such file or directory

(From OE-Core rev: 46bc438374de74af76d288520c6252c9b7840767)

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass