]> code.ossystems Code Review - openembedded-core.git/commit
image_types: use cpio-native to build cpio images
authorRoss Burton <ross.burton@intel.com>
Thu, 29 Nov 2018 11:42:15 +0000 (11:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Jan 2019 20:12:08 +0000 (20:12 +0000)
commita75eba71145efa1c3d206c5e5c00608a50f013bc
tree934a60bf36d03cee99566502df74d2b9f54e5991
parent2ff6ab2e2944c6a53523b4b1611e1d22f6393500
image_types: use cpio-native to build cpio images

As per the previous commit, upstream cpio has a bug which means it crashes on
append. If the image being built has already had testimage ran then cpio-native
will be in the sysroot.  It's also possible that some distributions are shipping
this broken CVE patch too.

Now that our cpio-native is fixed, until we can be sure that the host cpio isn't
broken depend on cpio-native if building a cpio image.

[ YOCTO #13042 ]

(From OE-Core rev: c3b9aedcbe538d7fa74bd814644b4899769dec46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/image_types.bbclass