/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 16 """Test functions usable for testing kernel-fitimage.bbclass and uboot-sign.bbclass 20 self._test_fitimage() 22 self._bitbake_fit_image() 26 self._check_its_file() 27 req_its_paths = self._get_req_its_paths() 28 req_sigvalues_config = self._get_req_sigvalues_config() 29 req_sigvalues_image = self._get_req_sigvalues_image() 34 self._check_fitimage() 35 self._get_req_sections() [all …]
|
H A D | cve_check.py | 4 # SPDX-License-Identifier: MIT 14 def test_version_compare(self): argument 18 self.assertTrue( result, msg="Failed to compare version '100' > '99'") 20 self.assertTrue( result, msg="Failed to compare version '2.3.1' > '2.2.3'") 21 result = Version("2021-01-21") > Version("2020-12-25") 22 self.assertTrue( result, msg="Failed to compare version '2021-01-21' > '2020-12-25'") 23 result = Version("1.2-20200910") < Version("1.2-20200920") 24 self.assertTrue( result, msg="Failed to compare version '1.2-20200910' < '1.2-20200920'") 27 self.assertTrue( result, msg="Failed to compare version '1.0' >= '1.0beta'") 28 result = Version("1.0-rc2") > Version("1.0-rc1") [all …]
|
/openbmc/openbmc-build-scripts/config/gitlint/ |
H A D | bad_signedoffby.py | 7 name = "bad-signed-off-by" 10 # These are individuals, by email address, who chose to go by a one-word name. 13 def validate(self, commit): argument 17 x for x in commit.message.body if x.startswith("Signed-off-by:") 20 match = re.search("Signed-off-by: (.*) <(.*)>", sob) 23 RuleViolation(self.id, "Invalid Signed-off-by format", sob) 29 and match.group(2) not in self.exceptions 33 self.id, 34 … "Signed-off-by user has too few words; likely user id instead of legal name?",
|
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/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/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 17 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 18 --- 19 pykickstart/load.py | 2 +- 21 2 files changed, 19 insertions(+), 1 deletion(-) [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/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 @@ -688,6 +688,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 @@ -585,6 +585,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_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 …]
|
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 --- a/Lib/test/test_readline.py 21 @@ -70,6 +70,7 @@ class TestHistoryManipulation (unittest. 26 def test_write_read_append(self): 29 @@ -141,6 +142,7 @@ class TestHistoryManipulation (unittest. 30 self.assertEqual(readline.get_history_item(1), "entrée 1") 31 self.assertEqual(readline.get_history_item(2), "entrée 22") [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/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/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/dbus-sensors/src/ipmb/ |
H A D | IpmbSDRSensor.cpp | 3 #include <phosphor-logging/lg2.hpp> 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 "INDEX", self->hostIndex); 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() [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-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/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/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-acs/arm-systemready-scripts/ |
H A D | 0001-check-sr-results-Return-non-zero-exit-code-on-failur.patch | 4 Subject: [PATCH] check-sr-results: Return non-zero exit code on failure 6 Return a non-zero exit code if there are any warnings or errors found. 8 Upstream-Status: Pending 9 Signed-off-by: Debbie Martin <Debbie.Martin@arm.com> 10 --- 11 check-sr-results.py | 6 ++++++ 14 diff --git a/check-sr-results.py b/check-sr-results.py 16 --- a/check-sr-results.py 17 +++ b/check-sr-results.py 18 @@ -185,6 +185,9 @@ class Stats: [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/ |
H A D | cmpi-bindings-0.4.17-sblim-sigsegv.patch | 6 Upstream-Status: Pending 7 Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> 9 --- 10 swig/python/cmpi_pywbem_bindings.py | 6 +++--- 11 1 file changed, 3 insertions(+), 3 deletions(-) 13 diff --git a/swig/python/cmpi_pywbem_bindings.py b/swig/python/cmpi_pywbem_bindings.py 15 --- a/swig/python/cmpi_pywbem_bindings.py 17 @@ -361,10 +361,10 @@ class BrokerCIMOMHandle(object): 21 - if self.broker.name() == 'RequestHandler': 22 +# if self.broker.name() == 'RequestHandler': [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libteam/libteam/ |
H A D | 0001-team_basic_test.py-disable-RedHat-specific-test.patch | 8 /etc/sysconfig/network-scripts/ifcfg-* 10 Upstream-Status: Inappropriate [OE Specific] 12 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 13 --- 14 scripts/team_basic_test.py | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 17 diff --git a/scripts/team_basic_test.py b/scripts/team_basic_test.py 19 --- a/scripts/team_basic_test.py 21 @@ -171,7 +171,7 @@ TEAM_PORT_CONFIG='{"prio": 10}' 23 for mode_name in self._team_modes: [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/ |
H A D | wxgtk-fixup-build-scripts.patch | 9 * do not override self.install_lib with self.install_platlib which causes 12 Upstream-Status: Pending [cross build specific] 14 Signed-off-by: Kai Kang <kai.kang@windriver.com> 15 --- 16 buildtools/config.py | 4 ++-- 17 setup.py | 4 ++-- 18 2 files changed, 4 insertions(+), 4 deletions(-) 20 diff --git a/buildtools/config.py b/buildtools/config.py 22 --- a/buildtools/config.py 24 @@ -336,8 +336,8 @@ class Configuration(object): [all …]
|