Re: [docs] [PATCH] dev-manual: add command to force a recipe re-compile
"Antonin Godard" <[email protected]>
| Newsgroups | org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
On Wed Jun 10, 2026 at 2:59 PM CEST, Robert P. J. Day wrote: > On Wed, 10 Jun 2026, Antonin Godard via lists.yoctoproject.org wrote: > >> On Wed Jun 10, 2026 at 11:51 AM CEST, Robert P. J. Day wrote: >> > On Wed, 10 Jun 2026, Alexander Kanavin wrote: >> > >> >> On Wed, 10 Jun 2026 at 11:24, Quentin Schulz <[email protected]> wrote: >> >> > Do not modify a recipe's unpacked source code, it's the best way to have >> >> > your changes lost. There are non-negligible chances that it'll end up >> >> > being deleted and unpacked again (e.g. because the cache is outdated via >> >> > its dependencies or the recipe parsing resulted in a rebuild of the recipe). >> >> > >> >> > Using -f also taints the build and you need to clean the sstate-cache >> >> > for this recipe to recover from it last time I checked, which is >> >> > something we don't like recommending to people (if you need to clean the >> >> > sstate-cache, either something's wrong with your recipe or there's a bug >> >> > we need to fix), so I don't think documenting this enormous footgun is a >> >> > good thing. >> >> >> >> I agree, I'd rather not mention it at all, and point people directly to devtool. >> > >> > ok, i'll add that but, as i just mentioned, it's there in the quilt >> > section as well. >> >> I think keeping the Quilt document is fine and in this case the >> command makes sense, however, it would be nice to inform users in >> this document that devtool is available and friendlier. Could you >> add this note? > > there is alreaady a note at the top of the quilt section > recommending devtool. Ah perfect then. Antonin