diff options
-rw-r--r-- | meta/classes/package.bbclass | 12 | ||||
-rw-r--r-- | meta/classes/package_deb.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/package_rpm.bbclass | 2 |
4 files changed, 6 insertions, 12 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 297d962266..0018a62f3e 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -235,9 +235,6 @@ python () { | |||
235 | 235 | ||
236 | # shlibs requires any DEPENDS to have already packaged for the *.list files | 236 | # shlibs requires any DEPENDS to have already packaged for the *.list files |
237 | d.appendVarFlag('do_package', 'deptask', " do_packagedata") | 237 | d.appendVarFlag('do_package', 'deptask', " do_packagedata") |
238 | |||
239 | elif not bb.data.inherits_class('image', d): | ||
240 | d.setVar("PACKAGERDEPTASK", "") | ||
241 | } | 238 | } |
242 | 239 | ||
243 | def splitdebuginfo(file, debugfile, debugsrcdir, sourcefile, d): | 240 | def splitdebuginfo(file, debugfile, debugsrcdir, sourcefile, d): |
@@ -2003,15 +2000,6 @@ python do_packagedata_setscene () { | |||
2003 | } | 2000 | } |
2004 | addtask do_packagedata_setscene | 2001 | addtask do_packagedata_setscene |
2005 | 2002 | ||
2006 | # Dummy task to mark when all packaging is complete | ||
2007 | do_package_write () { | ||
2008 | : | ||
2009 | } | ||
2010 | do_package_write[noexec] = "1" | ||
2011 | PACKAGERDEPTASK = "do_package_write" | ||
2012 | do_build[recrdeptask] += "${PACKAGERDEPTASK}" | ||
2013 | addtask package_write before do_build after do_packagedata | ||
2014 | |||
2015 | # | 2003 | # |
2016 | # Helper functions for the package writing classes | 2004 | # Helper functions for the package writing classes |
2017 | # | 2005 | # |
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index b9d797833a..a16d57e855 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -311,3 +311,5 @@ addtask package_write_deb before do_package_write after do_packagedata do_packag | |||
311 | 311 | ||
312 | PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" | 312 | PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" |
313 | PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot" | 313 | PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot" |
314 | |||
315 | do_build[recrdeptask] += "do_package_write_deb" | ||
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 7cf2c8af2d..aab31e5296 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -257,3 +257,5 @@ addtask package_write_ipk before do_package_write after do_packagedata do_packag | |||
257 | 257 | ||
258 | PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" | 258 | PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" |
259 | PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot" | 259 | PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot" |
260 | |||
261 | do_build[recrdeptask] += "do_package_write_ipk" | ||
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index f267b8a4cb..bce564808f 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -736,3 +736,5 @@ addtask package_write_rpm before do_package_write after do_packagedata do_packag | |||
736 | 736 | ||
737 | PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" | 737 | PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" |
738 | PACKAGEINDEXDEPS += "createrepo-native:do_populate_sysroot" | 738 | PACKAGEINDEXDEPS += "createrepo-native:do_populate_sysroot" |
739 | |||
740 | do_build[recrdeptask] += "do_package_write_rpm" | ||