]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands.bbclass: save relative paths
authorbrian avery <brian.avery@intel.com>
Wed, 19 Apr 2017 19:49:03 +0000 (12:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Apr 2017 06:55:10 +0000 (07:55 +0100)
commit7f9f1bdd714fbc6b2adc62f64bf0e4fd1d98ce05
tree3bfc6be70f7906fc659cc6160ae933afa83a3161
parent4829f1ebd89dc91860cf72fbbdc7b6bb0d5822bc
rootfs-postcommands.bbclass: save relative paths

We pass the TOPDIR to do a search/replace in export2json so that we save
relative paths in the testdata.json file rather than absolute paths.
This is to allow the images and kernels to be relocated yet still allow
testimage to work.

[YOCTO #11375]

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/rootfs-postcommands.bbclass