diff options
| author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-01-26 14:26:44 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:43:02 +0000 |
| commit | e2280b9e12f625b4aa55dba86e68046a55326a8a (patch) | |
| tree | efc8f97ab7cc624e812f1d6c2946f919f71efcf0 /meta/classes/rootfs-postcommands.bbclass | |
| parent | 8b448ab0127cfc79df8ce601e2e8b93179ebbcbc (diff) | |
| download | poky-e2280b9e12f625b4aa55dba86e68046a55326a8a.tar.gz | |
meta: remove remaining True option to getVar calls
This is a complementary fix to commit 7c552996:
[ meta: remove True option to getVar calls ]
it intended to remove all True option to getVar calls, but there are
still some remaining.
Search made with the following regex: getVar ?\((.*), True\)
(From OE-Core rev: 87d03ffe03d6f01e360bfd51714be96e62506e0a)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
| -rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index c8f18c6702..65ab3ed4b3 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
| @@ -308,8 +308,8 @@ rootfs_sysroot_relativelinks () { | |||
| 308 | python write_image_test_data() { | 308 | python write_image_test_data() { |
| 309 | from oe.data import export2json | 309 | from oe.data import export2json |
| 310 | 310 | ||
| 311 | testdata = "%s/%s.testdata.json" % (d.getVar('DEPLOY_DIR_IMAGE', True), d.getVar('IMAGE_NAME', True)) | 311 | testdata = "%s/%s.testdata.json" % (d.getVar('DEPLOY_DIR_IMAGE'), d.getVar('IMAGE_NAME')) |
| 312 | testdata_link = "%s/%s.testdata.json" % (d.getVar('DEPLOY_DIR_IMAGE', True), d.getVar('IMAGE_LINK_NAME', True)) | 312 | testdata_link = "%s/%s.testdata.json" % (d.getVar('DEPLOY_DIR_IMAGE'), d.getVar('IMAGE_LINK_NAME')) |
| 313 | 313 | ||
| 314 | bb.utils.mkdirhier(os.path.dirname(testdata)) | 314 | bb.utils.mkdirhier(os.path.dirname(testdata)) |
| 315 | export2json(d, testdata) | 315 | export2json(d, testdata) |
