Hello there! I've recently experimented with incorporating the following
lines into my recipe file:
BB_ENV_PASSTHROUGH_ADDITIONS = "BUILD_ID"
BUILD_ID ?= "none"
However, despite these additions, I encountered a persistent issue. Even
after executing the command "BUILD_ID=123456 bitbake custom-img" the value
of BUILD_ID consistently defaults to "none." I'm curious if there's an
alternative approach worth exploring. Any insights would be greatly
appreciated!

Thanks & Regards
Brati

On Tue, 7 May 2024 at 10:13, Khem Raj <raj.k...@gmail.com> wrote:

> 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 (#63041): https://lists.yoctoproject.org/g/yocto/message/63041
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to