Re: [hardknott][yocto-autobuilder-helper][PATCH] config.json: set max load in PARALLEL_MAKE
On Mon, Oct 25, 2021 at 9:46 AM Steve Sakoman <steve@...> wrote:
it was dunfell primarily
|
|
Re: [hardknott][yocto-autobuilder-helper][PATCH] config.json: set max load in PARALLEL_MAKE
Steve Sakoman
On Mon, Oct 25, 2021 at 6:46 AM Steve Sakoman via
lists.yoctoproject.org <steve=sakoman.com@...> wrote: Accidentally hit send :-) I intended to say that master has been running with this for quite some time now. Steve"XZ_MEMLIMIT = '5%'",
|
|
Re: [hardknott][yocto-autobuilder-helper][PATCH] config.json: set max load in PARALLEL_MAKE
Steve Sakoman
On Mon, Oct 25, 2021 at 6:09 AM Khem Raj <raj.khem@...> wrote:
Which branch did you test this with? I had some issues when I originally added it to dunfell but after the last patch series I am getting green a-full and meta-oe builds on the autobuilder. And master has been running with this for q Steve "XZ_MEMLIMIT = '5%'",
|
|
Re: [hardknott][yocto-autobuilder-helper][PATCH] config.json: set max load in PARALLEL_MAKE
On 10/25/21 7:07 AM, Anuj Mittal wrote:
From: Trevor Gamblin <trevor.gamblin@...>We have seen a lot of hung builds when we used this option internally on builders, Additionally some packages like bison started to fail intermittently which seemed like a parallel build issue but never got to see why it would happen only with -l enabled. So this change would need some testing before we make it permanent into AB "XZ_MEMLIMIT = '5%'",
|
|
Re: dunfell: pkgconfig-native build fails in existing Yocto BSP
Matthias Klein
Hello Richard,
Thanks for the quick help! Best regards, Matthias
|
|
[hardknott][yocto-autobuilder-helper][PATCH] config.json: set max load in PARALLEL_MAKE
Anuj Mittal
From: Trevor Gamblin <trevor.gamblin@...>
Add "-l 52" to PARALLEL_MAKE in config.json to limit Make and Ninja builds based on the detected system load. With this option added, if either tool has at least one job running and detects that the system load exceeds the given value, it will wait until either the system load average drops below that limit, or until all other jobs are finished before starting additional jobs. Since most autobuilder machines have 56 cores, this should help keep the system from being overloaded during builds. Reference: https://www.gnu.org/software/make/manual/html_node/Parallel.html Signed-off-by: Trevor Gamblin <trevor.gamblin@...> Signed-off-by: Richard Purdie <richard.purdie@...> (cherry picked from commit 5c5fc7bcd221427d34bbac80c9bad315fb6de4df) Signed-off-by: Anuj Mittal <anuj.mittal@...> --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 33d36ad..d397365 100644 --- a/config.json +++ b/config.json @@ -43,7 +43,7 @@ "PREMIRRORS = ''", "BB_GENERATE_MIRROR_TARBALLS = '1'", "BB_NUMBER_THREADS = '16'", - "PARALLEL_MAKE = '-j 16'", + "PARALLEL_MAKE = '-j 16 -l 52'", "XZ_MEMLIMIT = '5%'", "XZ_THREADS = '8'", "BB_TASK_NICE_LEVEL = '5'", -- 2.31.1
|
|
Alexander Kanavin
It's fine to inherit both classes and install both files without even checking DISTRO_FEATURES. There's behind the scenes magic that will do the right thing depending on what init manager is chosen in the distro config. Alex
On Mon, 25 Oct 2021 at 14:38, Bel Hadj Salem Talel <bhstalel@...> wrote: Hello,
|
|
Re: bbappend usage
Alexander Kanavin
There is no one-size-fits-all answer to this. It helps if you provide specifics: what components and what portions of them and why. Alex
On Mon, 25 Oct 2021 at 15:26, Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees=baesystems.com@...> wrote:
|
|
Re: bbappend usage
Monsees, Steven C (US)
I am looking to selectively remove portions of 1or 2 components I will not be using from my running image
toggle quoted messageShow quoted text
-----Original Message-----
From: yocto@... <yocto@...> On Behalf Of Leon Woestenberg Sent: Monday, October 25, 2021 9:12 AM To: Monsees, Steven C (US) <steven.monsees@...> Cc: yocto@... Subject: Re: [yocto] bbappend usage External Email Alert This email has been sent from an account outside of the BAE Systems network. Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar. Hello Steve, Is the approach where you remove the recipes from the image an option? Is there a reason why you want to build the recipes that you do not want to appear in your image? Regards, Leon. -- Leon Woestenberg leon@... T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www.sidebranch.com On Mon, Oct 25, 2021 at 2:55 PM Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees=baesystems.com@...> wrote:
|
|
Re: bbappend usage
Monsees, Steven C (US)
No, you got it wromg... I have a buildable image which has all the components necessary, I want to remove some overhead installed by some components that I will not be within my running application...
toggle quoted messageShow quoted text
-----Original Message-----
From: yocto@... <yocto@...> On Behalf Of Robert P. J. Day Sent: Monday, October 25, 2021 9:10 AM To: Monsees, Steven C (US) <steven.monsees@...> Cc: yocto@... Subject: Re: [yocto] bbappend usage External Email Alert This email has been sent from an account outside of the BAE Systems network. Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar. On Mon, 25 Oct 2021, Monsees, Steven C (US) via lists.yoctoproject.org wrote: If I am building an image “image-ABC”, and it is composed of a numberi would think start with defining a minimal image, then define other images based on that one which add more recipes. this has nothing to do with redefining the recipes, it just means defining more than one image. rday
|
|
Re: bbappend usage
Konrad Weihmann <kweihmann@...>
The super yoctoish way would be to alter the packaging of the recipe to your needs.
toggle quoted messageShow quoted text
Let's assume recipe-a consists of the files foo bar and it would package both files into recipe-a pkg. In the actual image you only install packages into a file system, so if you don't want bar to be installed into your final image, it'd be best to package bar into a separate package. PACKAGES_BEFORE_PN = "${PN}-bar" FILES:${PN}-bar = "bar" in this case the recipe would produce recipe-a (containing just foo) recipe-a-bar (containing just bar) You could install now (via IMAGE_INSTALL in your image recipe) just add recipe-a and only foo would be put into the final image. While a potential other image (IMAGE_INSTALL += "recipe-a-bar recipe-a") would contain both. But if you'd go down that road you have to make sure that runtime dependencies between the packages are met (using REDEPENDS:* statements), as otherwise it could turn into very hard to debug issues. So I would propose to **not** do that via bbappends, but forks of the recipes you want to repackage. Another option (as likely mentioned already) is to use rem_stuff() { rm ${IMAGE_ROOTFS}/<file you want to delete> } ROOTFS_POSTPROCESS_COMMAND += "rem_stuff;" in your image recipe
On 25.10.21 14:55, Monsees, Steven C (US) via lists.yoctoproject.org wrote:
Hello:
|
|
Re: bbappend usage
Leon Woestenberg
Hello Steve,
toggle quoted messageShow quoted text
Is the approach where you remove the recipes from the image an option? Is there a reason why you want to build the recipes that you do not want to appear in your image? Regards, Leon. -- Leon Woestenberg leon@... T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www.sidebranch.com On Mon, Oct 25, 2021 at 2:55 PM Monsees, Steven C (US) via lists.yoctoproject.org <steven.monsees=baesystems.com@...> wrote:
|
|
Re: bbappend usage
Robert P. J. Day
On Mon, 25 Oct 2021, Monsees, Steven C (US) via lists.yoctoproject.org wrote:
If I am building an image “image-ABC”, and it is composed of ai would think start with defining a minimal image, then define other images based on that one which add more recipes. this has nothing to do with redefining the recipes, it just means defining more than one image. rday
|
|
bbappend usage
Monsees, Steven C (US)
Hello:
If I am building an image “image-ABC”, and it is composed of a number recipes, and for some of these recipes I may NOT want to install their final components within my image…
Which is the best place to modify the build with bbappend ?
Would I modify a recipe’s do_install (do_install_append-recipe_xyz) ?, or would I modify the image recipe (do_install_append-image_ABC) I am leaning this way to avoid cases where the component recipes might have bbappends in place already ?
Looking for the proper Yocto way…
Thanks, Steve
|
|
Bel Hadj Salem Talel <bhstalel@...>
Hello,
I have a recipe that installs a simple bash script to run on startup. As you all know, there is systemd and sysvinit. I need to add support for both init managers. I can do : SRC_URI_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://script.service', 'file://script.sh', d)}" and I can do the same in all the tasks. The problem is, that I need to inherit either systemd or update-rc.d Is it possible to inherit them all, or how can I inherit something conditionally ? Thanks, Talel
|
|
Re: dunfell: pkgconfig-native build fails in existing Yocto BSP
Richard Purdie
On Mon, 2021-10-25 at 06:50 +0000, Matthias Klein wrote:
Hello,I just backported a uninative upgrade to dunfell which should address this issue. Cheers, Richard
|
|
Re: dunfell: pkgconfig-native build fails in existing Yocto BSP
Ahmed Hossam
Hello,
We also have the same issue with similar in-docker builds, a workaround for the issue is mentioned here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14519 until the fix is backported to dunfell. Best Regards, Ahmed Hossam
|
|
Konrad Weihmann <kweihmann@...>
No there isn't - with the yocto project you can build your own distribution not mimic other already available distributions.
toggle quoted messageShow quoted text
If you want to build Ubuntu you have to ask canonical.
On 25.10.21 09:41, keyurthumar0402@... wrote:
I want to build ubuntu distro using yocto.
|
|
keyurthumar0402@...
I want to build ubuntu distro using yocto. Is there a way for that ?
|
|
Re: How to enable graphics acceleration on qemux86-64?
Alexander Kanavin
On Sun, 24 Oct 2021 at 23:29, Manuel Wagesreither <ManWag@...> wrote:
Cheers :) you should also try this on bleeding edge master, it should work the same as hardknott, but if there are issues, you can make and send patches to fix them. Alex
|
|