On Mon, May 6, 2024 at 9:25 PM Bratiranjan Acharya via lists.yoctoproject.org <bratiranjan12=gmail....@lists.yoctoproject.org> wrote: > > Hi, > Could we establish a tailored command within Yocto, taking to > "BUILD_ID=123456 bitbake custom-image" mirroring the functionality of > "MACHINE=x86 bitbake custom-image"? Essentially, I'm exploring the > possibility of introducing a custom variable like of 'MACHINE' and executing > it similarly from the command line, as mentioned before. > I have tried various ways like defining in the conf,recipe,.inc file like > "BUILD_ID ?= "none"" and running directly from command line "BUILD_ID=123456 > bitbake custom-image" so it must change the BUILD_ID to 123456 but its not > working like that. Anyone have any suggestions? Thanks & Regards Brati >
Maybe set BB_ENV_PASSTHROUGH_ADDITIONS = "BUILD_ID" > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63040): https://lists.yoctoproject.org/g/yocto/message/63040 Mute This Topic: https://lists.yoctoproject.org/mt/105954779/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-