dev-manual: Explain unpacking archives without a top-level directory
PATCH 1/1 dev-manual: Explain unpacking archives without a top-level directory
Signed-off-by Tanu Kaskinen <[email protected]>
--- documentation/dev-manual/dev-manual-common-tasks.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
documentation/dev-manual/dev-manual-common-tasks.xml +9 -1
@@ -2085,7 +2085,15 @@ However, if <filename>SRC_URI</filename> specifies to fetch source from an archive that does not use this convention, or from an SCM like Git or Subversion, your recipe needs to - define <filename>S</filename>. + define <filename>S</filename>, except if the archive doesn't + use any top-level subdirectory. In that case you need to tell + Bitbake to do the unpacking in a subdirectory, this example is + from the + <filename>meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb</filename> + recipe: + <literallayout class='monospaced'> + SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2;subdir=${BP}" + </literallayout> </para> <para>
Signature · 1 line
2.20.1