Signed-off-by: Tanu Kaskinen <[email protected]>
---
documentation/dev-manual/dev-manual-common-tasks.xml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml
b/documentation/dev-manual/dev-manual-common-tasks.xml
index 1e6addde4..525ec1830 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -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>
--
2.20.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#47950): https://lists.yoctoproject.org/g/yocto/message/47950
Mute This Topic: https://lists.yoctoproject.org/mt/69689081/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-