diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2011-01-06 12:48:29 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-01-15 16:05:16 -0800 |
commit | 2bdfe8519eda8067845019a699acdf19a21ba380 (patch) | |
tree | 6bc81c572458b8e0ff31eebf3b4aeca4a38a82b4 /docs/usermanual/reference | |
parent | 54573959d3f6479ac6e26a9a4a4d2d258082a8df (diff) | |
download | openembedded-2bdfe8519eda8067845019a699acdf19a21ba380.tar.gz |
unpack.py: add SRC_URI parameter unpack=<bool> (default: true)
* This allows to download compressed files without extracting them
* Use case: gcj requires ecj.jar, which must be downloaded separately
and put into the gcc source directory before configure gets executed.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
CC: Chris Larson <chris_larson@mentor.com>
Reviewed-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'docs/usermanual/reference')
-rw-r--r-- | docs/usermanual/reference/var_src_uri.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/usermanual/reference/var_src_uri.xml b/docs/usermanual/reference/var_src_uri.xml index 706452f9d2..521c7d5aac 100644 --- a/docs/usermanual/reference/var_src_uri.xml +++ b/docs/usermanual/reference/var_src_uri.xml @@ -91,7 +91,8 @@ SRC_URI[sha256sum] = "36bdb85c97b39ac604bc58cb7857ee08295242c78a12848ef8a31 it is unpacked into the work directory, <command>${WORKDIR}</command>. The unpacker recognises several archive and compression types and for these it will decompress any compressed files and extract all of the files from - archives into the work directory. The supported types are:</para> + archives into the work directory, unless the option <command>unpack=no</command> + is set for the given file. The supported types are:</para> <variablelist> <varlistentry> @@ -192,6 +193,16 @@ SRC_URI[sha256sum] = "36bdb85c97b39ac604bc58cb7857ee08295242c78a12848ef8a31 md5sum option provided.</para> </listitem> </varlistentry> + + <varlistentry> + <term>unpack={yes|no}</term> + + <listitem> + <para>If set to 'yes' (default) and the source file is an archive, + then the archive will be decompressed and unpacked into the ${WORKDIR}. + Otherwise, the archive will be copied into the ${WORKDIR}.</para> + </listitem> + </varlistentry> </variablelist> <para>Related variables:</para> |