Skip to contentSkip to conversation

dev manual inconsistently encourages changing "poky" checkout locally

DISCUSSION Robert P. J. Day 3 participants 5 messages Jun 20, 2025

lore
Share & tools
lore
#0 lore raw

while at least one of the other YP docs stresses to never, ever,
ever mess with your checkout of poky, the dev manual here:

https://docs.yoctoproject.org/dev-manual/start.html#cloning-the-poky-repository

reads: "Your local repository of poky is identical to the upstream poky repository at the time from which it was cloned. As you work with the local branch, you can periodically use the git pull --rebase command to be sure you are up-to-date with the upstream branch."

that seems inconsistent. does that merit rewording?

rday

#1 lore raw

Can you point to the 'other doc' please? I think the idea is that one never makes local modifications to poky, but pulling in upstream changes is fine.

Alex

Quoted 25 lines · Robert P. J. Day via lists.yoctoproject.org

while at least one of the other YP docs stresses to never, ever,
ever mess with your checkout of poky, the dev manual here:

https://docs.yoctoproject.org/dev-manual/start.html#cloning-the-poky-repository

reads: "Your local repository of poky is identical to the upstream poky repository at the time from which it was cloned. As you work with the local branch, you can periodically use the git pull --rebase command to be sure you are up-to-date with the upstream branch."

that seems inconsistent. does that merit rewording?

rday

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7118): https://lists.yoctoproject.org/g/docs/message/7118
Mute This Topic: https://lists.yoctoproject.org/mt/113739433/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 5 lines · Alexander Kanavin

Can you point to the 'other doc' please? I think the idea is that one never makes local modifications to poky, but pulling in upstream changes is fine.

Alex

it's point 5 here:

https://docs.yoctoproject.org/what-i-wish-id-known.html

Quoted 30 lines
Quoted 25 lines · Robert P. J. Day via lists.yoctoproject.org

while at least one of the other YP docs stresses to never, ever,
ever mess with your checkout of poky, the dev manual here:

https://docs.yoctoproject.org/dev-manual/start.html#cloning-the-poky-repository

reads: "Your local repository of poky is identical to the upstream poky repository at the time from which it was cloned. As you work with the local branch, you can periodically use the git pull --rebase command to be sure you are up-to-date with the upstream branch."

that seems inconsistent. does that merit rewording?

rday

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7118): https://lists.yoctoproject.org/g/docs/message/7118
Mute This Topic: https://lists.yoctoproject.org/mt/113739433/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

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

it's point 5 here:

https://docs.yoctoproject.org/what-i-wish-id-known.html

"Never modify the POKY layer. Never. Ever. When you update to the next release, you’ll lose all of your work. ALL OF IT."

I'm not sure what this point wants to say to be honest. Can't make sense of it.

While the what-i-wish-id-known document is pretty clear about it, it's true that saying "As you work with the local branch, you can periodically use the git pull --rebase command to be sure you are up-to-date with the upstream branch." when speaking about the poky repository kind of imply local modifications. And these two documents are unrelated.

So all-in-all, I think what we want to remove here is the "--rebase" flag. That's the only thing implying local modifications to poky. Using "git pull" is fine. I'd take a patch.

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com