Re: [OE-core] [RESEND][PATCH 1/7] bitbake: utils: remove spaces on empty lines

2023-12-04 Thread Alexandre Belloni via lists.openembedded.org
Please do not send bitbake patches in the same series as oe-core patches if there is no dependency. Those patches are applied on different repositories. On 04/12/2023 16:59:28+0100, Julien Stephan wrote: > Signed-off-by: Julien Stephan > --- > bitbake/lib/bb/utils.py | 16 > 1

Re: [OE-core] [PATCH] lib/oe/patch: handle creating patches for CRLF sources

2023-12-04 Thread Alexandre Belloni via lists.openembedded.org
Hello, This doesn't apply on master, can you rebase? On 27/11/2023 14:49:03+0100, Yoann Congal wrote: > Using devtool to patch CRLF based sources creates patch files which have > mixed end of lines : LF for headers and CRLF for source context and > modified lines. > > Python open(...,

Re: [OE-core] [PATCH v2 0/9] Several fixes around recipetool appendsrcfile(s) and oe.recipeutils.bbappend_recipe

2023-12-04 Thread Alexandre Belloni via lists.openembedded.org
Hello, The series doesn't apply on master, can you rebase? On 04/12/2023 16:25:54+0100, Julien Stephan wrote: > Hi all, > > I was trying to use recipetool appendsrcfile to add a file to a recipe and I > noticed several issues: > * -m is not correctly supported > * recipetool appendsrfile(s)

Re: [OE-core] [PATCH v2] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-04 Thread Alexandre Belloni via lists.openembedded.org
Hello, On 05/12/2023 13:52:01+0800, Yu, Mingli wrote: > From: Mingli Yu > > Add systemd-sshd-socket-mode PACKAGECONFIG option to choose sshd.socket > and systemd-sshd-service-mode PACKAGECONFIG option to choose installing > sshd.service. > > The systemd-sshd-socket-mode PACKAGECONFIG option is

[OE-core] Patchtest results for [PATCH 1/2] gettext: Upgrade 0.22.3 -> 0.22.4

2023-12-04 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/1-2-gettext-Upgrade-0.22.3---0.22.4.patch FAIL: test Signed-off-by presence: Mbox is missing Signed-off-by. Add it

[OE-core] Patchtest results for [PATCH 1/3] systemtap: upgrade 4.9 -> 5.0

2023-12-04 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/1-3-systemtap-upgrade-4.9---5.0.patch FAIL: test Signed-off-by presence: A patch file has been added without a

[OE-core] [PATCH 0/2] meta: Upgrade gettext and nfs-utils

2023-12-04 Thread Robert Yang via lists.openembedded.org
From: Robert Yang The following changes since commit d2c4e8cb85c6a5ca37c7990f879c3b650df5770b: vte: Separate out gtk4 pieces of vte into individual packages (2023-12-04 12:45:20 +) are available in the Git repository at: https://github.com/robertlinux/yocto rbt/upgrade

[OE-core] [PATCH 2/2] nfs-utils: Upgrade 2.6.3 -> 2.6.4

2023-12-04 Thread Robert Yang via lists.openembedded.org
From: Robert Yang Remove backported patch 0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch. Signed-off-by: Robert Yang --- ...event-and-libsqlite3-checked-when-nf.patch | 80 --- ...{nfs-utils_2.6.3.bb => nfs-utils_2.6.4.bb} | 3 +- 2 files changed, 1

[OE-core] [PATCH 1/2] gettext: Upgrade 0.22.3 -> 0.22.4

2023-12-04 Thread Robert Yang via lists.openembedded.org
From: Robert Yang >From NEWS: Version 0.22.4 - November 2023 * Bug fixes: - AM_GNU_GETTEXT now recognizes a statically built libintl on macOS and AIX. - Build fixes on AIX. Signed-off-by: Robert Yang --- ...inimal-native_0.22.3.bb => gettext-minimal-native_0.22.4.bb} | 0

[OE-core] [PATCH 3/3] systemtap-uprobes: removed as obsolete

2023-12-04 Thread Victor Kamensky
systemtap-uprobes package was not used for a long time - since kernel itself provided uprobes support. Now source code of old uprobes kernel module was removed from systemtap git repo by "PR30434 continuation: Removed old uprobes, uprobes2 implementation, uprobes-inc.h & any mentions of

[OE-core] [PATCH 1/3] systemtap: upgrade 4.9 -> 5.0

2023-12-04 Thread Victor Kamensky
Similar to 4.9 release, in 5.0 release release-5.0 tag is off any branch, release-5.0a tag e72dc118e563c645d93a1a2d771e8d90e8fec1ae is on the master branch. Use this value for SRCREV and add catch up patch, 0001-prerelease-datestamp-fixes.patch, to bring source up to release-5.0 tag level. Remove

[OE-core] [PATCH 2/3] systemtap: do not install uprobes and uprobes sources

2023-12-04 Thread Victor Kamensky
Addresses the following do_package_qa warning: WARNING: systemtap-5.0-r0 do_package_qa: QA Issue: File /usr/share/systemtap/runtime/linux/uprobes/Makefile in package systemtap contains reference to TMPDIR File /usr/share/systemtap/runtime/linux/uprobes/git_version.h in package systemtap

[OE-core] [PATCH v2] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-04 Thread Yu, Mingli
From: Mingli Yu Add systemd-sshd-socket-mode PACKAGECONFIG option to choose sshd.socket and systemd-sshd-service-mode PACKAGECONFIG option to choose installing sshd.service. The systemd-sshd-socket-mode PACKAGECONFIG option is enabled by default and user can customize the above two

Re: [OE-core] [master][PATCH 2/2] rootfs-postcommands.bbclass: add post func remove_unused_dnf_log_lock

2023-12-04 Thread Changqing Li
On 7/18/23 04:22, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. This merged to master and it should not have happened. I'm sending a revert. Alex

[OE-core][dunfell 3/3] linux-yocto/5.4: update to v5.4.262

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 8e221b47173d Linux 5.4.262 b053223b7cf4 netfilter: nf_tables: bogus EBUSY when deleting flowtable after flush (for 5.4) c35df8b8c572 netfilter: nf_tables: disable toggling

[OE-core][dunfell 2/3] linux-yocto/5.4: update to v5.4.260

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 87e8e7a7aa1f Linux 5.4.260 8b0ecf2167a0 tty: 8250: Add support for Intashield IS-100 6dd5561b2385 tty: 8250: Add support for Brainboxes UP cards 03145e0ff8ab tty: 8250: Add

[OE-core][dunfell 1/3] linux-yocto/5.4: update to v5.4.258

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 02f78c59a0ed Linux 5.4.258 f70c285cf02c xen/events: replace evtchn_rwlock with RCU e2614ab16a7e ima: rework CONFIG_IMA dependency block b5c3bc4b8104 NFS: Fix a race in

[OE-core][kirkstone 3/4] linux-yocto/5.10: update to v5.10.202

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 479e8b892541 Linux 5.10.202 610057f4f6e0 interconnect: qcom: Add support for mask-based BCMs 7ce66afcaaf6 netfilter: nf_tables: disable toggling dormant table state more than

[OE-core][kirkstone 2/4] linux-yocto/5.10: update to v5.10.200

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 3e55583405ac Linux 5.10.200 a5feaf765935 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection 9109649559f9 tty: 8250: Add support for Intashield IS-100 73bcb4d44988

[OE-core][kirkstone 1/4] linux-yocto/5.10: update to v5.10.198

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: a8d812240fdd Linux 5.10.198 660627c71bc1 xen/events: replace evtchn_rwlock with RCU 1e3d016a9506 mmc: renesas_sdhi: only reset SCC when its pointer is populated a7d86a77c33b

[OE-core][kirkstone 0/4] linux-yocto: -stable updates

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Steve, Much like my last pull request to Richard, this has been generated from a newly provisioned machine after my old machine of 10 years had a disk failure. Let me know if you have any issues with this, and I'll debug what I missed when configuring the new box. Bruce

[OE-core] [PATCH 4/7] linux-yocto-dev: bump to v6.7

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index b59442781c..a85f85e4c3

[OE-core] [PATCH 7/7] linux-yocto/6.1: update to v6.1.65

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: c6114c845984 Linux 6.1.65 66ecd1cd8b0c io_uring: fix off-by one bvec index 812171018e47 USB: dwc3: qcom: fix wakeup after probe deferral 72ef87bb8e5d USB: dwc3: qcom: fix

[OE-core] [PATCH 6/7] linux-yocto/6.5: update to v6.5.13

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 4631960b4700 Linux 6.5.13 a9d6c0c5a6bd net/mlx5e: Track xmit submission to PTP WQ after populating metadata map c712654d6f36 net/mlx5e: Avoid referencing skb after free-ing in

[OE-core] [PATCH 5/7] linux-yocto/6.5: update to v6.5.12

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: fa1be4637aad Linux 6.5.12 39ee8317876f btrfs: make found_logical_ret parameter mandatory for function queue_scrub_stripe() 1c44debc30d2 perf parse-events: Fix driver config term

[OE-core] [PATCH 0/7] linux-yocto: consolidated pull request

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Richard, Here's my latest -stable updates for 6.1 and 6.5 as well as the bump of the dev kernel to v6.7 I have more pending changes: the 6.6 reference kernel and associated libc-headers updates, as well as the eventual drop of 6.1 from the tree. But this is my first full

[OE-core] [PATCH 2/7] linux-yocto/6.5: update to v6.5.11

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 799441832db1 Linux 6.5.11 dd1756d79179 ASoC: SOF: sof-pci-dev: Fix community key quirk detection aab16960e6e7 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection

[OE-core] [PATCH 3/7] linux-yocto/6.1: update to v6.1.62

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: fb2635ac69ab Linux 6.1.62 585da49ad62c ASoC: SOF: sof-pci-dev: Fix community key quirk detection c1c15b09f456 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection

[OE-core] [PATCH 1/7] linux-yocto/6.5: cfg: split runtime and symbol debug

2023-12-04 Thread Bruce Ashfield
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/.: 1/1 [ Author: Bruce Ashfield Email: bruce.ashfi...@gmail.com Subject: debug: move PREEMPT_DEBUG to a runtime debug fragment Date: Thu, 9 Nov 2023 12:08:31 -0500 For tools like spdx and debuggers to

Re: [OE-core] [PATCH] openssh: Add SSHD_SERVICE_TYPE variable

2023-12-04 Thread Yu, Mingli
Hi Richard, On 12/4/23 19:07, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 2023-12-04 at 16:54 +0800, Yu, Mingli wrote: From: Mingli Yu There

[OE-core] Patchtest results for [dunfell][PATCH 1/2] epiphany: fix CVE-2022-29536

2023-12-04 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/dunfell-1-2-epiphany-fix-CVE-2022-29536.patch FAIL: test CVE tag format: Missing or incorrectly formatted CVE tag

[OE-core] [dunfell][PATCH 2/2] qemu: ignore CVE-2021-20295 CVE-2023-2680

2023-12-04 Thread Lee Chee Yang
From: Lee Chee Yang Ignore RHEL specific CVE-2021-20295 CVE-2023-2680. Signed-off-by: Lee Chee Yang --- meta/recipes-devtools/qemu/qemu.inc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index

[OE-core] [dunfell][PATCH 1/2] epiphany: fix CVE-2022-29536

2023-12-04 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../recipes-gnome/epiphany/epiphany_3.34.4.bb | 1 + .../epiphany/files/CVE-2022-29536.patch | 46 +++ 2 files changed, 47 insertions(+) create mode 100644 meta/recipes-gnome/epiphany/files/CVE-2022-29536.patch diff

[OE-core] [PATCH] python3-pygments: upgrade 2.16.1 -> 2.17.2

2023-12-04 Thread Tim Orling
* Drop redundant DEPENDS * PEP-517 backend is now hatchling -> inherit python_hatchling * Drop PYPI_PACKAGE as upstream download filename is now "pygments" * Add UPSTREAM_CHECK_PYPI_PACKAGE since upstream path is still "/Pygments/" https://github.com/pygments/pygments/blob/2.17.2/CHANGES

[OE-core] [PATCH] libxcrypt.inc: use alternatives to resolve crypt.3 conflict

2023-12-04 Thread Changqing Li
From: Changqing Li To fix: Error: Transaction test error: file /usr/share/man/man3/crypt.3 from install of libcrypt-doc-4.4.33-r0.x86_64 conflicts with file from package man-pages-6.04-r0.x86_64 Signed-off-by: Changqing Li --- meta/recipes-core/libxcrypt/libxcrypt.inc | 7 ++- 1

[OE-core] [PATCH] python3-bcrypt: upgrade 4.0.1 -> 4.1.1

2023-12-04 Thread Tim Orling
* Refresh -crates.inc https://github.com/pyca/bcrypt/blob/4.1.1/README.rst#changelog 4.1.1 * Fixed the type signature on the kdf method. 4.1.0 * Dropped support for Python 3.6. * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the BCRYPT_ALLOW_RUST_163 environment

Re: [PATCH] [OE-core] [PATCHv2] elfutils: upgrade 0.189 -> 0.190

2023-12-04 Thread Alexandre Belloni via lists.openembedded.org
Hello, This fails with musl: https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/8232/steps/11/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/8262/steps/12/logs/stdio New ptest failure:

[mickledore][oe-core][PATCH 1/1] gnutls: update to version 3.8.2

2023-12-04 Thread Joe Slater via lists.openembedded.org
From: Joe Slater De-fuzz existing patches. Do not update PACKAGECONFIG to match master. Signed-off-by: Joe Slater --- ...ile-should-be-excuted-in-target-envi.patch | 2 -- .../gnutls/gnutls/Add-ptest-support.patch | 10 ++- .../gnutls/gnutls/arm_eabi.patch | 6 ++--

[OE-core] [PATCH 3/3] meta-yocto-bsp/oeqa/parselogs: add BSP-specific ignores

2023-12-04 Thread Ross Burton
From: Ross Burton Add machine-specific ignores from oe-core to meta-yocto-bsp. Signed-off-by: Ross Burton --- .../runtime/cases/parselogs-ignores-beaglebone-yocto.txt | 4 .../oeqa/runtime/cases/parselogs-ignores-genericx86-64.txt | 7 +++ 2 files changed, 11 insertions(+) create

[OE-core] [PATCH 2/3] oeqa/runtime/parselogs: migrate ignores

2023-12-04 Thread Ross Burton
From: Ross Burton Move the ignores from a huge dict in the parselogs.py module to .txt files. This is just the common, tune, and qemu machine ignores; the machine ignores that are not in oe-core will be added to the relevant layers. The list of ignores has not been reviewed in any meaningful

[OE-core] [PATCH 0/3] Move parselog ignores from code to data

2023-12-04 Thread Ross Burton
From: Ross Burton Hi, This series changes the parselogs runtime QA test so that the list of warnings to ignore is not embedded in a huge dictionary but instead read at test time from text files in the layers. The generic ignores remain in oe-core, but ignores that are specific to e.g.

[OE-core] [PATCH 1/3] oeqa/runtime/parselogs: load ignores from disk

2023-12-04 Thread Ross Burton
From: Ross Burton Instead of hardcoding the list of ignored errors/warnings in the test itself, read them plain text files on disk. This uses importlib to try to open a file called oeqa.runtime.cases.parselogs-ignores-[candidate].txt, where the candidate will be: - "common" - The TARGET_ARCH -

[OE-core] Patchtest results for [RESEND][PATCH 1/7] bitbake: utils: remove spaces on empty lines

2023-12-04 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/RESEND-1-7-bitbake-utils-remove-spaces-on-empty-lines.patch FAIL: test commit message presence: Please include a

[OE-core] Patchtest results for [RESEND][PATCH 6/7] oeqa/selftest/recipetool: remove spaces on empty lines

2023-12-04 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/RESEND-6-7-oeqa-selftest-recipetool-remove-spaces-on-empty-lines.patch FAIL: test commit message presence: Please

[OE-core] [RESEND][PATCH 0/7] Devtool/Recipetool: adding pypi support

2023-12-04 Thread Julien Stephan
Hello all, This series adds basic support for the pypi class in devtool/recipetool. The idea is to be able to detect that a package is available on pypi and in that case inherits from pypi class. This helps to produce cleaner recipes for pypi packages. To do this, I am adding a new optional

[OE-core] [RESEND][PATCH 7/7] oeqa/selftest/recipetool/devtool: add test for pypi class

2023-12-04 Thread Julien Stephan
recipetool now supports the pypi class and python recipes can by created using the new following syntax: * recipetool create https://pypi.org/project/ * recipetool create https://pypi.org/project// * recipetool create https://pypi.org/project/ --version or the old syntax: * recipetool create

[OE-core] [RESEND][PATCH 6/7] oeqa/selftest/recipetool: remove spaces on empty lines

2023-12-04 Thread Julien Stephan
Signed-off-by: Julien Stephan --- meta/lib/oeqa/selftest/cases/recipetool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 55cbba9ca74..4bc28a4f2ee 100644 ---

[OE-core] [RESEND][PATCH 5/7] recipetool: create_buildsys_python: add pypi support

2023-12-04 Thread Julien Stephan
Today, we can use devtool/recipetool to create recipes for python projects using the github url or the direct release tarball of the project, but the create_buildsys_python plugin doesn't support the pypi class, since we cannot know from the extracted source if the package is available on pypi or

[OE-core] [RESEND][PATCH 4/7] recipetool: create: add new optional process_url callback for plugins

2023-12-04 Thread Julien Stephan
Add a new process_url callback that plugins can optionally implement if they which to handle url. Plugins can implement this callback for example, to: * transform the url * add special variables using extravalues * add extra classes * ... If a plugin handles the url, it must append 'url' to the

[OE-core] [RESEND][PATCH 1/7] bitbake: utils: remove spaces on empty lines

2023-12-04 Thread Julien Stephan
Signed-off-by: Julien Stephan --- bitbake/lib/bb/utils.py | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index b401fa5ec7a..61ffad92ce3 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@

[OE-core] [RESEND][PATCH 2/7] recipetool: create_buildsys_python.py: initialize metadata

2023-12-04 Thread Julien Stephan
In the case pyproject.toml doesn't contains metadatas, the metadata variable is not initialized and the plugin throws an error and falls back to another plugin, which is not the desired behaviour. So just ignore metadata if we don't have them Signed-off-by: Julien Stephan ---

[OE-core] [RESEND][PATCH 3/7] recipetool: create: add trailing newlines

2023-12-04 Thread Julien Stephan
create_recipe() function relies on oe.recipeutils.patch_recipe_lines() which relies on bb.utils.edit_metadata(). edit_metada expect lines to have trailing newlines, so add it to each lines before calling patch_recipe_lines, otherwise edit_metadata will not be able to squash blank line if there are

[OE-core] Patchtest results for [PATCH v2 6/9] recipeutils: bbappend_recipe: allow to patch the recipe itself

2023-12-04 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/v2-6-9-recipeutils-bbappend_recipe-allow-to-patch-the-recipe-itself.patch FAIL: test max line length: Patch line

[OE-core] [PATCH v2 7/9] recipetool: appendsrcfile(s): add a mode to update the recipe itself

2023-12-04 Thread Julien Stephan
Add a new option -u/--update-recipe to update the recipe itself instead of creating/updating a bbappend file Signed-off-by: Julien Stephan --- scripts/lib/recipetool/append.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/append.py

[OE-core] [PATCH v2 0/9] Several fixes around recipetool appendsrcfile(s) and oe.recipeutils.bbappend_recipe

2023-12-04 Thread Julien Stephan
Hi all, I was trying to use recipetool appendsrcfile to add a file to a recipe and I noticed several issues: * -m is not correctly supported * recipetool appendsrfile(s) are missing a usefull dry-run mode * appendsrc function relies on oe.recipeutils.bbappend_recipe but duplicates some code:

[OE-core] [PATCH v2 8/9] oeqa/selftest/recipetool: appendsrfile: add test for machine

2023-12-04 Thread Julien Stephan
Add a new test for machine specific bbappend override Signed-off-by: Julien Stephan --- meta/lib/oeqa/selftest/cases/recipetool.py | 44 +++--- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py

[OE-core] [PATCH v2 5/9] recipetool: appendsrcfile(s): use params instead of extraline

2023-12-04 Thread Julien Stephan
appendsrc function relies on oe.recipeutils.bbappend_recipe to copy files and add the corresponding entries in SRC_URI. Currently, appendsrc function build itself the new SRC_URI entry to add the correct subdir param, and gives it using the extralines parameter. This has 2 drawbacks: -

[OE-core] [PATCH v2 9/9] oeqa/selftest/recipetool: appendsrc: add test for update mode

2023-12-04 Thread Julien Stephan
add a basic test for testing the update mode of recipetool appendsrcfile(s) Signed-off-by: Julien Stephan --- meta/lib/oeqa/selftest/cases/recipetool.py | 28 ++ 1 file changed, 28 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py

[OE-core] [PATCH v2 6/9] recipeutils: bbappend_recipe: allow to patch the recipe itself

2023-12-04 Thread Julien Stephan
Add a new parameter update_original_recipe to allow to patch a recipe instead of creating/updating a bbappend Signed-off-by: Julien Stephan --- meta/lib/oe/recipeutils.py | 35 +-- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git

[OE-core] [PATCH v2 4/9] recipeutils: bbappend_recipe: remove old srcuri entry if parameters are different

2023-12-04 Thread Julien Stephan
Currently we do not add a new src_ury entry if the entry already exists AND the parameters are the same. I believe that when an entry already exist with different parameters, we should remove it and add the new entry otherwise we end up with two entries with different parameters Signed-off-by:

[OE-core] [PATCH v2 2/9] recipeutils: bbappend_recipe: fix undefined variable

2023-12-04 Thread Julien Stephan
In the case get_bbappend_path returns None (could not find the layer containing the recipe) the error message tries to print the recipefile, but it is not defined. Fix it. Signed-off-by: Julien Stephan --- meta/lib/oe/recipeutils.py | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH v2 3/9] recipeutils: bbappend_recipe: add a way to specify the name of the file to add

2023-12-04 Thread Julien Stephan
bbappend_recipe can take a dict of source files to add to SRC_URI where the key is the full path to the file to be added and the value is the original file in the recipe space. Modify the dict value to use a tupple: (originalfile, newname), to allow specifying the name of the file we would like

[OE-core] [PATCH v2 1/9] recipetool: appendsrcfile(s): add dry-run mode

2023-12-04 Thread Julien Stephan
Add dry-run mode for recipetool appendsrcfile and appendsrcfiles, with if necessary, a diff of changes Signed-off-by: Julien Stephan --- scripts/lib/recipetool/append.py | 33 +++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH v3] image-live: Add support for building EFI-bootable ISO images for non-x86-based archs

2023-12-04 Thread Andrey Popov
Hello, Alex! I have doubts that the entire isoparser class set could be inlined, that would occupy around 1200 lines in total. https://github.com/barneygale/isoparser/tree/master/isoparser Three functions that are used to find the file using this class set are 32 lines long in total. Best

Re: [OE-core] [PATCH v3] image-live: Add support for building EFI-bootable ISO images for non-x86-based archs

2023-12-04 Thread Alexander Kanavin
How big is the script? Can it be 'inlined' into the class as a set of functions? Alex On Mon, 4 Dec 2023 at 14:33, Andrey Popov wrote: > > Hello, Alexandre! > > Thank you for the feedback. > I think I can eliminate the xorriso/libisoburn dependency by replacing it > with a python script that

Re: [OE-core] [PATCH v3] image-live: Add support for building EFI-bootable ISO images for non-x86-based archs

2023-12-04 Thread Andrey Popov
Hello, Alex! With this patch applied, targets that request image-live and do not define pcbios feature should not depend on syslinux anymore. However, this patch requires an external tool (or, at least, isoparser python package to be imported inside the class) to determine the efi.img offset

Re: [OE-core] [PATCH v3] image-live: Add support for building EFI-bootable ISO images for non-x86-based archs

2023-12-04 Thread Alexander Kanavin
On Thu, 30 Nov 2023 at 17:16, Andrey Popov wrote: > - # EFI only > - if [ "${PCBIOS}" != "1" ] && [ "${EFI}" = "1" ] ; then > - # Work around bug in isohybrid where it requires isolinux.bin > - # In the boot catalog, even though it is not used > -

[OE-core] [kirkstone][PATCH] rust-llvm: Allow overriding LLVM target archs

2023-12-04 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Move the default value into a variable which can be overridden to match more accurately the use case specific scenario. (From OE-Core rev: 645370e85d8742d0614cd52ca7507b5df2d38ad8) Signed-off-by: Niko Mauno Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie ---

Re: [OE-core] [PATCH v3] image-live: Add support for building EFI-bootable ISO images for non-x86-based archs

2023-12-04 Thread Andrey Popov
Hello, Alexandre! Thank you for the feedback. I think I can eliminate the xorriso/libisoburn dependency by replacing it with a python script that I've created which uses modified version of isoparser python package. However, I am not aware of the correct way to include this tool into

Re: [OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-12-04 Thread Alexander Kanavin
On Mon, 4 Dec 2023 at 13:48, Lukas Funke wrote: > You're probably right. A little context is always helpful. > > From the top: the proposed change is setting the commit-hash in > exported patches to all-zero. > > When devtool is updating the recipes using 'devtool update-recipe > ' it figures

Re: [OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-12-04 Thread Lukas Funke
Hi Alex, On 04.12.2023 11:54, Alexander Kanavin wrote: On Mon, 4 Dec 2023 at 11:48, Lukas Funke wrote: Unfortunately, the patch indeed causes the tests to fail. The problamatic lines are in the 'lib\devtool\standard.py': if len(firstlineitems) > 1 and len(firstlineitems[1]) == 40:

Re: [OE-core] [PATCH] openssh: Add SSHD_SERVICE_TYPE variable

2023-12-04 Thread Richard Purdie
On Mon, 2023-12-04 at 16:54 +0800, Yu, Mingli wrote: > From: Mingli Yu > > There are two types of sshd server now, one is based on socket > activation(sshd.socket) and another is service activation(sshd.service). > And the default sshd service type is based on socket by default as below.

Re: [OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-12-04 Thread Alexander Kanavin
On Mon, 4 Dec 2023 at 11:48, Lukas Funke wrote: > Unfortunately, the patch indeed causes the tests to fail. The > problamatic lines are in the 'lib\devtool\standard.py': > > if len(firstlineitems) > 1 and len(firstlineitems[1]) == 40: > if not firstlineitems[1] in changed_revs: >

Re: [OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-12-04 Thread Lukas Funke
Hi Richard, On 27.11.2023 14:45, Richard Purdie wrote: On Wed, 2023-11-22 at 15:08 +0100, Lukas Funke wrote: From: Lukas Funke The patch series aims to reduce the noise in patches created by devtools. Some diffs are just introduced due to an update in the hash or in the diffstats. These

[OE-core] [PATCH] avahi: update URL for new project location

2023-12-04 Thread Ross Burton
From: Ross Burton Avahi has moved to a new parent organisation on GitHub, so update the URLs to match. Signed-off-by: Ross Burton --- meta/recipes-connectivity/avahi/avahi_0.8.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [OE-core] [PATCH] ldconfig-native: Add usrmerge support

2023-12-04 Thread Alexander Kanavin
Generally if you mark something as inappropriate, it's best to write an extended description of why in the patch. The barrier to adding patches that we can never upstream is high. Alex On Mon, 4 Dec 2023 at 07:53, Johannes Pointner wrote: > > Hello, > > On Sat, Dec 2, 2023 at 4:13 PM Alexandre

Re: [OE-core] Patchtest results for [PATCH] tiff: Backport fixes for CVE-2023-6277

2023-12-04 Thread Alexander Kanavin
Is this a different patchtest issue to the one that was fixed? Alex On Sun, 3 Dec 2023 at 17:33, Patchtest wrote: > > Thank you for your submission. Patchtest identified one > or more issues with the patch. Please see the log below for > more information: > > --- > Tests failed for the patch,

Re: [OE-core] [PATCH v2] rust-common.bbclass: Define rust arch for x32 platforms

2023-12-04 Thread Alexander Kanavin
Thanks for this one, I hope we can finally get that vte update in :) Alex On Sat, 2 Dec 2023 at 01:09, Khem Raj wrote: > > Signed-off-by: Khem Raj > --- > v2: Change 'if' to 'elif' to make it part of if else block > > meta/classes-recipe/rust-common.bbclass | 2 ++ > 1 file changed, 2

[OE-core] [PATCH] openssh: Add SSHD_SERVICE_TYPE variable

2023-12-04 Thread Yu, Mingli
From: Mingli Yu There are two types of sshd server now, one is based on socket activation(sshd.socket) and another is service activation(sshd.service). And the default sshd service type is based on socket by default as below. # systemctl status

[OE-core] [PATCH v1] documentation.conf: fix do_menuconfig description

2023-12-04 Thread Joao Marcos Costa via lists.openembedded.org
From: Joao Marcos Costa The current description is only pertinent to the kernel, even though do_menuconfig task is used by other projects, such as Busybox and U-Boot. Replace "for the kernel" by an agnostic alternative (i.e., "in the compilation directory"). Signed-off-by: Joao Marcos Costa