* task where various types of images are generated. This disabled
the possibility to test a specific type of image (eg. a FIT image).
As rm_work is called as a postprocess of image_complete, qa_image can be done
after image as long as it is done before image_complete.
Signed-off-by: Louis Rannou
From: Louis Rannou
Make ImageQAFailed inherit BBHandledException so exceptions raised in tests are
catched when the actual test function is executed by bb.utils.better_exec.
Change the do_image_qa tasks so errors are handled with oe.qa.handle_error. Add
some comment to explain this requires to
) )
Instead, we may develop a wic plugin that builds the desired verity partition.
Please tell me if there is any interest
Regards,
Louis Rannou
General
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#198983):
https://lists.openembedded.org/g
to return the list of existing
SPDX3LicenseExpression and SPDX3SimpleLicensingText
Split function convert_license_to_spdx into three separate functions and adapt
them to match spdx3.0 classes
Signed-off-by: Samantha Jalabert
Signed-off-by: Louis Rannou
---
meta/classes/create-spdx-3.0.bbc
fix issue in selftest due to spdx bump
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/selftest/cases/spdx.py | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/spdx.py
b/meta/lib/oeqa/selftest/cases/spdx.py
index 05fc4e390b
From: Samantha Jalabert
Support for dependencies to provide the complete recipe SPDX.
Support for runtime SPDX
Support for combined SPDX
Signed-off-by: Samantha Jalabert
Signed-off-by: Louis Rannou
---
meta/classes/create-spdx-2.2.bbclass | 1 -
meta/classes/create-spdx-3.0.bbclass | 389
From: Samantha Jalabert
Create a function to generate spdxIds
Create a function to generate relationship and remove add_relationship method
Implement both functions
Signed-off-by: Samantha Jalabert
Signed-off-by: Louis Rannou
---
meta/classes/create-spdx-3.0.bbclass | 73
From: Samantha Jalabert
Change functions and tasks to match the SPDX 3 model.
Signed-off-by: Samantha Jalabert
Signed-off-by: Louis Rannou
---
meta/classes/create-spdx-3.0.bbclass | 731 +--
meta/lib/oe/spdx3.py | 4 +-
2 files changed, 230
remove stuff which are hard to fix and low value
Signed-off-by: Louis Rannou
---
meta/classes/create-spdx-3.0.bbclass | 109 ++-
1 file changed, 5 insertions(+), 104 deletions(-)
diff --git a/meta/classes/create-spdx-3.0.bbclass
b/meta/classes/create-spdx-3.0.bbclass
From: Marta Rybczynska
Add a specific readme for SPDX3 with open questions and other notes
related to the PoC.
Signed-off-by: Marta Rybczynska
Signed-off-by: Samantha Jalabert
Signed-off-by: Louis Rannou
---
README.SPDX3 | 45 +
1 file changed, 45
This changes the prototype of write_doc as the SPDX3 documentation does not
specify yet which is the root element.
Signed-off-by: Louis Rannou
Signed-off-by: Marta Rybczynska
Signed-off-by: Samantha Jalabert
---
meta/classes/create-spdx.bbclass | 2 +-
meta/lib/oe/sbom.py | 6
Create SPDX3 objects that classes as they are described in the SPDX3 model.
Signed-off-by: Louis Rannou
Signed-off-by: Samantha Jalabert
---
meta/lib/oe/spdx3.py | 386 +++
1 file changed, 386 insertions(+)
create mode 100644 meta/lib/oe/spdx3.py
diff
Create a function that search into a json-ld instead of completely loading it.
Signed-off-by: Louis Rannou
---
meta/lib/oe/sbom.py | 32
meta/lib/oe/spdx3.py | 13 +++--
2 files changed, 39 insertions(+), 6 deletions(-)
diff --git a/meta/lib/oe/sbom.py
Extend objects used to build the spdx scheme:
- add support for inheritance
- hide all attributes starting by _spdx
- add methods to list properties and item pairs
- improve the serializer to match the spdx3 scheme
Signed-off-by: Louis Rannou
---
meta/lib/oe/sbom.py | 2 +-
meta/lib/oe
Initialize the work on SPDX 3 with a copy of the SPDX 2.2. Change default to
SPDX 3.
Signed-off-by: Marta Rybczynska
Signed-off-by: Louis Rannou
---
meta/classes/create-spdx-3.0.bbclass | 1158 ++
1 file changed, 1158 insertions(+)
create mode 100644 meta/classes
progress still. Our questions and open points are available
in the README.SPDX3 file.
Louis Rannou (7):
create-spdx-3.0: copy 2.2 class
oe/spdx: extend spdx.py objects
oe/sbom: change the write_doc to prepare for spdx3
create-spdx-3.0: SPDX3 objects as classes
oe/sbom: search into json
From: Louis Rannou
Modifying the sources brings troubles in the devtool command. Therefore it is
better to patch the source with a custom variable, and later replace it with the
correct root path.
Suggestion from :
<https://lore.kernel.org/all/db5pr02mb102137939de6d43e423a9d29
On 06/10/2023 15:16, Julien Stephan wrote:
Le jeu. 5 oct. 2023 à 22:55, Louis Rannou a écrit :
From: Louis Rannou
Modifying the sources brings troubles in the devtool command. Therefore it is
better to patch the source with a custom variable, and later replace it with the
correct root
From: Louis Rannou
Modifying the sources brings troubles in the devtool command. Therefore it is
better to patch the source with a custom variable, and later replace it with the
correct root path.
Suggestion from :
<https://lore.kernel.org/all/db5pr02mb102137939de6d43e423a9d29
d02.prod.outlook.com/>
Signed-off-by: Louis Rannou
Suggested-by: Peter Kjellerstedt
---
...usersd-Change-the-user-root-s-home-direct.patch | 32 ++
meta/recipes-core/systemd/systemd_253.3.bb | 11
2 files changed, 38 insertions(+), 5 deletions(-)
diff --git
On 29/06/2023 16:04, Richard Purdie wrote:
On Thu, 2023-06-29 at 15:50 +0200, Louis Rannou wrote:
On 29/06/2023 14:59, Richard Purdie wrote:
On Thu, 2023-06-29 at 12:37 +, Louis Rannou wrote:
Append the install task to move the python library from ${base_libdir}
to
On 29/06/2023 14:59, Richard Purdie wrote:
On Thu, 2023-06-29 at 12:37 +, Louis Rannou wrote:
Append the install task to move the python library from ${base_libdir}
to ${PYTHON_SITEPACKAGES_DIR}.
Signed-off-by: Louis Rannou
---
As we install libraries of util-linux in ${base_libdir} (/lib
Hello, please find an answer to the last comment
On 19/06/2023 14:10, Louis Rannou wrote:
Hello,
On 16/06/2023 18:51, Peter Kjellerstedt wrote:
-Original Message-
From: openembedded-core@lists.openembedded.org
On Behalf Of Louis Rannou
Sent: den 15 juni 2023 13:44
To: openembedded
Append the install task to move the python library from ${base_libdir}
to ${PYTHON_SITEPACKAGES_DIR}.
Signed-off-by: Louis Rannou
---
As we install libraries of util-linux in ${base_libdir} (/lib), the
python library pylibmount is also installed there. An issue was raised
when pylibmount was
On 18/06/2023 11:37, Alexandre Belloni wrote:
On 15/06/2023 13:43:55+0200, Louis Rannou wrote:
The wheel group is not declared while it can be used to access the systemd
journal and to configure printers in CUPS. It can also be used for su and sudo
permissions.
So far it was created later in
Hello,
On 16/06/2023 18:51, Peter Kjellerstedt wrote:
-Original Message-
From: openembedded-core@lists.openembedded.org
On Behalf Of Louis Rannou
Sent: den 15 juni 2023 13:44
To: openembedded-core@lists.openembedded.org
Cc: Louis Rannou ; anuj.mit...@intel.com
Subject: [OE-core
is unset by default.
Signed-off-by: Louis Rannou
---
Louis Rannou (3):
rootfs-postcommands: change sysusers.d command
systemd: replace the sysusers.d basic configuration
base-passwd: add the wheel group
meta/classes-recipe/rootfs-postcommands.bbclass| 133 +-
n the
`/etc/passwd` and `/etc/group` of the target rootfs.
Signed-off-by: Louis Rannou
---
meta/classes-recipe/rootfs-postcommands.bbclass | 133 +++-
1 file changed, 109 insertions(+), 24 deletions(-)
diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass
b/meta/classes-r
The default sysusers basic.conf.in file sets the root home directory to `/root`
and does not permit its configuration. Replace the file delivered by systemd so
the root home directory matches the `ROOT_HOME` variable.
Signed-off-by: Louis Rannou
---
meta/recipes-core/systemd/systemd
The wheel group is not declared while it can be used to access the systemd
journal and to configure printers in CUPS. It can also be used for su and sudo
permissions.
So far it was created later in the rootfs postcommand systemd_create_users.
Signed-off-by: Louis Rannou
---
.../base-passwd
Hello, below is a counter proposition including some work in the systemd
recipe,
On 08/06/2023 13:56, Louis Rannou wrote:
On 08/06/2023 12:36, Richard Purdie wrote:
On Thu, 2023-06-08 at 12:28 +0200, Louis Rannou wrote:
Hello,
On 08/06/2023 11:19, Richard Purdie wrote:
On Wed, 2023-06
On 08/06/2023 12:36, Richard Purdie wrote:
On Thu, 2023-06-08 at 12:28 +0200, Louis Rannou wrote:
Hello,
On 08/06/2023 11:19, Richard Purdie wrote:
On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote:
Hello again,
a python solution could be one below.
Also, I found that most of users
Hello,
On 08/06/2023 11:19, Richard Purdie wrote:
On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote:
Hello again,
a python solution could be one below.
Also, I found that most of users/groups defined there are redundant as
they already exist (such as root). I guess they are defined from
+useradd_command.extend(['--system', sname])
+subprocess.run(useradd_command)
+elif stype == 'g':
+groupadd_command = ['groupadd']
+ if sid != '-':
+gro
so I don't know if the parsing should completely check the sysusers
syntax as said in the manual (first field is [urgm], second is
alphanum_-, etc.). In my opinion it should not as this will be made by
the useradd command.
Do you think it worth to add some testing about that ? I am not sur
On 05/05/2023 12:50, Richard Purdie wrote:
On Fri, 2023-05-05 at 10:32 +, Ross Burton wrote:
On 11 Apr 2023, at 16:05, Louis Rannou via lists.openembedded.org
wrote:
Create a new runner run_serial_socket which usage matches the traditional ssh
runner. Its return status is 0 when the
Hello Luca,
You are correct, thanks !
Louis
On 12/04/2023 09:57, Luca Ceresoli wrote:
Hello Louis,
On Tue, 11 Apr 2023 17:05:02 +0200
"Louis Rannou" wrote:
[YOCTO #15021]
Create a new runner run_serial_socket which usage matches the traditional ssh
Nit: I'm not a native
.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/targetcontrol.py| 3 ++
meta/lib/oeqa/utils/qemurunner.py | 57 +++
2 files changed, 60 insertions(+)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index d686fe07ec..3707883da7 100644
--- a
Prefer the new function run_serial_socket. Change calls where the modification
is easy.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/selftest/cases/debuginfod.py | 3 ++-
meta/lib/oeqa/selftest/cases/gdbserver.py | 7 ---
meta/lib/oeqa/selftest/cases/locales.py| 8
meta/lib
call to run_serial to run_serial_socket. But that is not easy as each test can
have a different manner to handle the exception.
Therefore, the second patch only change dummy calls to the serial runner.
Louis Rannou (2):
oeqa/utils/qemurunner: change the serial runner
oeqa/selftest: change
://autobuilder.yoctoproject.org/typhoon/#builders/80/builds/4994/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#builders/79/builds/5045/steps/15/logs/stdio
Hello,
Indeed, the overlayfs test was not supposed to remain in the commit
Louis
On 07/04/2023 16:26:22+0200, Louis Rannou wrote:
Prefer the
Prefer the new function run_serial_socket. Change calls where the modification
is easy.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/selftest/cases/debuginfod.py | 3 +-
meta/lib/oeqa/selftest/cases/gdbserver.py | 7 ++--
meta/lib/oeqa/selftest/cases/locales.py| 8 ++---
meta/lib/oeqa
.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/targetcontrol.py| 3 ++
meta/lib/oeqa/utils/qemurunner.py | 57 +++
2 files changed, 60 insertions(+)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index d686fe07ec..3707883da7 100644
--- a
call to run_serial to run_serial_socket. But that is not easy as each test can
have a different manner to handle the exception.
Therefore, the second patch only change dummy calls to the serial runner.
Louis Rannou (2):
oeqa/utils/qemurunner: change the serial runner
oeqa/selftest: change
On 29/03/2023 12:53, Richard Purdie wrote:
On Fri, 2023-03-03 at 10:01 +0100, Louis Rannou wrote:
The actual serial runner has a different usage compare to the ssh runner. The
return status is different and failure are not raised as exceptions.
Initially, I wanted to create a new
.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/targetcontrol.py| 3 ++
meta/lib/oeqa/utils/qemurunner.py | 57 +++
2 files changed, 60 insertions(+)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 1fdff82889..99fbcb5879 100644
--- a
call to run_serial to run_serial_socket. But that is not easy as each test
can have a different manner to handle the exception.
Therefore, this patch only suggest a new runner and add a comment to deprecate
the former runner.
Louis Rannou (1):
oeqa/utils/qemurunner: change the serial runner
change tests to use the new serial runner run_serial_socket instead of the
deprecated run_serial.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/runtime/cases/_qemutiny.py | 2 +-
meta/lib/oeqa/selftest/cases/overlayfs.py| 20
meta/lib/oeqa/selftest/cases/package.py | 4
.
Signed-off-by: Louis Rannou
---
meta/lib/oeqa/targetcontrol.py| 3 +++
meta/lib/oeqa/utils/qemurunner.py | 42 ---
2 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 1fdff82889
On 02/02/2023 14:58, Louis Rannou wrote:
On 02/02/2023 11:53, Richard Purdie wrote:
On Thu, 2023-02-02 at 11:41 +0100, Louis Rannou wrote:
On 01/02/2023 18:57, Richard Purdie wrote:
On Wed, 2023-02-01 at 16:02 +0100, Louis Rannou wrote:
I was able to take a quick look at this. The locale
On 02/02/2023 11:53, Richard Purdie wrote:
On Thu, 2023-02-02 at 11:41 +0100, Louis Rannou wrote:
On 01/02/2023 18:57, Richard Purdie wrote:
On Wed, 2023-02-01 at 16:02 +0100, Louis Rannou wrote:
I was able to take a quick look at this. The locale generation on
target is broken, it throws
On 01/02/2023 18:57, Richard Purdie wrote:
On Wed, 2023-02-01 at 16:02 +0100, Louis Rannou wrote:
On 01/02/2023 14:49, Richard Purdie wrote:
On Fri, 2023-01-27 at 16:33 +0100, Louis Rannou wrote:
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS,
ENABLE_BINARY_LOCALE_GENERATION set.
The tests has two cases: GLIBC_GENERATE_LOCALES=1 and
GLIBC_GENERATE_LOCALES=0. When
On 01/02/2023 14:49, Richard Purdie wrote:
On Fri, 2023-01-27 at 16:33 +0100, Louis Rannou wrote:
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS,
ENABLE_BINARY_LOCALE_GENERATION set.
The tests has two cases: GLIBC_GENERATE_LOCALES=1 and
GLIBC_GENERATE_LOCALES=0. When
On 26/01/2023 11:15, Richard Purdie wrote:
On Thu, 2023-01-26 at 11:09 +0100, Louis Rannou wrote:
On 26/01/2023 11:02, Richard Purdie wrote:
On Wed, 2023-01-25 at 09:31 +0100, Louis Rannou wrote:
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This
On 26/01/2023 11:02, Richard Purdie wrote:
On Wed, 2023-01-25 at 09:31 +0100, Louis Rannou wrote:
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS
From: Louis Rannou
[YOCTO #9070]
Add a new selftest to validate the locales generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS,
ENABLE_BINARY_LOCALE_GENERATION set. The locales are tested through a ssh
connection in three manners: checks if the locales
58 matches
Mail list logo