* [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images
@ 2023-12-22 13:19 michael.opdenacker
2023-12-22 14:13 ` Alexander Kanavin
0 siblings, 1 reply; 5+ messages in thread
From: michael.opdenacker @ 2023-12-22 13:19 UTC (permalink / raw)
To: yocto; +Cc: Michael Opdenacker, Alexander Kanavin
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
For the binary distro effort, we want to implement a test that generates a feed
of packages, typically from the tip of a release branch (or master), and then
try to use this feed to update an image generated for the latest tag (release
or milestone) on this branch.
This patch makes it possible to use the images produced for releases
at https://downloads.yoctoproject.org/releases/yocto/, as they currently
don't have package management enabled.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Alexander Kanavin <alex.kanavin@gmail.com>
---
Note: could not test this change!
Changes in V2:
- Add context to the commit message
---
config.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config.json b/config.json
index d504d07..bd0135e 100644
--- a/config.json
+++ b/config.json
@@ -74,7 +74,8 @@
"BB_LOG_HOST_STAT_ON_FAILURE = '1'",
"BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'",
"SDK_TOOLCHAIN_LANGS += 'rust'",
- "BB_SERVER_TIMEOUT = '60'"
+ "BB_SERVER_TIMEOUT = '60'",
+ "EXTRA_IMAGE_FEATURES += 'package-management'",
]
},
"templates" : {
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images
2023-12-22 13:19 [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images michael.opdenacker
@ 2023-12-22 14:13 ` Alexander Kanavin
2023-12-22 15:24 ` Michael Opdenacker
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Kanavin @ 2023-12-22 14:13 UTC (permalink / raw)
To: michael.opdenacker; +Cc: yocto
Thanks for explaining - I would instead make a 'poky-binary-distro'
distro configuration in meta-poky, and collect all needed settings in
there.
Placing this in config.json significantly changes how all of the
images on autobuilder are assembled and tested, particularly there is
no testing of images without package management anymore.
I would in general want to avoid adding any further 'global tweaks'
that override oe-core or poky defaults.
Alex
On Fri, 22 Dec 2023 at 14:19, <michael.opdenacker@bootlin.com> wrote:
>
> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>
> For the binary distro effort, we want to implement a test that generates a feed
> of packages, typically from the tip of a release branch (or master), and then
> try to use this feed to update an image generated for the latest tag (release
> or milestone) on this branch.
>
> This patch makes it possible to use the images produced for releases
> at https://downloads.yoctoproject.org/releases/yocto/, as they currently
> don't have package management enabled.
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> CC: Alexander Kanavin <alex.kanavin@gmail.com>
>
> ---
> Note: could not test this change!
>
> Changes in V2:
> - Add context to the commit message
> ---
> config.json | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/config.json b/config.json
> index d504d07..bd0135e 100644
> --- a/config.json
> +++ b/config.json
> @@ -74,7 +74,8 @@
> "BB_LOG_HOST_STAT_ON_FAILURE = '1'",
> "BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'",
> "SDK_TOOLCHAIN_LANGS += 'rust'",
> - "BB_SERVER_TIMEOUT = '60'"
> + "BB_SERVER_TIMEOUT = '60'",
> + "EXTRA_IMAGE_FEATURES += 'package-management'",
> ]
> },
> "templates" : {
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images
2023-12-22 14:13 ` Alexander Kanavin
@ 2023-12-22 15:24 ` Michael Opdenacker
2023-12-22 16:04 ` Alexander Kanavin
0 siblings, 1 reply; 5+ messages in thread
From: Michael Opdenacker @ 2023-12-22 15:24 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: yocto, Richard Purdie
Hi Alex,
On 22.12.23 at 15:13, Alexander Kanavin wrote:
> Thanks for explaining - I would instead make a 'poky-binary-distro'
> distro configuration in meta-poky, and collect all needed settings in
> there.
>
> Placing this in config.json significantly changes how all of the
> images on autobuilder are assembled and tested, particularly there is
> no testing of images without package management anymore.
>
> I would in general want to avoid adding any further 'global tweaks'
> that override oe-core or poky defaults.
Thanks for your advice! Actually, I wasn't sure how to make the change.
If I understand correctly, even after I define a new
'poky-binary-distro' distro in meta-poky (if agreed), I'll still have to
add a new image to config.json, but indeed not touching existing ones.
Richard, would you be open to this suggestion?
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images
2023-12-22 15:24 ` Michael Opdenacker
@ 2023-12-22 16:04 ` Alexander Kanavin
2023-12-22 18:46 ` Michael Opdenacker
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Kanavin @ 2023-12-22 16:04 UTC (permalink / raw)
To: Michael Opdenacker; +Cc: yocto, Richard Purdie
On Fri, 22 Dec 2023 at 16:24, Michael Opdenacker
<michael.opdenacker@bootlin.com> wrote:
> If I understand correctly, even after I define a new
> 'poky-binary-distro' distro in meta-poky (if agreed), I'll still have to
> add a new image to config.json, but indeed not touching existing ones.
You don't need new images, but you would have to define a new builder
entry in config.json that would set DISTRO to poky-binary-distro, and
then build exiting images, and do additional steps (e.g. publish the
package feeds).
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images
2023-12-22 16:04 ` Alexander Kanavin
@ 2023-12-22 18:46 ` Michael Opdenacker
0 siblings, 0 replies; 5+ messages in thread
From: Michael Opdenacker @ 2023-12-22 18:46 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: yocto, Richard Purdie
Hi Alex,
On 22.12.23 at 17:04, Alexander Kanavin wrote:
> On Fri, 22 Dec 2023 at 16:24, Michael Opdenacker
> <michael.opdenacker@bootlin.com> wrote:
>> If I understand correctly, even after I define a new
>> 'poky-binary-distro' distro in meta-poky (if agreed), I'll still have to
>> add a new image to config.json, but indeed not touching existing ones.
> You don't need new images, but you would have to define a new builder
> entry in config.json that would set DISTRO to poky-binary-distro, and
> then build exiting images, and do additional steps (e.g. publish the
> package feeds).
Thanks for these clarifications, that helps!
However, if the same images are built, but with different distro
settings, I still need to figure out where they will be generated,
unlike the images on https://downloads.yoctoproject.org/releases/yocto/.
Thanks again
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-22 18:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-22 13:19 [PATCH yocto-autobuilder-helper v2] config.json: add "package-management" to images michael.opdenacker
2023-12-22 14:13 ` Alexander Kanavin
2023-12-22 15:24 ` Michael Opdenacker
2023-12-22 16:04 ` Alexander Kanavin
2023-12-22 18:46 ` Michael Opdenacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox