Home
last modified time | relevance | path

Searched refs:pkg_json (Results 1 – 1 of 1) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oe/
H A Dnpm_registry.py159 def add_pkg(self, tarball, pkg_json): argument
160 pkg_json = PackageJson(pkg_json)
161 base = os.path.join(self.__path, pkg_json.base_filename())
163 with Manifest(base, pkg_json) as manifest:
165 tarball_uri = self._tarball_uri(pkg_json)
167 meta['versions'][pkg_json.version] = pkg_json.as_manifest_entry(tarball_uri)
174 self.__cache.run('meta', self._meta_uri(pkg_json), manifest.filename);