aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-29 22:04:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-30 14:08:35 +0000
commitc30ae39229b35d72e2205040d76754b5120fa878 (patch)
treefb0b99672a1d36ceb8c7d26574e8ef82c0b17a06 /meta/classes/package_deb.bbclass
parent1531adb8d2230646e03f31ea30faa916d846ccfc (diff)
downloadopenembedded-core-contrib-c30ae39229b35d72e2205040d76754b5120fa878.tar.gz
package_ipk/deb/rpm: Ensure deploy staging directory is empty before rerunning task
If we don't do this, stale files can build up, particularly with the PR server. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index ac8c9f32751..5740948c1a8 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -452,6 +452,7 @@ python do_package_write_deb () {
bb.build.exec_func("do_package_deb", d)
}
do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}"
+do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}"
do_package_write_deb[umask] = "022"
addtask package_write_deb before do_package_write after do_packagedata do_package