diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2011-01-06 12:48:29 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-22 19:41:07 +0200 |
commit | e068af164391d56199f46c5c16927d025cc74518 (patch) | |
tree | 529fb77f3252a5ac78bc7a4befd9033da43721cb /docs | |
parent | 5ec95b9a12527693f18537db953433628510fbc7 (diff) | |
download | openembedded-e068af164391d56199f46c5c16927d025cc74518.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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'docs')
-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 c4f30a295b..4b8df9bbf8 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> |