/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | signing.py | 4 # SPDX-License-Identifier: MIT 25 def setup_gpg(self): argument 26 bitbake('gnupg-native -c addto_recipe_sysroot') 28 self.gpg_dir = tempfile.mkdtemp(prefix="oeqa-signing-") 29 self.track_for_cleanup(self.gpg_dir) 31 self.pub_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.pub") 32 self.secret_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.secret") 34 nsysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native") 36 …nCmd('gpg --agent-program=`which gpg-agent`\|--auto-expand-secmem --batch --homedir %s --import %s… 41 def create_new_builddir(self, builddir, newbuilddir): argument [all …]
|
H A D | fitimage.py | 4 # SPDX-License-Identifier: MIT 14 def _setup_uboot_tools_native(self): argument 15 """build u-boot-tools-native and return RECIPE_SYSROOT_NATIVE""" 16 bitbake("u-boot-tools-native -c addto_recipe_sysroot") 17 return get_bb_var('RECIPE_SYSROOT_NATIVE', 'u-boot-tools-native') 19 …def _verify_fit_image_signature(self, uboot_tools_sysroot_native, fitimage_path, dtb_path, conf_na… argument 22 The fit_check_sign utility from u-boot-tools-native is called. 23 uboot-fit_check_sign -f fitImage -k $dtb_name -c conf-$dtb_name 25 …fit_check_sign_path = os.path.join(uboot_tools_sysroot_native, 'usr', 'bin', 'uboot-fit_check_sign… 26 cmd = '%s -f %s -k %s' % (fit_check_sign_path, fitimage_path, dtb_path) [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | patchtest | 3 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 9 # SPDX-License-Identifier: GPL-2.0-only 47 def startTestRun(self): argument 56 self.repo_error = False 57 self.test_error = False 58 self.test_failure = False 61 self.repo = PatchtestParser.repo = PatchTestRepo(**repoargs) 64 self.repo_error = True 65 self.stop() 69 self.repo.merge() [all …]
|
/openbmc/openbmc-build-scripts/config/gitlint/ |
H A D | block_comment.py | 8 name = "body-max-line-length-with-exceptions" 11 options_spec = [IntOption("line-length", 80, "Max line length")] 22 def validate(self, commit): argument 38 RuleViolation(self.id, self.tabs_violation_message, line) 47 # allow signed-off-by 48 if line.startswith("Signed-off-by:"): 55 max_length = self.options["line-length"].value 59 self.id, 60 self.line_length_violation_message.format(
|
/openbmc/qemu/scripts/ |
H A D | analyze-migration.py | 36 def __init__(self, filename): argument 37 self.filename = filename 38 self.file = open(self.filename, "rb") 40 def read64(self): argument 41 return int.from_bytes(self.file.read(8), byteorder='big', signed=False) 43 def read32(self): argument 44 return int.from_bytes(self.file.read(4), byteorder='big', signed=False) 46 def read16(self): argument 47 return int.from_bytes(self.file.read(2), byteorder='big', signed=False) 49 def read8(self): argument [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/ |
H A D | 0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch | 3 Date: Thu, 1 Apr 2021 13:08:37 -0700 6 Skip these tests until AB-INT is solved. 10 Upstream-Status: Inappropriate [OE-Specific] 12 Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> 19 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 20 --- 25 diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py 27 --- a/Lib/test/_test_multiprocessing.py 29 @@ -682,6 +682,7 @@ class _TestProcess(BaseTestCase): 34 def test_many_processes(self): [all …]
|
H A D | 0001-test_active_children-skip-problematic-test.patch | 3 Date: Thu, 13 Jun 2024 10:54:31 -0400 9 Upstream-Status: Inappropriate [OE-Specific] 11 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 12 --- 16 diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py 18 --- a/Lib/test/_test_multiprocessing.py 20 @@ -579,6 +579,7 @@ class _TestProcess(BaseTestCase): 21 self.assertTrue(type(cpus) is int) 22 self.assertTrue(cpus >= 1) 25 def test_active_children(self): [all …]
|
H A D | 0001-test_readline-skip-limited-history-test.patch | 3 Date: Tue, 13 Aug 2024 11:07:05 -0400 12 Upstream-Status: Inappropriate [OE-specific] 14 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 15 --- 19 diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py 21 --- a/Lib/test/test_readline.py 23 @@ -133,6 +133,7 @@ class TestHistoryManipulation (unittest.TestCase): 24 self.assertEqual(readline.get_history_item(1), "entrée 1") 25 self.assertEqual(readline.get_history_item(2), "entrée 22") 28 def test_write_read_limited_history(self): [all …]
|
H A D | 0001-test_storlines-skip-due-to-load-variability.patch | 3 Date: Fri, 6 Oct 2023 10:59:44 -0400 9 Upstream-Status: Inappropriate [OE-Specific] 13 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 14 --- 18 diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py 20 --- a/Lib/test/test_ftplib.py 22 @@ -627,6 +627,7 @@ class TestFTPClass(TestCase): 23 self.client.storbinary('stor', f, rest=r) 24 self.assertEqual(self.server.handler_instance.rest, str(r)) 27 def test_storlines(self): [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/ |
H A D | 0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch | 7 - Add lock for readKickstart to fix race issue 9 - Support to download kickstart file through https without certification 11 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 12 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 13 --- 14 Upstream-Status: Pending 16 pykickstart/load.py | 2 +- 18 2 files changed, 19 insertions(+), 1 deletion(-) 20 diff --git a/pykickstart/load.py b/pykickstart/load.py 22 --- a/pykickstart/load.py [all …]
|
H A D | 0003-comment-out-sections-shutdown-and-environment-in-gen.patch | 9 Upstream-Status: Inappropriate [oe specific] 11 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 14 --- 16 pykickstart/parser.py | 2 +- 17 2 files changed, 4 insertions(+), 1 deletion(-) 19 diff --git a/pykickstart/commands/reboot.py b/pykickstart/commands/reboot.py 21 --- a/pykickstart/commands/reboot.py 23 @@ -43,6 +43,9 @@ class FC3_Reboot(KickstartCommand): 24 elif self.action == KS_SHUTDOWN: 26 retval += self._getArgsAsStr() + "\n" [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | test.py | 1 # -*- coding: utf-8 -*- 2 # SPDX-License-Identifier: GPL-2.0+ 23 def testBasic(self): argument 29 Date: Thu, 28 Apr 2011 09:58:51 -0700 32 This adds functions to enable/disable clocks and reset to on-chip peripherals. 36 ‘u64 {aka long unsigned int}’ [-Wformat=] 38 BUG=chromium-os:13875 39 TEST=build U-Boot for Seaboard, boot 41 Change-Id: I80fe1d0c0b7dd10aa58ce5bb1d9290b6664d5413 45 Signed-off-by: Simon Glass <sjg@chromium.org> [all …]
|
/openbmc/dbus-sensors/src/ipmb/ |
H A D | IpmbSDRSensor.cpp | 51 conn->async_method_call( in getSDRRepositoryInfo() 54 auto self = weakRef.lock(); in getSDRRepositoryInfo() local 55 if (!self) in getSDRRepositoryInfo() 61 if (!status(self->hostIndex)) in getSDRRepositoryInfo() 73 << self->hostIndex << "\n"; in getSDRRepositoryInfo() 83 self->reserveSDRRepository(recordCount); in getSDRRepositoryInfo() 94 conn->async_method_call( in reserveSDRRepository() 97 auto self = weakRef.lock(); in reserveSDRRepository() local 98 if (!self) in reserveSDRRepository() 104 if (!status(self->hostIndex)) in reserveSDRRepository() [all …]
|
/openbmc/openbmc/meta-security/meta-integrity/data/debug-keys/ |
H A D | README.md | 5 - ima-local-ca.priv: The CA's private key (password: 1234) 6 - ima-local-ca.pem: The CA's self-signed certificate 7 - privkey_ima.pem: IMA & EVM private key used for signing files 8 - x509_ima.der: Certificate containing public key (of privkey_ima.pem) to verify signatures 10 The CA's (self-signed) certificate can be used to verify the validity of 16 openssl verify -CAfile ima-local-ca.pem x509_ima.der
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | fgraph-retval.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: ftrace - function graph print function return value 4 # requires: options/funcgraph-retval options/funcgraph-retval-hex function_graph:tracer 6 # Make sure that funcgraph-retval works 16 # get self PID, can not use $$, because it is PPID 17 read PID _ < /proc/self/stat 19 [ -f set_ftrace_filter ] && echo proc_reg_write > set_ftrace_filter 20 [ -f set_ftrace_pid ] && echo ${PID} > set_ftrace_pid 22 echo 1 > options/funcgraph-retval 28 set -e [all …]
|
/openbmc/openbmc/poky/meta/recipes-gnome/libxmlb/libxmlb/ |
H A D | 0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch | 2 From: Markus Volk <f_l_k@t-online.de> 4 Subject: [PATCH] xb-self-test.c: hardcode G_TEST_SRCDIR 7 libxmlb-0.3.14-r0 do_package_qa: QA Issue: File 8 /usr/libexec/installed-tests/libxmlb/xb-self-test in package libxmlb-ptest 13 Upstream-Status: Inappropriate [oe-specific] 15 Signed-off-by: Markus Volk <f_l_k@t-online.de> 16 --- 17 src/xb-self-test.c | 2 +- 18 1 file changed, 1 insertion(+), 1 deletion(-) 20 diff --git a/src/xb-self-test.c b/src/xb-self-test.c [all …]
|
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/ |
H A D | no-exec-on-configure.patch | 3 Upstream-Status: Inappropriate [Cross-compile specific] 4 Signed-off-by: Khem Raj <raj.khem@gmail.com> 5 --- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200 6 +++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200 7 @@ -24,20 +24,7 @@ 8 $self->requires_external_cc; 10 my $prefix = $self->find_openssl_prefix; 11 - my $exec = $self->find_openssl_exec($prefix); 12 - 13 - unless (-x $exec) { [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/ |
H A D | 0004-reproducible.patch | 14 TMPDIR = "${TOPDIR}/tmp-inital-mylongpath-mylongpath-mylongpath-mylongpath-mylongpath-mylongpath-my… 27 Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/2176] 28 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 29 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 30 --- 31 BaseTools/Source/C/GenFw/Elf64Convert.c | 8 ++++--- 33 BaseTools/Source/Python/AutoGen/GenMake.py | 24 +++++++++---------- 34 .../Source/Python/AutoGen/ModuleAutoGen.py | 5 +++- 35 4 files changed, 24 insertions(+), 16 deletions(-) 37 diff --git a/BaseTools/Source/C/GenFw/Elf64Convert.c b/BaseTools/Source/C/GenFw/Elf64Convert.c [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/perl/files/ |
H A D | native-perlinc.patch | 6 Upstream-Status: Inappropriate [embedded specific] 7 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8 --- 9 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 13 +++++++++++++ 12 diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils… 14 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 15 +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 16 @@ -1862,6 +1862,19 @@ from the perl source tree. 17 $self->{PERL_LIB} ||= $Config{privlibexp}; 18 $self->{PERL_ARCHLIB} ||= $Config{archlibexp}; [all …]
|
/openbmc/u-boot/tools/binman/etype/ |
H A D | vblock.py | 1 # SPDX-License-Identifier: GPL-2.0+ 6 # Support for a Chromium OS verified boot block, used to sign a read-write 21 - keydir: Directory containing the public keys to use 22 - keyblock: Name of the key file to use (inside keydir) 23 - signprivate: Name of provide key file to use (inside keydir) 24 - version: Version number of the vblock (typically 1) 25 - kernelkey: Name of the kernel key to use (inside keydir) 26 - preamble-flags: Value of the vboot preamble flags (typically 0) 29 - input.<unique_name> - input file passed to futility 30 - vblock.<unique_name> - output file generated by futility (which is [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/ |
H A D | 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch | 4 Subject: [PATCH] gpgme/lang/python: gpg-error-config should not be used 6 gpg-error-config was modified by OE to always return an error. 10 Upstream-Status: Inappropriate [changes are specific to OE] 12 Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 16 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 18 --- 19 lang/python/setup.py.in | 3 +-- 20 1 file changed, 1 insertion(+), 2 deletions(-) 22 diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in 24 --- a/lang/python/setup.py.in [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/meson/meson/ |
H A D | 0001-dependencies-dev-prepend-sysroot-when-searching-for-.patch | 8 cross-compile or other builds with a sysroot this will find the host 13 Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/13934] 14 Signed-off-by: Ross Burton <ross.burton@arm.com> 15 --- 16 mesonbuild/dependencies/dev.py | 4 +++- 17 1 file changed, 3 insertions(+), 1 deletion(-) 19 diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py 21 --- a/mesonbuild/dependencies/dev.py 23 @@ -56,7 +56,9 @@ class GTestDependencySystem(SystemDependency): 24 def __init__(self, name: str, environment: 'Environment', kwargs: T.Dict[str, T.Any]) -> None: [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/ |
H A D | 0001-make-direction-attribute-conforming-to-introspect.dt.patch | 15 Adapted from Fedora [https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/] 17 Upstream-Status: Inactive-Upstream (Last release 12/18/2016; Last commit 05/6/2018) 19 Signed-off-by: Derek Straka <derek@asterius.io> 20 --- 21 pydbus/proxy_method.py | 4 ++-- 22 1 file changed, 2 insertions(+), 2 deletions(-) 24 diff --git a/pydbus/proxy_method.py b/pydbus/proxy_method.py 26 --- a/pydbus/proxy_method.py 28 @@ -33,8 +33,8 @@ class ProxyMethod(object): 29 self.__name__ = method.attrib["name"] [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-setuptools/ |
H A D | 0001-conditionally-do-not-fetch-code-by-easy_install.patch | 12 Upstream-Status: Denied [https://github.com/pypa/setuptools/issues/4735] 13 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 17 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 18 --- 22 diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py 24 --- a/setuptools/command/easy_install.py 26 @@ -673,6 +673,11 @@ class easy_install(Command): 29 def easy_install(self, spec, deps: bool = False) -> Distribution | None: 35 with self._tmpdir() as tmpdir: 38 --
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Certs/ |
H A D | README.md | 6 key file with another (possibly certification Authority (CA) signed) certificate 10 format, which includes both private key and signed certificate. 12 ### Signed Certificate upload Design flow(Pre-generated) 14 - The REST Server copies the certificate and private key file to a temporary 16 - REST server should map the URI to the target DBus application (Certs) object. 17 The recommendation for the D-Bus application implementing certificate D-Bus 19 - The URI /xyz/openbmc_project/certs/server/https maps to instance of the 21 - The URI /xyz/openbmc_project/certs/client/ldap maps to instance of the 23 - The URI /xyz/openbmc_project/certs/authority/truststore maps to instance of 25 - REST server should call the install method of the certificate application [all …]
|