Re: error when try to use sudo command in recipe
Alexander Kanavin
On Sun, 5 Feb 2023 at 05:15, SIMON BABY <simonkbaby@...> wrote:
Thank you for the reply.That layer is not maintained and you should not be using it. If you want to use containers, meta-virtualization is the supported way. Alex |
||
|
||
Re: error when try to use sudo command in recipe
SIMON BABY
Hi Richard,
Thank you for the reply. I was trying to add the layer https://github.com/savoirfairelinux/meta-embedded-containers in my yocto build. Below recipe uses sudo commands. https://github.com/savoirfairelinux/meta-embedded-containers/blob/b131baa90291c159d3a725b8d66786c85964556c/recipes-support/container-image/container-image.bb while building it fails at sudo command and getting the error below. sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set Regards Simon |
||
|
||
Re: Cmake CROSS COMPILE problem [PLEASE HELP, URGENT]
#sdk
#yocto
#toolchain
jijonath11@...
I am also facing the same issue while compiling grpc.
|
||
|
||
Re: error when try to use sudo command in recipe
Richard Purdie
On Fri, 2023-02-03 at 14:08 -0800, SIMON BABY wrote:
Hello team,You didn't say which task this was in, I'm going to guess it is one being run under pseudo, our fakeroot emulator. The fakeroot emulation doesn't work well with "real" sudo commands. Cheers, Richard |
||
|
||
[ANNOUNCEMENT] Milestone 2 for Yocto Project 4.2 (yocto-4.2_M2) Now Available
Lee Chee Yang
Hello We are pleased to announce the second milestone release for Yocto Project 4.2 (yocto-4.2_M2) is now available for download.
Download:
http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-4.2_M2
bitbake: c19035e8e71c419c5688a86bfc9c946c96f638e8 meta-agl: 09135164a21a216c6e3e75d7decce896b92962f0 meta-arm: d8383c11f3f8220d2b989ec73604e5faff988299 meta-aws: 7b4f54b3e1f675e2033f6a589ac519e44e62b58b meta-intel: b3c7d3ee44e4ab71df44b5be3c48d2f47d89d8a0 meta-mingw: 250617ffa524c082b848487359b9d045703d59c2 meta-openembedded: ceceffcb1e3ef4f9ba7708f77c27e30a7aea61e5 meta-virtualization: 31954471605ae3b41627a0ab7b0dcfe8c5851bd7 oecore: 493f2d163718d78560a2b3ad5d3c0fb34caae8c0 poky: 5e249ec855517765f4b99e8039cb888ffa09c211
Full Test Report:
http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-4.2_M2/testreport.txt
Thank you.
Chee Yang Yocto Project Build and Release |
||
|
||
error when try to use sudo command in recipe
SIMON BABY
Hello team,
I am getting the below error whe try to execute command in bitbake recipe having sudo. eg: sudo kill
|
||
|
||
Re: [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?
#raspberrypi
Joel Winarske
I created an issue: https://github.com/agherzan/meta-raspberrypi/issues/1147 I would use Kuzemko Aleksandr's solution in bbappend until there is support in meta-raspberrypi. |
||
|
||
Re: chrony pkg-config backport fix
#kirkstone
On 2023-02-02 10:15, Gary Huband via
lists.yoctoproject.org wrote:
There is a bug in the chrony Kirkstone recipe that was fixed in Langdale but has not been fixed in Kirkstone: Yes please, it does cherry-pick back cleanly but I didn't take the time to build/test. FYI: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded ../Randy meta-oe.git on kirkstone ❯ git log -6 --oneline langdale ^kirkstone
meta-networking/recipes-support/chrony/
-- # Randy MacLeod # Wind River Linux |
||
|
||
Re: [] [PATCH yocto-autobuilder-helper] config.json: set oe-time-dd-test.sh timeout to 3 seconds
On 2023-02-02 18:32, Randy MacLeod via
lists.yoctoproject.org wrote:
Sigh, that's obviously wrong since this data is only collected when running bitbake! Maybe it's the arm vs the intel workers? I'll stop speculating until I look at the data a bit more...
# Randy MacLeod # Wind River Linux |
||
|
||
Re: [OE-core] Getting rid of "The license listed LGPL-2.1-or-later was not in the licenses collected for recipe
NIKHIL PATIL <nikhilvp29@...>
---------- Forwarded message --------- From: NIKHIL PATIL <nikhilvp29@...> Date: Fri, Feb 3, 2023 at 7:46 PM Subject: Re: Re: [OE-core] Getting rid of "The license listed LGPL-2.1-or-later was not in the licenses collected for recipe To: <openembedded-core@...> Hi team ,
i have taken the recipes from upstream (kirkstone) and put it in dunfell branch . so now i am below warnings getting warnings [2023-02-02T14:54:09.524Z] WARNING: do_rootfs: The license listed LGPL-2.1-or-later was not in the licenses collected for recipe gnutls [2023-02-02T14:54:09.524Z] WARNING: do_rootfs: The license listed GPL-3.0-or-later was not in the licenses collected for recipe gnutls so for this i have added respective licenses in common-licenses and added path in layer.conf but still this warnings exists as well as i have tried multiple ways to resolve this but not happening . May I know what will be the possible solution for this ? THANKS IN ADVANCE |
||
|
||
Re: [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?
#raspberrypi
Joel Winarske
Hi, You should open issue with the upstream layer referencing this dialog: Joel On Thu, Feb 2, 2023, 11:18 PM Carles Sole via lists.yoctoproject.org <Carles.SoleMendi=de.bosch.com@...> wrote: Hello Joel, |
||
|
||
Re: Questions about some functions
Richard Purdie
On Thu, 2023-02-02 at 06:57 +0000, wangmy wrote:
I see the following two items on the page of 2022 Yocto Project Weekly Status Archive:You can find the code here: https://git.yoctoproject.org/git-refinery-web/ We've had a few issues deploying an instance of it unfortunately. 2. Thinking about the idea of variable “filter” functions to helpThere are some examples of filter functions here: https://git.yoctoproject.org/poky-contrib/log/?h=jpew/bb-filters It is very much a work in progress idea. Cheers, Richard |
||
|
||
Re: [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?
#raspberrypi
Carles Sole
Hello Joel,
I do get the same, but my understanding is that the RT features are not enabled. I would expect to get: Linux raspberrypi4-64 5.15.34-v8 #1 SMP PREEMPT RT Tue Apr 19 19:21:26 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux When I check the .config file in the work folder CONFIG_PREEMPT=y is set but I would expect to see CONFIG_PREEMPT_RT=y instead. That is what you get for rpi4 32 bit as mentioned by Aleksandr above. Is my understanding wrong? |
||
|
||
Re: QA notification for completed autobuilder build (yocto-4.0.7.rc1)
Jing Hui Tham
Hi All,
toggle quoted message
Show quoted text
QA for yocto-4.0.7.rc1 is completed. This is the full report for this release: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. No new issue found. Thanks, Jing Hui -----Original Message----- |
||
|
||
Re: [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?
#raspberrypi
Joel Winarske
In the case of kirkstone, this is what I get using `LINUX_KERNEL_TYPE = "preempt-rt"`: Linux raspberrypi4-64 5.15.34-v8 #1 SMP PREEMPT Tue Apr 19 19:21:26 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux I've experienced KERNEL_FEATURE conflicts using meta-virtualization with DISTRO_FEATURES += "virtualization kvm" with meta-raspberrypi. Where the fragment applied is not compatible with Aarch64, and it just disables the linux-raspberrypi default config. It's quite possible you are also experiencing something similar. I would check the kernel build logs and see what fragments are being applied, and if there are any complaints with any of them. The error may be a single line in a log file, and not entirely descriptive. More context here: https://github.com/agherzan/meta-raspberrypi/pull/1141 On Thu, Feb 2, 2023 at 2:24 AM Carles Sole via lists.yoctoproject.org <Carles.SoleMendi=de.bosch.com@...> wrote: Hello Joel, |
||
|
||
Re: [] [PATCH yocto-autobuilder-helper] config.json: set oe-time-dd-test.sh timeout to 3 seconds
On 2023-02-02 17:10, Randy MacLeod via
lists.yoctoproject.org wrote:
I don't know why there are two peaks that you can easily see on the linear scale distribution I'm guessing but I suspect that the lower latency distribution is just from when the Yocto AB workers are idle. The builders in the cluster at WR
are always -- # Randy MacLeod # Wind River Linux |
||
|
||
Re: [] [PATCH yocto-autobuilder-helper] config.json: set oe-time-dd-test.sh timeout to 3 seconds
On 2023-02-02 17:00, Randy MacLeod via
lists.yoctoproject.org wrote:
For the month of January 2023, the distribution of dd times has a long tail that extends to 13 seconds with 2 events exceeding the current limit of 30 seconds. Reduce the timeout to 3 seconds based on the observed distribution of dd times, which would result in the timout triggering about 20 times a month. That's enough data to be useful but not so much that it's overwhelming the logging or the people who will analyze it. It also avoids the rapid increase in the tail of the distribution which starts to rise exponentially under 2 seconds. It's sensible response time for people to expect the system to have.
See attached graphs! I don't know why there are two peaks that you can easily see on
the linear scale distribution Below is histogram data for a 0.1 second bin of the tail of the distribution. I can share the raw data or the 0.001 ms binned version if anyone
is interested. ../Randy 53 1.0 Signed-off-by: Randy MacLeod <Randy.MacLeod@...> --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 446528a..e50ec44 100644 --- a/config.json +++ b/config.json @@ -68,7 +68,7 @@ "RUNQEMU_TMPFS_DIR = '/home/pokybuild/tmp'", "BB_HEARTBEAT_EVENT = '60'", "BB_LOG_HOST_STAT_ON_INTERVAL = '1'", - "BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 15'", + "BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 3'", "BB_LOG_HOST_STAT_ON_FAILURE = '1'", "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'", "SDK_TOOLCHAIN_LANGS += 'rust'",
-- # Randy MacLeod # Wind River Linux |
||
|
||
[] [PATCH yocto-autobuilder-helper] config.json: set oe-time-dd-test.sh timeout to 3 seconds
For the month of January 2023, the distribution of dd times has a long
tail that extends to 13 seconds with 2 events exceeding the current limit of 30 seconds. Reduce the timeout to 3 seconds based on the observed distribution of dd times, which would result in the timout triggering about 20 times a month. That's enough data to be useful but not so much that it's overwhelming the logging or the people who will analyze it. It also avoids the rapid increase in the tail of the distribution which starts to rise exponentially under 2 seconds. It's sensible response time for people to expect the system to have. Signed-off-by: Randy MacLeod <Randy.MacLeod@...> --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 446528a..e50ec44 100644 --- a/config.json +++ b/config.json @@ -68,7 +68,7 @@ "RUNQEMU_TMPFS_DIR = '/home/pokybuild/tmp'", "BB_HEARTBEAT_EVENT = '60'", "BB_LOG_HOST_STAT_ON_INTERVAL = '1'", - "BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 15'", + "BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 3'", "BB_LOG_HOST_STAT_ON_FAILURE = '1'", "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'", "SDK_TOOLCHAIN_LANGS += 'rust'", -- 2.34.1 |
||
|
||
chrony pkg-config backport fix
#kirkstone
Gary Huband
There is a bug in the chrony Kirkstone recipe that was fixed in Langdale but has not been fixed in Kirkstone:
https://lists.openembedded.org/g/openembedded-devel/message/99080?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cchrony+pkg-config%2C20%2C2%2C0%2C94155994 This adds pkgconfig to the inherit line to allow configure to find pkg-config. Without this fix the recipe cannot build some features like NTS. How to get this fix into Kirkstone? Do I submit a patch? |
||
|
||
Re: Adding openjdk-11 to Yocto
Spore, David
Looking forward to the patches too. Thanks for working on it!
toggle quoted message
Show quoted text
David -----Original Message-----
From: Richard Leitner <dev@...> Sent: Thursday, February 2, 2023 1:19 AM To: Robert Joslyn <robert.joslyn@...> Cc: yocto@...; Spore, David <DSpore@...> Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to Yocto CAUTION: This email originated from outside of Parraid. Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Feb 01, 2023 at 07:32:00PM -0800, Robert Joslyn wrote: ... Sure, I can expand the recipe for additional architectures. A quick look at the other downloads shows they have builds for x86, x86-64, arm, aarch64, ppc64, sparcv9 and s390x. I don’t think Yocto supports sparc or s390, but accommodating the others should be straightforward. I should be able to get the time to put a patch together later this week.Sounds great! Looking forward to your patches. Please ensure this mail address <dev@...> in on Cc. Thanks! regards;rl
|
||
|