Skip to contentSkip to conversation

"bitbake-setup" suddenly works differently from QS guide

DISCUSSION Robert P. J. Day 2 participants 5 messages Nov 20, 2025

lore
Share & tools
lore
#1 lore raw
Quoted 11 lines · Robert P. J. Day via lists.yoctoproject.org

something seems to have changed dramatically since yesterday ... i
was following along here:

https://docs.yoctoproject.org/dev/brief-yoctoprojectqs/#use-git-to-clone-bitbake-setup

and i'm sure yesterday, the build directory that was created was the verbose one as described on that page; something like:

Enter setup directory name: [poky-master-poky-distro_poky-machine_qemux86-64]

suddenly, it's only "distro-poky-master". i'm confused.

Robert, I don't understand why you rush to the docs list instead of checking the newest bitbake commits first.

Yes, we changed it to something shorter, after lots of discussion and prototyping. Yes, the change landed just two hours ago. No, the docs can't magically update themselves when that happens.

Alex

#2 lore raw
Quoted 13 lines · Alexander Kanavin via lists.yoctoproject.org
Quoted 10 lines · Robert P. J. Day via lists.yoctoproject.org

something seems to have changed dramatically since yesterday ... i
was following along here:

https://docs.yoctoproject.org/dev/brief-yoctoprojectqs/#use-git-to-clone-bitbake-setup

and i'm sure yesterday, the build directory that was created was the verbose one as described on that page; something like:

Enter setup directory name: [poky-master-poky-distro_poky-machine_qemux86-64]

Quoted 8 lines
Quoted 1 line

suddenly, it's only "distro-poky-master". i'm confused.

Robert, I don't understand why you rush to the docs list instead of checking the newest bitbake commits first.

Yes, we changed it to something shorter, after lots of discussion and prototyping. Yes, the change landed just two hours ago. No, the docs can't magically update themselves when that happens.

based on what i learned and posted in my followup, this change seems
confusing if the name of the generated directory depends on the order of initialization. but if that's the new standard, so be it.

rday

#3 lore raw
Quoted 3 lines · Robert P. J. Day via lists.yoctoproject.org

based on what i learned and posted in my followup, this change seems
confusing if the name of the generated directory depends on the order of initialization. but if that's the new standard, so be it.

People wanted short names. There's no way to make it happen without causing name clashes, so something to avoid that had to be done, and falling back to the full name was the obvious option. The tool prints a notice when this happens so the users know why they're getting a longer name.

There's a new setting you can enable to revert to old behavior and make it stable. You can also pass the dir name explicitly with a command line option. Or you can type it out when asked.

Alex

#4 lore raw
Quoted 14 lines · Alexander Kanavin
Quoted 3 lines · Robert P. J. Day via lists.yoctoproject.org

based on what i learned and posted in my followup, this change seems
confusing if the name of the generated directory depends on the order of initialization. but if that's the new standard, so be it.

People wanted short names. There's no way to make it happen without causing name clashes, so something to avoid that had to be done, and falling back to the full name was the obvious option. The tool prints a notice when this happens so the users know why they're getting a longer name.

Quoted 3 lines

There's a new setting you can enable to revert to old behavior and make it stable. You can also pass the dir name explicitly with a command line option. Or you can type it out when asked.

i apologize for not checking the bitbake log first and, in
retrospect, i like it and i already have an idea for a change to the docs, and that is a "Note" that reads something like:

"NOTE: The setup directory name generated by bitbake-setup is
potentially verbose, and you're invited to pick something shorter and more meaningful."

or something short and direct like that.

rday