/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/ |
H A D | manifest.py | 14 pkgs = dict() 25 if not pkg_type in pkgs: 26 pkgs[pkg_type] = pkg 28 pkgs[pkg_type] += " " + pkg 30 return pkgs 33 pkgs = dict() 42 pkgs = dict(list(pkgs.items()) + list(split_pkgs.items())) 46 pkgs[self.var_maps[self.manifest_type][var]] = self.d.getVar(var) 48 for pkg_type in pkgs: 49 for pkg in pkgs[pkg_type].split():
|
H A D | __init__.py | 193 def install(self, pkgs, attempt_only=False, hard_depends_only=False): argument 194 if len(pkgs) == 0: 207 pkgs) 220 def remove(self, pkgs, with_dependencies = True): argument 221 if not pkgs: 227 self._invoke_dnf(["remove"] + pkgs) 233 bb.note("Running %s" % ' '.join([cmd] + args + pkgs)) 234 … output = subprocess.check_output([cmd] + args + pkgs, stderr=subprocess.STDOUT).decode("utf-8") 238 … "'%s' returned %d:\n%s" % (' '.join([cmd] + args + pkgs), e.returncode, e.output.decode("utf-8"))) 340 def dump_install_solution(self, pkgs): argument [all …]
|
H A D | rootfs.py | 87 pkgs = [] 93 pkgs += pkgs_to_install[pkg_type] 98 self.pm.install(pkgs)
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/ |
H A D | manifest.py | 15 pkgs = dict() 26 if not pkg_type in pkgs: 27 pkgs[pkg_type] = pkg 29 pkgs[pkg_type] += " " + pkg 31 return pkgs 34 pkgs = dict() 43 pkgs = dict(list(pkgs.items()) + list(split_pkgs.items())) 47 pkgs[self.var_maps[self.manifest_type][var]] = self.d.getVar(var) 49 for pkg_type in sorted(pkgs): 50 for pkg in sorted(pkgs[pkg_type].split()):
|
H A D | rootfs.py | 32 pkgs = {} 64 pkgs[pkg_name] = _get_pkg_depends_list(pkg_depends) 70 pkg_names = list(pkgs.keys()) 72 deps = pkgs[pkg_name][:] 76 pkgs[pkg_name].remove(d) 78 return pkgs 96 pkgs = None 100 pkgs = self._get_pkgs_postinsts(status_file) 101 if pkgs: 103 pkgs[root] = list(pkgs.keys()) [all …]
|
H A D | __init__.py | 276 def install(self, pkgs, attempt_only=False, hard_depends_only=False): argument 277 if not pkgs: 288 cmd += " ".join(pkgs) 298 bb.note("Installing the following packages: %s" % ' '.join(pkgs)) 314 def remove(self, pkgs, with_dependencies=True): argument 315 if not pkgs: 320 (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) 323 (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) 355 def dummy_install(self, pkgs): argument 359 if len(pkgs) == 0: [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/ |
H A D | rootfs.py | 31 pkgs = {} 63 pkgs[pkg_name] = _get_pkg_depends_list(pkg_depends) 69 pkg_names = list(pkgs.keys()) 71 deps = pkgs[pkg_name][:] 75 pkgs[pkg_name].remove(d) 77 return pkgs 95 pkgs = None 99 pkgs = self._get_pkgs_postinsts(status_file) 100 if pkgs: 102 pkgs[root] = list(pkgs.keys()) [all …]
|
H A D | __init__.py | 229 def install(self, pkgs, attempt_only=False, hard_depends_only=False): argument 230 if attempt_only and len(pkgs) == 0: 240 (self.apt_get_cmd, self.apt_args, extra_args, ' '.join(pkgs)) 243 bb.note("Installing the following packages: %s" % ' '.join(pkgs)) 266 def remove(self, pkgs, with_dependencies=True): argument 267 if not pkgs: 278 cmd = "%s purge %s" % (self.apt_get_cmd, ' '.join(pkgs)) 283 self.target_rootfs, self.target_rootfs, ' '.join(pkgs))
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/ |
H A D | utils.py | 27 pkgs = packages_filter_out_system(d) 28 self.assertEqual(pkgs, []) 31 pkgs = packages_filter_out_system(d) 32 self.assertEqual(pkgs, ["foo-data"]) 35 pkgs = packages_filter_out_system(d) 36 self.assertEqual(pkgs, []) 39 pkgs = packages_filter_out_system(d) 40 self.assertEqual(pkgs, ["foo-data"])
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | manifest.py | 150 pkgs = dict() 169 if not pkg_type in pkgs: 170 pkgs[pkg_type] = [pkg_name] 172 pkgs[pkg_type].append(pkg_name) 174 return pkgs
|
H A D | classextend.py | 10 pkgs = d.getVar("PACKAGES_NONML") 12 return extcls.rename_packages_internal(pkgs) 135 def rename_packages_internal(self, pkgs): argument 137 for pkg in (self.d.expand(pkgs) or "").split():
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | event.py | 557 pkgs = ["bar"] 559 event = bb.event.BuildBase(name, pkgs, failures) 561 self.assertEqual(event.pkgs, pkgs) 564 pkgs = event.pkgs = ["foo"] 566 self.assertEqual(event.pkgs, pkgs) 574 self.assertEqual(event.pkgs, []) 577 pkgs = event.pkgs = ["foo"] 579 self.assertEqual(event.pkgs, pkgs) 586 pkgs = ["bar"] 588 event = bb.event.BuildStarted(name, pkgs, failures) [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | distrodata.py | 25 …regressed_failures = [pkg['pn'] for pkgs in pkggroups for pkg in pkgs if pkg['status'] == 'UNKNOWN… 26 …regressed_successes = [pkg['pn'] for pkgs in pkggroups for pkg in pkgs if pkg['status'] == 'KNOWN_…
|
/openbmc/openbmc/poky/meta/recipes-core/packagegroups/ |
H A D | packagegroup-core-sdk.bb | 51 # pkgs = d.getVar('PACKAGES').split() 56 # pkgs.append(newpkg) 84 # # bb.note('pkgs is %s' % pkgs) 85 # d.setVar('PACKAGES', ' '.join(pkgs))
|
/openbmc/phosphor-fan-presence/control/json/triggers/ |
H A D | signal.cpp | 51 std::unique_ptr<std::vector<SignalPkg>> pkgs = in subscribe() local 53 pkgs->emplace_back(std::move(signalPkg)); in subscribe() 61 std::placeholders::_1, pkgs.get())); in subscribe() 63 signalData.emplace_back(std::move(pkgs), std::move(ptrMatch)); in subscribe() 69 auto& pkgs = std::get<std::unique_ptr<std::vector<SignalPkg>>>( in subscribe() local 72 for (auto& pkg : *pkgs) in subscribe() 89 pkgs->emplace_back(std::move(signalPkg)); in subscribe()
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | core-image.bbclass | 30 # - dev-pkgs - development packages (headers, etc.) for all installed packages in the ro… 31 # - dbg-pkgs - debug symbol packages for all installed packages in the rootfs 32 # - lic-pkgs - license packages for all installed pacakges in the rootfs, requires 34 # - doc-pkgs - documentation packages for all installed packages in the rootfs 35 # - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass 36 # - ptest-pkgs - ptest packages for all ptest-enabled recipes
|
H A D | update-rc.d.bbclass | 121 pkgs = d.getVar('INITSCRIPT_PACKAGES') 122 if pkgs == None: 123 pkgs = d.getVar('UPDATERCPN') 125 if not pkgs in packages and packages != []: 126 pkgs = packages[0] 127 for pkg in pkgs.split():
|
H A D | populate_sdk_base.bbclass | 20 COMPLEMENTARY_GLOB[dev-pkgs] = '*-dev' 21 COMPLEMENTARY_GLOB[staticdev-pkgs] = '*-staticdev' 22 COMPLEMENTARY_GLOB[doc-pkgs] = '*-doc' 23 COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg' 24 COMPLEMENTARY_GLOB[src-pkgs] = '*-src' 25 COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ${MLPREFIX}ptest-runner' 26 COMPLEMENTARY_GLOB[bash-completion-pkgs] = '*-bash-completion' 37 SDKIMAGE_FEATURES ??= "dev-pkgs dbg-pkgs src-pkgs ${@bb.utils.contains('DISTRO_FEATURES', 'api-docu… 143 pkgs = sdk_list_installed_packages(d, True) 147 output.write(format_pkg_list(pkgs, 'ver')) [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-pkgdata-util | 209 def lookup_pkglist(pkgs, pkgdata_dir, reverse): argument 212 for pkg in pkgs: 219 for pkg in pkgs: 232 pkgs = [] 234 pkgs.extend(pkgitem.split()) 236 mappings = lookup_pkglist(pkgs, args.pkgdata_dir, args.reverse) 238 if len(mappings) < len(pkgs): 239 missing = list(set(pkgs) - set(mappings.keys())) 247 for pkg in pkgs: 266 pkgs = [] [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
H A D | __init__.py | 93 def failed_postinsts_abort(pkgs, log_path): argument 97 Details of the failure are in %s.""" %(pkgs, log_path)) 272 def install(self, pkgs, attempt_only=False, hard_depends_only=False): argument 280 def remove(self, pkgs, with_dependencies=True): argument 338 pkgs = stdout.decode("utf-8") 339 self.install(pkgs.split(), attempt_only=True) 372 pkgs = self.list_installed() 375 for pkg in pkgs.values(): 378 output = oe.utils.format_pkg_list(pkgs, "arch")
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-connectivity/rygel/ |
H A D | rygel_0.44.1.bb | 76 pkgs = [] 78 …pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), r'librygel-(.*)\.so$', d.expan… 79 …pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), r'(.*)\.plugin$', d.expand('${… 82 d.setVar('RDEPENDS:' + metapkg, ' '.join(pkgs))
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/numlockx/ |
H A D | numlockx_1.2.bb | 8 SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23…
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sgpio/ |
H A D | sgpio_1.2.0.10.bb | 5 SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-1.2-0.10-src.tar.gz/a417bf68da4e9b…
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/tesseract/ |
H A D | tesseract-lang_4.1.0.bb | 20 …pkgs = do_split_packages(d, tessdata_dir, r'^([a-z_]*)\.*', '${BPN}-%s', 'tesseract-ocr language f… 22 d.appendVar('RDEPENDS:' + pn, ' '+' '.join(pkgs))
|
/openbmc/openbmc/poky/meta/recipes-core/psplash/ |
H A D | psplash_git.bb | 25 pkgs = [] 43 pkgs.append(outname) 47 d.setVar("SPLASH_INSTALL", " ".join(pkgs)) 49 for p in pkgs: 53 for p in pkgs:
|