jhnc-oss / yocto-build

Yocto Build Container Environment using podman(1)
MIT License
1 stars 0 forks source link

Arch / tune broken on CI builds #25

Closed offa closed 2 years ago

offa commented 2 years ago

x86_64 builds use the wrong architecture and tune:

NOTE: Setting MACHINE to genericx86
NOTE: Setting DEFAULTTUNE to i586
offa commented 2 years ago

Strange, neither BB_ENV_EXTRAWHITE nor YOCTO_TARGET_ARCH affect them.

h5b commented 2 years ago

x86_64 builds use the wrong architecture and tune:

NOTE: Setting MACHINE to genericx86
NOTE: Setting DEFAULTTUNE to i586

Is this a recent issue?

Otoh, dev/bootstrap.sh pushes --env "BB_ENV_EXTRAWHITE=YOCTO_TARGET_ARCH"

offa commented 2 years ago

I've noted it on the CI builds today. The info message isn't available in early builds unfortunately.

CI builds don't use the bootstrap script.

h5b commented 2 years ago

I've noted it on the CI builds today. The info message isn't available in early builds unfortunately.

CI builds don't use the bootstrap script. Of course not but it is capable of passing the ARCH/tune correctly. Therefore, it seems to be limited to CI environment only.

offa commented 2 years ago

That's right.

offa commented 2 years ago

YOCTO_TARGET_ARCH is None for both arch settings!? 😕

h5b commented 2 years ago

github actions seem to be pretty picky when it comes to environment passing. So, we need to figure out how to pass YOCTO_TARGET_ARCH correctly.

offa commented 2 years ago

Yes, but I guess I have have a solution ... stay tuned ...