Quick Build using word "naive" sounds a bit condescending
https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html
"If you are not in an interactive shell, dpkg-reconfigure will not work as expected. To add the locale you will need to edit /etc/locale.gen file to add/uncomment the en_US.UTF-8 locale. A naive
^^^^^
way to do this as root is:"
Can we not find a slightly less patronizing word? What is this
trying to say?
rday
Quoted 4 lines · Robert P. J. Day via lists.yoctoproject.org
https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html
Quoted 8 lines
"If you are not in an interactive shell, dpkg-reconfigure will not work as expected. To add the locale you will need to edit
/etc/locale.genfile to add/uncomment the en_US.UTF-8 locale. A naive^^^^^way to do this as root is:"
Can we not find a slightly less patronizing word? What is this
trying to say?
TBH, I would remove both notes, they just seem outdated and not helpful.
This whole Debian-specific section is also duplicated in the reference manual, so the quickstart should simply defer to that:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#required-packages-for-the-build-host
Alex
Quoted 13 lines · Alexander Kanavin via lists.yoctoproject.org
Quoted 10 lines · Robert P. J. Day via lists.yoctoproject.org
https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html
"If you are not in an interactive shell, dpkg-reconfigure will not work as expected. To add the locale you will need to edit
/etc/locale.genfile to add/uncomment the en_US.UTF-8 locale. A naive^^^^^way to do this as root is:"
Quoted 8 lines
Quoted 2 lines
Can we not find a slightly less patronizing word? What is this
trying to say?TBH, I would remove both notes, they just seem outdated and not helpful.
This whole Debian-specific section is also duplicated in the reference manual, so the quickstart should simply defer to that:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#required-packages-for-the-build-host
So what's the easiest solution? It seems like almost the first two
sections of the Quick Build guide could be replaced by a pointer to the reference manual, per your suggestion.
rday
Hi Alex, Robert,
Quoted 13 lines · Alexander Kanavin via lists.yoctoproject.org
Quoted 10 lines · Robert P. J. Day via lists.yoctoproject.org
https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html
"If you are not in an interactive shell, dpkg-reconfigure will not work as expected. To add the locale you will need to edit
/etc/locale.genfile to add/uncomment the en_US.UTF-8 locale. A naive^^^^^way to do this as root is:"
Quoted 5 lines
Quoted 2 lines
Can we not find a slightly less patronizing word? What is this
trying to say?TBH, I would remove both notes, they just seem outdated and not helpful.
Source?
This was added a year and a half ago, so I'm not sure we can say it's outdated without more info than gut feeling.
Quoted 4 lines
This whole Debian-specific section is also duplicated in the reference manual, so the quickstart should simply defer to that:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#required-packages-for-the-build-host
Yes, by design. See 411e8ebcf79d ("make sure Quick Build section and System Requirements are in sync").
@Robert, I suggest s/naive/simple/
Cheers,
Quentin
Quoted 4 lines · Quentin Schulz
Source?
This was added a year and a half ago, so I'm not sure we can say it's outdated without more info than gut feeling.
Maybe outdated is the wrong word. Rather I can't make sense of what is meant by 'interactive shell is not available'. What would be the scenario for that? How is one supposed to then run the suggested commands (or bitbake when everything is set up, for that matter):
$ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen $ locale-gen
and why they can't simply run dpkg-reconfigure instead? The dollar sign in front of these commands does imply interactive shell :-/
Quoted 7 lines
Quoted 4 lines
This whole Debian-specific section is also duplicated in the reference manual, so the quickstart should simply defer to that:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#required-packages-for-the-build-hostYes, by design. See
411e8ebcf79d("make sure Quick Build section and System Requirements are in sync").
To me it's a bit odd that quickstart includes the debian/ubuntu section, but not fedora/suse/alma etc. I'd say it's more fair and consistent to either include all of them, or none and link to the ref-manual.
Alex
Quoted 11 lines · Alexander Kanavin
Quoted 4 lines · Quentin Schulz
Source?
This was added a year and a half ago, so I'm not sure we can say it's outdated without more info than gut feeling.
Maybe outdated is the wrong word. Rather I can't make sense of what is meant by 'interactive shell is not available'. What would be the scenario for that? How is one supposed to then run the suggested commands (or bitbake when everything is set up, for that matter):
Quoted 6 lines
$ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen $ locale-genand why they can't simply run dpkg-reconfigure instead? The dollar sign in front of these commands does imply interactive shell :-/
As far as I remember, interactive shell not available is usually what happens when you run your shell scripts in CI and stdin isn't available, meaning you cannot interact with the shell. This probably was somewhat related to the --interactive option of podman-run, where it says:
--interactive, -i
When set to true, make stdin available to the contained process. If false, the stdin of the contained process is empty and immediately closed.
We can always improve our wording/phrasing though!
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
This whole Debian-specific section is also duplicated in the reference manual, so the quickstart should simply defer to that:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#required-packages-for-the-build-host
Quoted 8 lines
Quoted 2 lines
Yes, by design. See
411e8ebcf79d("make sure Quick Build section and System Requirements are in sync").To me it's a bit odd that quickstart includes the debian/ubuntu section, but not fedora/suse/alma etc. I'd say it's more fair and consistent to either include all of them, or none and link to the ref-manual.
Also a deliberate choice made by Antonin, see https://lore.kernel.org/yocto-docs/[email protected]/.
I've exposed my arguments then and I've nothing to add :)
Cheers,
Quentin