Home
last modified time | relevance | path

Searched full:pkgs (Results 1 – 25 of 161) sorted by relevance

1234567

/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/
H A Dmanifest.py14 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 Drootfs.py38 unneeded pkgs by comparing the new install solution manifest and the
87 pkgs = []
93 pkgs += pkgs_to_install[pkg_type]
98 self.pm.install(pkgs)
H A D__init__.py193 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 …]
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/
H A Dmanifest.py15 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 Drootfs.py32 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__.py276 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
357 The following function dummy installs pkgs and returns the log of output.
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dpkgdata.py71 result = runCmd('oe-pkgdata-util list-pkgs')
76 result = runCmd('oe-pkgdata-util list-pkgs -r')
80 result = runCmd('oe-pkgdata-util list-pkgs -p zlib')
88 result = runCmd('oe-pkgdata-util list-pkgs -p zlib -r')
96 result = runCmd('oe-pkgdata-util list-pkgs -p zlib -u')
100 result = runCmd('oe-pkgdata-util list-pkgs -p zlib -u -r')
104 result = runCmd('oe-pkgdata-util list-pkgs -p zlib "*-d*"')
108 result = runCmd('oe-pkgdata-util list-pkgs -p zlib -r "*-d*"')
132 self.assertIn('zlib-dev', list(files.keys()), "listed pkgs. files: %s" %result.output)
133 self.assertIn('zlib-doc', list(files.keys()), "listed pkgs. files: %s" %result.output)
[all …]
H A Ddistrodata.py25 …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/lib/oe/package_manager/deb/
H A Drootfs.py31 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 …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/
H A Dutils.py27 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/classes-recipe/
H A Dcore-image.bbclass30 # - 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 Dupdate-rc.d.bbclass121 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 Dpopulate_sdk_base.bbclass20 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…
145 pkgs = sdk_list_installed_packages(d, True)
149 output.write(format_pkg_list(pkgs, 'ver'))
[all …]
/openbmc/openbmc/poky/scripts/postinst-intercepts/
H A Dpostinst_intercept37 # clear the ##PKGS: line and the already set variables
38 …[ -x "$ml_intercept_script" ] && sed -i -e "2,$(($#+1)) {/.*/d}" -e "/^##PKGS: .*/d" $ml_intercept…
46 pkgs_line=$(grep "##PKGS:" $intercept_script)
50 sed -i -e "s/##PKGS:.*/\0${package_name} /" $intercept_script
56 echo "##PKGS: ${package_name} " >> $intercept_script
/openbmc/openbmc/poky/meta/recipes-core/packagegroups/
H A Dpackagegroup-core-sdk.bb51 # pkgs = d.getVar('PACKAGES').split()
56 # pkgs.append(newpkg)
84 # # bb.note('pkgs is %s' % pkgs)
85 # d.setVar('PACKAGES', ' '.join(pkgs))
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Devent.py557 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/scripts/contrib/
H A Dlist-packageconfig-flags.py62 ''' Collect available pkgs in which have PACKAGECONFIG flags '''
74 ''' Collect available PACKAGECONFIG flags and all affected pkgs '''
87 ''' Display available pkgs which have PACKAGECONFIG flags '''
102 ''' Display available PACKAGECONFIG flags and all affected pkgs '''
113 ''' Display all pkgs and PACKAGECONFIG information '''
/openbmc/openbmc/poky/meta/lib/oe/
H A Dmanifest.py150 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
/openbmc/openbmc/poky/meta/lib/oe/package_manager/
H A D__init__.py93 def failed_postinsts_abort(pkgs, log_path): argument
97 Details of the failure are in %s.""" %(pkgs, log_path))
205 m = re.match(r"^##PKGS:(.*)", line)
272 def install(self, pkgs, attempt_only=False, hard_depends_only=False): argument
274 Install a list of packages. 'pkgs' is a list object. If 'attempt_only' is
280 def remove(self, pkgs, with_dependencies=True): argument
282 Remove a list of packages. 'pkgs' is a list object. If 'with_dependencies'
333 cmd = ["oe-pkgdata-util", "-p", pkgdatadir, "list-pkgs", globs]
338 pkgs = stdout.decode("utf-8")
339 self.install(pkgs.split(), attempt_only=True)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/numlockx/
H A Dnumlockx_1.2.bb8 SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23…
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-connectivity/rygel/
H A Drygel_0.44.1.bb74 pkgs = []
76pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), r'librygel-(.*)\.so$', d.expan…
77pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), r'(.*)\.plugin$', d.expand('${…
80 d.setVar('RDEPENDS:' + metapkg, ' '.join(pkgs))
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sgpio/
H A Dsgpio_1.2.0.10.bb5 SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-1.2-0.10-src.tar.gz/a417bf68da4e9b…
/openbmc/openbmc/poky/meta/recipes-core/psplash/
H A Dpsplash_git.bb26 pkgs = []
44 pkgs.append(outname)
48 d.setVar("SPLASH_INSTALL", " ".join(pkgs))
50 for p in pkgs:
54 for p in pkgs:
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/tesseract/
H A Dtesseract-lang_4.1.0.bb20pkgs = do_split_packages(d, tessdata_dir, r'^([a-z_]*)\.*', '${BPN}-%s', 'tesseract-ocr language f…
22 d.appendVar('RDEPENDS:' + pn, ' '+' '.join(pkgs))
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dsignal.cpp49 std::unique_ptr<std::vector<SignalPkg>> pkgs = in subscribe() local
51 pkgs->emplace_back(std::move(signalPkg)); in subscribe()
59 std::placeholders::_1, pkgs.get())); in subscribe()
61 signalData.emplace_back(std::move(pkgs), std::move(ptrMatch)); in subscribe()
67 auto& pkgs = std::get<std::unique_ptr<std::vector<SignalPkg>>>( in subscribe() local
70 for (auto& pkg : *pkgs) in subscribe()
87 pkgs->emplace_back(std::move(signalPkg)); in subscribe()

1234567