aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Warren Turkal <wt@penguintechs.org>2015-11-30 11:31:22 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-11-30 18:30:36 +0000
commit843b41d3b1354415fd947b3b41e558ec1e7a1bd7 (patch)
tree1bcfd29ba216e6f0ba935b0ea83ce802d905877b /tools
parentfd735f339cef26b8d68bc07a07e40b315eed4885 (diff)
Fix pkg_tar docs.
There is no tars arg. There is a deps arg that appears to work like the tars arg is described in the docs. There is also no debs arg. Signed-off-by: Warren Turkal <wt@penguintechs.org> -- Change-Id: If11e8bcae33b91c41eb11e90fa479becbb36d93c Reviewed-on: https://bazel-review.googlesource.com/2393 MOS_MIGRATED_REVID=108962257
Diffstat (limited to 'tools')
-rw-r--r--tools/build_defs/pkg/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/build_defs/pkg/README.md b/tools/build_defs/pkg/README.md
index 384043d912..31e6862a50 100644
--- a/tools/build_defs/pkg/README.md
+++ b/tools/build_defs/pkg/README.md
@@ -42,7 +42,7 @@ pkg_tar(
pkg_tar(
name = "debian-data",
extension = "tar.gz",
- tars = [
+ deps = [
":bazel-bin",
":bazel-tools",
],
@@ -88,7 +88,7 @@ Here, the Debian package is built from three `pkg_tar` targets:
## pkg_tar
```python
-pkg_tar(name, extension, data_path, directory, files, mode, modes, tars, debs, symlinks)
+pkg_tar(name, extension, data_path, directory, files, mode, modes, deps, symlinks)
```
Creates a tar file from a list of inputs.
@@ -194,12 +194,12 @@ Creates a tar file from a list of inputs.
</td>
</tr>
<tr>
- <td><code>tars</code></td>
+ <td><code>deps</code></td>
<td>
- <code>List of files, optional</code>
- <p>Tar file to extract in the layer.</p>
+ <code>List of labels, optional</code>
+ <p>Tar files to extract and include in this tar package.</p>
<p>
- A list of tar files to merge into the output tarball.
+ A list of tarball labels to merge into the output tarball.
</p>
</td>
</tr>