Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-17 Thread Jörg Sommer via lists . yoctoproject . org
Khem Raj via lists.yoctoproject.org schrieb am Do 16. Jan, 17:45 (-0800): > On Thu, Jan 16, 2025 at 11:38 AM Bills, Jason M via > lists.yoctoproject.org > wrote: > > > > Hello, > > > > I recently pulled down this change that fixes an issue with EXTRA_IMAGECMD > > support for squashfs-xz: > > htt

Re: [yocto] python3-ctypes pulls in ldconfig when no DISTRO_FEATURE

2024-11-20 Thread Jörg Sommer via lists . yoctoproject . org
Gyorgy Sarvari schrieb am Mi 20. Nov, 19:56 (+0100): > Isn't ldconfig a must for python3-ctypes? It[0] seems to call the ldconfig > binary directly. I'd expect the package to break (at least for some > usecases) without ldconfig. > > [0]: > https://github.com/python/cpython/blob/6c1a4fb6d40082715

Re: [yocto] python3-ctypes pulls in ldconfig when no DISTRO_FEATURE

2024-11-20 Thread Jörg Sommer via lists . yoctoproject . org
Jörg Sommer via lists.yoctoproject.org schrieb am Mi 20. Nov, 20:40 (+0100): > According to GitHub's code search this is the only usage that provides a > proper fallback: > > def find_library(name): > # See issue #9998 > return _findSoname_ldconfig(name) or \ >

[yocto] python3-ctypes pulls in ldconfig when no DISTRO_FEATURE

2024-11-20 Thread Jörg Sommer via lists . yoctoproject . org
Hi, I'm unsure, because I'm not familiar with the python source. I've removed the DISTRO_FEATURE ldconfig, but python3-ctypes pulls in ldconfig unconditionally. Is this correct? Shouldn't the code in poky/meta/recipes-devtools/python/python3_3.12.6.bb look like this: RDEPENDS:${PN}-ctypes:append

Re: [yocto] Sanity check on a flashing process design

2024-11-18 Thread Jörg Sommer via lists . yoctoproject . org
Uy Ha via Lists.Yoctoproject.Org schrieb am Mo 18. Nov, 00:26 (-0800): > I think this only works if I can interact with the storage (e.g an SD > card) from my workstation, is that correct? How did you run `gzwrite`? You can use dd the same way. > Because my iMX6 has the eMMC storage builtin, henc

Re: [yocto] Sanity check on a flashing process design

2024-11-17 Thread Jörg Sommer via lists . yoctoproject . org
Uy Ha via lists.yoctoproject.org schrieb am So 17. Nov, 08:48 (-0800): > Currently, I have  a functional Yocto image in `.wic.gz` format, and I > have a ~7GB eMMC storage. I then set the size for the partition in my > `.wks` to ~7GB also, but this makes the flashing process painfully long > (by doi

Re: [yocto] How to install a debian package in the host. Having problems with tar subprocess with dpkg-native

2024-10-14 Thread Jörg Sommer via lists . yoctoproject . org
Adrian Freihofer via lists.yoctoproject.org schrieb am Fr 11. Okt, 21:33 (GMT): > Maybe you can extract the Deb file independently from bitbake with tar and > provide the binaries as a simple tar archive. This would allow to use > bitbake's fetcher to download the tar and unpack the binaries into W

[yocto] [ptest-runner][PATCH] ptest_list_remove: Fix pointer adjustment of prev and next

2024-08-19 Thread Jörg Sommer via lists . yoctoproject . org
From: Jörg Sommer The back pointer of the next list element was not updated. This lead to SEGV under some circumstances. Signed-off-by: Jörg Sommer --- ptest_list.c | 5 +++- tests/ptest_list.c | 64 ++ 2 files changed, 68 insertions(+), 1 del

[yocto] Where to send patches for ptest?

2024-08-19 Thread Jörg Sommer via lists . yoctoproject . org
Hi, where does the development of ptest happen? What's the right place to send patches to? I've created a commit on a Github repo, but it doesn't get any attention. https://github.com/alimon/ptest-runner2/compare/master...jo-so-nx:ptest-runner2:master Kind regards Jörg smime.p7s Description

Re: [yocto] Building #kernelmodule s, move from #kirkstone to #scarthgap but no RPMs created.

2024-08-14 Thread Jörg Sommer via lists . yoctoproject . org
Markus via lists.yoctoproject.org schrieb am Di 13. Aug, 23:58 (GMT): > Building to *.ko files still works fine, and I can see them in the image/ and > package/ folder > > kirkstone: > > - > image/lib/modules/5.15.150-rt72-yocto-preempt-rt/misc/men_bb_chameleon_pcitbl.ko > - > package/lib/modu

Re: [yocto] Exception during boot process, any ideas?

2024-07-15 Thread Jörg Sommer via lists . yoctoproject . org
Gerd Kautzmann via lists.yoctoproject.org schrieb am Mo 15. Jul, 10:25 (GMT): > sh: cannot set terminal process group (-1): Inappropriate ioctl for device > sh: no job control in this shell > sh-5.2# exit > exit[7.716845] Kernel panic - not syncing: Attempted to kill init! > exitcode=0x000

[yocto] How to get u-boot beside the image, but not inside

2024-07-05 Thread Jörg Sommer via lists . yoctoproject . org
Hi, for setting up a device I need a bootloader and I choose u-boot. How can I build u-boot along the image, but not include it in the image? I found EXTRA_IMAGEDEPENDS and added (`+=`) virtual/bootloader in my machine.conf. But this only works on the first fresh build. I didn't found the reason,

Re: [yocto] Cannot ssh into qemu guest

2024-03-12 Thread Jörg Sommer via lists . yoctoproject . org
On 09.03.24 19:58, Xylopyrographer via lists.yoctoproject.org wrote: > Thanks for the reply. > > Still a bit green with all this but from the QEMU VM, *sshd* is running > and port 22 is open. > > Checked by running: > *ps aux | grep sshd > *and > *netstat -plant | grep :22 > > *as well, I can te

Re: [yocto] Using SBOM/spdx with DependencyTrack/CyclonDX

2024-03-04 Thread Jörg Sommer via lists . yoctoproject . org
Thanks for the hint about the timing. My script worked, but because of the required wait before VEX upload it showed bad and inconsistent results. Here is the new version. Regards, Jörg -- Navimatix GmbH Tatzendpromenade 2 07745 Jena T: 03641 - 327 99 0 F: 03641 - 526 306 M: joerg.som...@

[yocto] Using SBOM/spdx with DependencyTrack/CyclonDX

2024-03-03 Thread Jörg Sommer via lists . yoctoproject . org
Hi, does anyone use DependencyTrack https://dependencytrack.org/ to analyse CVE vulnerabilities? I've created a script to convert the spdx.tar.zst to a CycloneDX JSON and upload this to DependencyTrack. But I'm having the problem that CVEs fixed in Yocto by patches are not reflected in the spdx

Re: [yocto] How to build two images with different settings of a recipe in Yocto

2024-01-28 Thread Jörg Sommer via lists . yoctoproject . org
Thanks for your reply. It helps, but I see some issues with the ROOTFS_POSTPROCESS_COMMAND. For the config file this is a possible solution. But what can I do if I need code changes? SSH announced they'll disable DSA support by default in a few months and for all other images except one I would

[yocto] How to build two images with different settings of a recipe in Yocto

2024-01-26 Thread Jörg Sommer via lists . yoctoproject . org
[I posted this question on Stackoverflow: https://stackoverflow.com/q/77871008/8452187] I have two images with the same distro and the same machine and each image should contain the same package, but build with different settings. For example, the config file sshd_config is part of the opensshd

[yocto] Call bitbake while bitbake is running

2023-11-02 Thread Jörg Sommer via lists . yoctoproject . org
Hi, is it possible to run bitbake while bitbake is running? I'm starting `bitbake -c menuconfig virtual/kernel` and would like to call `diffconfig` while I'm doing configuration. The best would be from the other window of tmux. Is this possible? Kind regards Jörg Sommer -- Navimatix GmbH Tatzen