[oe-commits] [openembedded-core] 04/06: classes/packageinfo: remove
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 7 17:18:17 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit b8db070926a7ec294816bc6648eb12db7f126f26
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Fri Mar 4 16:22:52 2016 +1300
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/packageinfo.bbclass | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/meta/classes/packageinfo.bbclass b/meta/classes/packageinfo.bbclass
deleted file mode 100644
index 7d60ace..0000000
--- 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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list