diff options
author | John Millikin <jmillikin@stripe.com> | 2018-03-01 04:58:07 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-01 05:00:07 -0800 |
commit | c92d54e99dbaaf34b5a8e315e164f468f7d7c559 (patch) | |
tree | 4354dcf6cb2f33af63922d55fd1f56f0813d2041 /scripts | |
parent | d2c226c84ba9da80141ed964d2d79a39663d804e (diff) |
Sync Debian package deps, and add a comment to prevent future desync.
Commit c8be465869fbcfaa00b75d241c67279324976e0b added the headless JDK
to `debian/control`, but this isn't propagating to published packages
because those use the deps list in `debian/BUILD`.
This commit adds the headless JDK to `debian/BUILD`, with comments so
future changes won't hit the same problem.
Closes #4686.
PiperOrigin-RevId: 187461399
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/packages/debian/BUILD | 3 | ||||
-rw-r--r-- | scripts/packages/debian/control | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/packages/debian/BUILD b/scripts/packages/debian/BUILD index 157b469b53..19e7f59230 100644 --- a/scripts/packages/debian/BUILD +++ b/scripts/packages/debian/BUILD @@ -72,7 +72,8 @@ pkg_deb( built_using = "bazel (HEAD)", data = ":debian-data", depends = [ - "google-jdk | java8-jdk | java8-sdk | oracle-java8-installer", + # Keep in sync with Depends section in ./control + "google-jdk | java8-sdk-headless | java8-jdk | java8-sdk | oracle-java8-installer", "g++", "zlib1g-dev", "bash-completion", diff --git a/scripts/packages/debian/control b/scripts/packages/debian/control index fe428fce2e..a28c6a6e75 100644 --- a/scripts/packages/debian/control +++ b/scripts/packages/debian/control @@ -9,6 +9,7 @@ Package: bazel Section: contrib/devel Priority: optional Architecture: amd64 +# Keep in sync with :bazel-debian in ./BUILD Depends: google-jdk | java8-sdk-headless | java8-jdk | java8-sdk | oracle-java8-installer, g++, zlib1g-dev, bash-completion Description: Bazel is a tool that automates software builds and tests. Supported build tasks include running compilers and linkers to produce |