Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3 01/12] python3-pefile: add recipe from meta-openembedded
Date: Sun, 22 Sep 2024 11:15:59 +0300	[thread overview]
Message-ID: <Zu_SP7szGXuBS_qw@nuoska> (raw)
In-Reply-To: <334ed194df94eb08545734f935bef3e20a407e91.camel@linuxfoundation.org>

Hi,

On Fri, Sep 20, 2024 at 08:24:58AM +0100, Richard Purdie wrote:
> On Thu, 2024-09-19 at 17:36 +0300, Mikko Rapeli via lists.openembedded.org wrote:
> > It is needed by systemd ukify tool and uki.bbclass to generate
> > UEFI boot binaries.
> > 
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> > ---
> > �.../python/python3-pefile/run-ptest���������� |� 3 ++
> > �.../python/python3-pefile_2023.2.7.bb�������� | 28 +++++++++++++++++++
> > �2 files changed, 31 insertions(+)
> > �create mode 100644 meta/recipes-devtools/python/python3-pefile/run-ptest
> > �create mode 100644 meta/recipes-devtools/python/python3-pefile_2023.2.7.bb
> > 
> > diff --git a/meta/recipes-devtools/python/python3-pefile/run-ptest b/meta/recipes-devtools/python/python3-pefile/run-ptest
> > new file mode 100644
> > index 0000000000..95ae72306f
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-pefile/run-ptest
> > @@ -0,0 +1,3 @@
> > +#!/bin/sh
> > +
> > +pytest --automake --ignore=./tests/pefile_test.py
> > diff --git a/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb b/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb
> > new file mode 100644
> > index 0000000000..e30b362323
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-pefile_2023.2.7.bb
> > @@ -0,0 +1,28 @@
> > +SUMMARY = "Python PE parsing module"
> > +DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files."
> > +HOMEPAGE = "https://github.com/erocarrera/pefile"
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=38066667888b01d8118ff9cc23da1873"
> > +
> > +inherit setuptools3 ptest
> > +SRCREV = "1ab2807c4eec16041e791d7a6acc68cc23fd5266"
> > +SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
> > +���������� file://run-ptest"
> > +S = "${WORKDIR}/git"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > +
> > +do_install_ptest() {
> > +�� install -d ${D}${PTEST_PATH}/tests
> > +�� cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
> > +}
> > +
> > +RDEPENDS:${PN} += " \
> > +��� python3-mmap \
> > +��� python3-netclient \
> > +��� python3-stringold \
> > +"
> > +RDEPENDS:${PN}-ptest += "\
> > +��� python3-pytest \
> > +��� python3-unittest-automake-output \
> > +"
> 
> I've not gone into the series in detail but there was testing capacity
> so I did run it through that. This recipe caused:
> 
> https://valkyrie.yoctoproject.org/#/builders/59/builds/140/steps/11/logs/stdio
> https://valkyrie.yoctoproject.org/#/builders/17/builds/144/steps/12/logs/stdio
> https://valkyrie.yoctoproject.org/#/builders/37/builds/169/steps/12/logs/stdio
> https://valkyrie.yoctoproject.org/#/builders/6/builds/153/steps/11/logs/stdio
> https://valkyrie.yoctoproject.org/#/builders/3/builds/162/steps/11/logs/stdio
> https://valkyrie.yoctoproject.org/#/builders/25/builds/154/steps/11/logs/stdio

Sorry about this. Looking into the details.

Cheers,

-Mikko


  reply	other threads:[~2024-09-22  8:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-19 14:36 [PATCH v3 00/12] systemd uki support Mikko Rapeli
2024-09-19 14:36 ` [PATCH v3 01/12] python3-pefile: add recipe from meta-openembedded Mikko Rapeli
2024-09-20  7:24   ` [OE-core] " Richard Purdie
2024-09-22  8:15     ` Mikko Rapeli [this message]
2024-09-19 14:36 ` [PATCH v3 02/12] maintainers.inc: add python3-pefile Mikko Rapeli
2024-09-19 14:36 ` [PATCH v3 03/12] systemd-boot-native: add runtime dependency to python3-pefile-native Mikko Rapeli
2024-09-19 14:36 ` [PATCH v3 04/12] uki.bbclass: add class for building Unified Kernel Images (UKI) Mikko Rapeli
2024-09-19 14:36 ` [PATCH v3 05/12] image_types_wic.bbclass: set systemd-boot and os-release dependency for all archs Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 06/12] wic bootimg-efi.py: keep timestamps and add debug prints Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 07/12] wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 08/12] oeqa selftest uki.py: add tests for uki.bbclass Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 09/12] oeqa selftest efibootpartition.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 10/12] oeqa selftest efibootpartition.py: remove systemd-boot from grub-efi test Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 11/12] oeqa selftest wic.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-09-19 14:37 ` [PATCH v3 12/12] oeqa selftest wic.py: support UKIs via uki.bbclass Mikko Rapeli
2024-09-20  7:26 ` [OE-core] [PATCH v3 00/12] systemd uki support Richard Purdie
2024-09-22  8:17   ` Mikko Rapeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zu_SP7szGXuBS_qw@nuoska \
    --to=mikko.rapeli@linaro.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox