mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6d01d3427e
commit
ddc50bc198
@@ -2,6 +2,7 @@ deltask do_package
|
||||
deltask do_package_write_rpm
|
||||
deltask do_package_write_ipk
|
||||
deltask do_package_write_deb
|
||||
deltask do_package_write_tar
|
||||
deltask do_package_qa
|
||||
deltask do_packagedata
|
||||
deltask do_package_setscene
|
||||
|
||||
@@ -57,10 +57,8 @@ python do_package_tar () {
|
||||
|
||||
python () {
|
||||
if d.getVar('PACKAGES') != '':
|
||||
deps = (d.getVarFlag('do_package_write_tar', 'depends') or "").split()
|
||||
deps.append('tar-native:do_populate_sysroot')
|
||||
deps.append('virtual/fakeroot-native:do_populate_sysroot')
|
||||
d.setVarFlag('do_package_write_tar', 'depends', " ".join(deps))
|
||||
deps = ' tar-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
|
||||
d.appendVarFlag('do_package_write_tar', 'depends', deps)
|
||||
d.setVarFlag('do_package_write_tar', 'fakeroot', "1")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user