package_deb.bbclass: Make sure the controldir is always cleaned out
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
7459068915
commit
b18f1216b0
|
@ -242,6 +242,7 @@ python do_package_deb () {
|
|||
os.chdir(basedir)
|
||||
ret = os.system("PATH=\"%s\" %s dpkg-deb -b %s %s" % (bb.data.getVar("PATH", localdata, True), bb.data.getVar("FAKEROOT", localdata, True) or "fakeroot", root, pkgoutdir))
|
||||
if ret != 0:
|
||||
bb.utils.prunedir(controldir)
|
||||
bb.utils.unlockfile(lf)
|
||||
raise bb.build.FuncFailed("dpkg-deb execution failed")
|
||||
|
||||
|
|
Loading…
Reference in New Issue