oe.data.setVar('PACKAGES', ' '.join(packages), d)
-def package_frob_arch(d):
+python () {
import oe, os
machine = oe.data.getVar('MACHINE', d, 1)
if not machine:
local = oe.data.expand(oe.fetch.localpath(s, d), d)
for mp in paths:
if local.startswith(mp):
- oe.note("overriding PACKAGE_ARCH from %s to %s" % (old_arch, machine))
+# oe.note("overriding PACKAGE_ARCH from %s to %s" % (old_arch, machine))
oe.data.setVar('PACKAGE_ARCH', machine, d)
return
+}
python populate_packages () {
- import glob, copy, stat, errno, re
+ import glob, stat, errno, re
workdir = oe.data.getVar('WORKDIR', d, 1)
if not workdir:
oe.error("PN not defined")
return
- package_frob_arch(d)
-
os.chdir(dvar)
def isexec(path):