package_ipk.bbclass: Make sure packages which alter PACKAGE_ARCH end up in the correct 'feed'
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3234 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
5d60f712ae
commit
aa10825598
|
@ -128,10 +128,6 @@ python do_package_ipk () {
|
|||
bb.error("DEPLOY_DIR_IPK not defined, unable to package")
|
||||
return
|
||||
|
||||
arch = bb.data.getVar('PACKAGE_ARCH', d, 1)
|
||||
outdir = "%s/%s" % (outdir, arch)
|
||||
bb.mkdirhier(outdir)
|
||||
|
||||
dvar = bb.data.getVar('D', d, 1)
|
||||
if not dvar:
|
||||
bb.error("D not defined, unable to package")
|
||||
|
@ -174,7 +170,8 @@ python do_package_ipk () {
|
|||
|
||||
bb.data.update_data(localdata)
|
||||
basedir = os.path.join(os.path.dirname(root))
|
||||
pkgoutdir = outdir
|
||||
arch = bb.data.getVar('PACKAGE_ARCH', localdata, 1)
|
||||
pkgoutdir = "%s/%s" % (outdir, arch)
|
||||
bb.mkdirhier(pkgoutdir)
|
||||
os.chdir(root)
|
||||
from glob import glob
|
||||
|
|
Loading…
Reference in New Issue