diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-03-04 16:22:52 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-07 17:16:53 +0000 |
commit | b8db070926a7ec294816bc6648eb12db7f126f26 (patch) | |
tree | 598b731ac9fc4efc6b61aacd685b33751124d64d /meta/classes | |
parent | 270830fcfebf2fa1304a0dd15b218c24080b742e (diff) | |
download | openembedded-core-b8db070926a7ec294816bc6648eb12db7f126f26.tar.gz openembedded-core-b8db070926a7ec294816bc6648eb12db7f126f26.tar.bz2 openembedded-core-b8db070926a7ec294816bc6648eb12db7f126f26.zip |
classes/packageinfo: remove
This class was only used by Hob, and since Hob has now been removed we
can drop it as well.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/packageinfo.bbclass | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/classes/packageinfo.bbclass b/meta/classes/packageinfo.bbclass deleted file mode 100644 index 7d60ace1dc..0000000000 --- a/meta/classes/packageinfo.bbclass +++ /dev/null @@ -1,22 +0,0 @@ -python packageinfo_handler () { - import oe.packagedata - pkginfolist = [] - - pkgdata_dir = e.data.getVar("PKGDATA_DIR", True) + '/runtime/' - if os.path.exists(pkgdata_dir): - for root, dirs, files in os.walk(pkgdata_dir): - for pkgname in files: - if pkgname.endswith('.packaged'): - pkgname = pkgname[:-9] - pkgdatafile = root + pkgname - try: - sdata = oe.packagedata.read_pkgdatafile(pkgdatafile) - sdata['PKG'] = pkgname - pkginfolist.append(sdata) - except Exception as e: - bb.warn("Failed to read pkgdata file %s: %s: %s" % (pkgdatafile, e.__class__, str(e))) - bb.event.fire(bb.event.PackageInfo(pkginfolist), e.data) -} - -addhandler packageinfo_handler -packageinfo_handler[eventmask] = "bb.event.RequestPackageInfo" |