Hmm, ok, I'll try again. On Wed, Dec 25, 2024, 8:29 AM Alexander Kanavin <alex.kana...@gmail.com> wrote:
> On Fri, 20 Dec 2024 at 18:39, Joshua Watt <jpewhac...@gmail.com> wrote: > > 1) bitbake-config-build is way too aggressive in the files it looks > > for as fragments. My editor (vim) creates hidden temporary files that > > I kept having to manually delete or the tool would attempt to parse > > them and fail. I would recommend that it only consider non-hidden > > files that end in .conf as valid fragments. > > 2) It would be convenient if `bitbake-config-build enable-fragment` > > and `bitbake-config-build disable-fragment` could take more than one > > fragment, as this would make scripting in CI more straight forward. > > I see the patches for these have been sent, thanks. > > > 3) The biggest problem I had with this is that I can't set variables > > like MACHINE/DISTRO etc. in fragments, I think this is due to how > > deferred the evaluation of this is. Without being able to do this, I'm > > not sure how useful this system will be for me (or at least, it won't > > be able to replace any of the current mechanisms I use). I think what > > users are generally after here is that they can really easily share a > > configuration in source control (which this does well), but if it > > can't control everything it's of limited use. > > I tried this locally with poky and adding DISTRO/MACHINE to one of the > selftest fragments, and it works properly, so if you can provide a way > to reproduce this problem I'd appreciate. Or there's something else on > your side that gets in the way. > > Here's the output of bitbake -e (DISTRO is similarly adjusted as expected): > > # > # $MACHINE [3 operations] > # set /srv/storage/alex/yocto/build-64/conf/local.conf:38 > # [_defaultval] "qemux86-64" > # set /srv/work/alex/poky/meta/conf/documentation.conf:279 > # [doc] "Specifies the target device for which the image is built. > You define MACHINE in the conf/local.conf file in the Build > Directory." > # set > /srv/work/alex/poky/meta-selftest/conf/fragments/test-fragment.conf:5 > # "qemuarm" > # pre-expansion value: > # "qemuarm" > MACHINE="qemuarm" > > Alex >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#209083): https://lists.openembedded.org/g/openembedded-core/message/209083 Mute This Topic: https://lists.openembedded.org/mt/109647318/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-