daml/bazel_tools/packaging
Andreas Herrmann cf24597e70
Factor out reproducibility flags for tar and gzip (#6884)
* Factor out tar/gzip reproducibility flags

* use mktgz in package-app

* Bazel managed tar/gzip

* Remove quiet = True

As stated in the comment this is no longer required with Bazel >= 3.0.

* Build package-app as a sh_binary

This way Bazel will manage the runtime dependencies tar, gzip, mktgz,
and patchelf.

package-app.sh changes directory so it needs to make sure that all paths
are absolute and that the runfiles tree/manifest location is forwarded
to programs called by package-app.sh.

* Avoid file path too long errors

* Fix readlink -f on MacOS

* Document abspath

changelog_begin
changelog_end

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-08-05 14:27:14 +00:00
..
BUILD.bazel Factor out reproducibility flags for tar and gzip (#6884) 2020-08-05 14:27:14 +00:00
package-app.sh Factor out reproducibility flags for tar and gzip (#6884) 2020-08-05 14:27:14 +00:00
packaging.bzl Factor out reproducibility flags for tar and gzip (#6884) 2020-08-05 14:27:14 +00:00