Message ID | 20231222114826.812055-1-michael.opdenacker@bootlin.com |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder-helper] config.json: add "package-management" to images | expand |
Wait, why? Alex On Fri, 22 Dec 2023 at 12:48, Michael Opdenacker via lists.yoctoproject.org <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote: > > From: Michael Opdenacker <michael.opdenacker@bootlin.com> > > Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> > > --- > Note: could not test this change! > --- > 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 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#62020): https://lists.yoctoproject.org/g/yocto/message/62020 > Mute This Topic: https://lists.yoctoproject.org/mt/103317023/1686489 > Group Owner: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
And also, why here, and not in oe-core? Any such custom tweaks add to the friction and mismatches between local builds and autobuilder builds, especially when one fails but not the other. Alex On Fri, 22 Dec 2023 at 12:51, Alexander Kanavin via lists.yoctoproject.org <alex.kanavin=gmail.com@lists.yoctoproject.org> wrote: > > Wait, why? > > Alex > > On Fri, 22 Dec 2023 at 12:48, Michael Opdenacker via > lists.yoctoproject.org > <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote: > > > > From: Michael Opdenacker <michael.opdenacker@bootlin.com> > > > > Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> > > > > --- > > Note: could not test this change! > > --- > > 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 > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#62021): https://lists.yoctoproject.org/g/yocto/message/62021 > Mute This Topic: https://lists.yoctoproject.org/mt/103317023/1686489 > Group Owner: yocto+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Hi Alex, Thanks for reviewing this patch. On 22.12.23 at 12:52, Alexander Kanavin wrote: > And also, why here, and not in oe-core? Any such custom tweaks add to > the friction and mismatches between local builds and autobuilder > builds, especially when one fails but not the other. > > Alex > > On Fri, 22 Dec 2023 at 12:51, Alexander Kanavin via > lists.yoctoproject.org <alex.kanavin=gmail.com@lists.yoctoproject.org> > wrote: >> Wait, why? >> >> Alex >> >> On Fri, 22 Dec 2023 at 12:48, Michael Opdenacker via >> lists.yoctoproject.org >> <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote: >>> From: Michael Opdenacker <michael.opdenacker@bootlin.com> >>> >>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> >>> >>> --- >>> Note: could not test this change! >>> --- >>> 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'", Oops, it's true I should have given some context here. Not following my own advice, that's embarrassing :} Actually my patch is 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. An idea was to use the images we produce for releases at https://downloads.yoctoproject.org/releases/yocto/, but unfortunately such images don't have package management enabled, which prevents us from using them. That's why I was proposing this. By the way, do you mean such a config.json file exists for oe-core too. If so, where? Thanks again Michael.
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" : {