Re: [yocto] Adding and using user in more than one recipe

2022-07-22 Thread Khem Raj
On Fri, Jul 22, 2022 at 5:23 PM Greg Wilson-Lindberg wrote: > > Hello list, > > I’m trying to understand how the extrauser and adduser packages are used and > interact in kirkstone. > > > > I need to add a user and I would like to also use this user in another > recipe. This had been working in

[yocto] Adding and using user in more than one recipe

2022-07-22 Thread Greg Wilson-Lindberg
Hello list, I'm trying to understand how the extrauser and adduser packages are used and interact in kirkstone. I need to add a user and I would like to also use this user in another recipe. This had been working in our previous builds using version of Yocto up to hardnot. We are in the process

Re: [yocto] [meta-security][PATCH V3] meta-security: Add recipe for libhoth

2022-07-22 Thread Khem Raj
On Fri, Jul 22, 2022 at 1:00 PM John Broadbent wrote: > > That is unexpected. > > The sha change should have changed the PAGE_SIZE to SPI_PAGE_SIZE, > correcting the macro shadowing issue. > See: > https://github.com/google/libhoth/commit/1622e8a040d21dd564fdc1cb4df5eda01688c197 > right, I missed

Re: [yocto] [meta-security][PATCH V3] meta-security: Add recipe for libhoth

2022-07-22 Thread John Broadbent via lists.yoctoproject.org
That is unexpected. The sha change should have changed the PAGE_SIZE to SPI_PAGE_SIZE, correcting the macro shadowing issue. See: https://github.com/google/libhoth/commit/1622e8a040d21dd564fdc1cb4df5eda01688c197 Thanks for very quick review John Broadbent On Fri, Jul 22, 2022 at 9:47 AM Khem Raj

Re: [yocto] [meta-security][PATCH V3] meta-security: Add recipe for libhoth

2022-07-22 Thread Khem Raj
On Fri, Jul 22, 2022 at 12:35 PM John Broadbent via lists.yoctoproject.org wrote: > > From: John Edward Broadbent > > Libhoth is usb protocol implementation which is required for hoth class > devices > > Signed-off-by: John Edward Broadbent > --- > meta-tpm/recipes-tpm/hoth/libhoth_git.bb | 17

[yocto] [meta-security][PATCH V3] meta-security: Add recipe for libhoth

2022-07-22 Thread John Broadbent via lists.yoctoproject.org
From: John Edward Broadbent Libhoth is usb protocol implementation which is required for hoth class devices Signed-off-by: John Edward Broadbent --- meta-tpm/recipes-tpm/hoth/libhoth_git.bb | 17 + 1 file changed, 17 insertions(+) create mode 100644 meta-tpm/recipes-tpm/hoth/l

Re: [yocto] Custom YOCTO meta-layer building on Ubuntu 20 but Not in Ubuntu 18.Why? #dunfell #yocto

2022-07-22 Thread Khem Raj
On Fri, Jul 22, 2022 at 9:28 AM wrote: > > Actually that was a problem with broken gcc package . It resolved when i > cleaned the gcc and rebuilt the image. > > Another Problem iam facing is we have actually 2 machine configurations , > Same kernel but different defconfig and dts files. For one

Re: [yocto] [meta-security][PATCH V2] meta-security: Add recipe for libhoth

2022-07-22 Thread Armin Kuster
Hello, On 7/21/22 17:26, John Broadbent via lists.yoctoproject.org wrote: From: John Edward Broadbent Libhoth is usb protocol implementation which is required for hoth class devices Signed-off-by: John Edward Broadbent --- meta-tpm/recipes-tpm/hoth/libhoth_git.bb | 17 + 1

Re: [yocto] Custom YOCTO meta-layer building on Ubuntu 20 but Not in Ubuntu 18.Why? #dunfell #yocto

2022-07-22 Thread sethu . m
Actually that was a problem with broken gcc package . It resolved when i cleaned the gcc and rebuilt the image. Another Problem iam facing is we have actually 2 machine configurations , Same kernel but different defconfig and dts files. For one machine config build iam getting the root login bu

Re: [yocto] Using custom python modules in classes and functions

2022-07-22 Thread Marek S?omiany
Thanks for your reply. I am aware that recipe-sysroot has to be populated before and that's fine with anonymous functions not working, but even if I make sure that recipe-sysroot and recipe-sysroot-native are populated it wont import in python functions. In the meantime I have found old mail from 2

Re: [yocto] Using custom python modules in classes and functions

2022-07-22 Thread Quentin Schulz
Hi Marek, On 7/22/22 08:53, Marek S?omiany wrote: Hello everyone, I am working on creating a custom class (basically own image signing) that will be using a client's python module, but to simplify I'll use as an example a python3 module Magic as it behaves in exactly the same way. I'm working o