Skip to content

Commit

Permalink
yocto: slides: "Append file example" slide: use better file names
Browse files Browse the repository at this point in the history
Having a 'defconfig' file is useful as it is a practical example of a file
that might exist both in the original recipe and in the bbappend, and as
such to explain why the order in FILSPATHS matters and we need to prepend
instead of appending.

The patch file is just a more realistic example.

Signed-off-by: Luca Ceresoli <[email protected]>
  • Loading branch information
lucaceresoli committed Oct 1, 2024
1 parent b8e6870 commit e2fe580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ \subsection{Extending a recipe}
\begin{minted}{sh}
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI += "file://custom-modification-0.patch \
file://custom-modification-1.patch \
SRC_URI += "file://defconfig \
file://fix-memory-leak.patch \
"
\end{minted}
\end{block}
Expand Down

0 comments on commit e2fe580

Please sign in to comment.