summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-08-26 06:27:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-26 21:56:41 +0100
commitddc50bc198158df0d7047cfdb7486c0702d0fc25 (patch)
tree1415cb72de4e1b7954c4a4df55c64d716964188b /meta/classes
parent6d01d3427e25beceb7376b65dd913f13689088b2 (diff)
downloadpoky-ddc50bc198158df0d7047cfdb7486c0702d0fc25.tar.gz
package_tar.bbclass: Sync to the other package_* classes
Sync up the anonymous python definition with the other package_*.bbclass files. This should make future maintenance easier, even though it has no difference in behavior from what was there. Additional, there was a missing deltask in the nopackages.bbclass related to the package_tar which has been corrected. This could cause problems on native recipes when package_tar was enabled. (From OE-Core rev: f87452942f6391a239b50e3f3f9fa100e74a78fa) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/nopackages.bbclass1
-rw-r--r--meta/classes/package_tar.bbclass6
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/classes/nopackages.bbclass b/meta/classes/nopackages.bbclass
index 559f5078bd..7a4f632d71 100644
--- a/meta/classes/nopackages.bbclass
+++ b/meta/classes/nopackages.bbclass
@@ -2,6 +2,7 @@ deltask do_package
2deltask do_package_write_rpm 2deltask do_package_write_rpm
3deltask do_package_write_ipk 3deltask do_package_write_ipk
4deltask do_package_write_deb 4deltask do_package_write_deb
5deltask do_package_write_tar
5deltask do_package_qa 6deltask do_package_qa
6deltask do_packagedata 7deltask do_packagedata
7deltask do_package_setscene 8deltask do_package_setscene
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index ce3ab4c8e2..d6c1b306fc 100644
--- a/meta/classes/package_tar.bbclass
+++ b/meta/classes/package_tar.bbclass
@@ -57,10 +57,8 @@ python do_package_tar () {
57 57
58python () { 58python () {
59 if d.getVar('PACKAGES') != '': 59 if d.getVar('PACKAGES') != '':
60 deps = (d.getVarFlag('do_package_write_tar', 'depends') or "").split() 60 deps = ' tar-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
61 deps.append('tar-native:do_populate_sysroot') 61 d.appendVarFlag('do_package_write_tar', 'depends', deps)
62 deps.append('virtual/fakeroot-native:do_populate_sysroot')
63 d.setVarFlag('do_package_write_tar', 'depends', " ".join(deps))
64 d.setVarFlag('do_package_write_tar', 'fakeroot', "1") 62 d.setVarFlag('do_package_write_tar', 'fakeroot', "1")
65} 63}
66 64