mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
package_deb: Remove access to the D directory which isn't used and might not exist (same problem as the previous patch to package_ipk fixes)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -81,12 +81,6 @@ python do_package_deb () {
|
||||
bb.error("PKGWRITEDIRDEB not defined, unable to package")
|
||||
return
|
||||
|
||||
dvar = bb.data.getVar('D', d, True)
|
||||
if not dvar:
|
||||
bb.error("D not defined, unable to package")
|
||||
return
|
||||
bb.mkdirhier(dvar)
|
||||
|
||||
packages = bb.data.getVar('PACKAGES', d, True)
|
||||
if not packages:
|
||||
bb.debug(1, "PACKAGES not defined, nothing to package")
|
||||
@@ -101,9 +95,10 @@ python do_package_deb () {
|
||||
bb.debug(1, "No packages; nothing to do")
|
||||
return
|
||||
|
||||
pkgdest = bb.data.getVar('PKGDEST', d, True)
|
||||
|
||||
for pkg in packages.split():
|
||||
localdata = bb.data.createCopy(d)
|
||||
pkgdest = bb.data.getVar('PKGDEST', d, True)
|
||||
root = "%s/%s" % (pkgdest, pkg)
|
||||
|
||||
lf = bb.utils.lockfile(root + ".lock")
|
||||
|
||||
Reference in New Issue
Block a user