On Thu, 6 May 2021 01:22:41 GMT, Alexey Semenyuk <[email protected]> wrote:
> jpackage should create copyright file in /usr/share/doc directory tree when
> building .deb package for Java runtime with installation directory in /usr
> directory tree.
>
> jpackage creates share/doc/copyright file in installation directory for apps
> installed outside of /usr tree.
>
> jpackage creates /usr/share/doc/${package_name}/copyright file for apps
> installed in /usr tree .
>
> jpackage doesn't create copyright file at all for Java runtime. The reason
> for this behavior was that jpackage should not place additional files in
> installation directory of Java runtime. However when installing Java runtime
> or app in /usr tree, copyright file will be placed outside of installation
> directory. Thus copyright file should be always created if package
> installation directory is inside of /usr tree.
This pull request has now been integrated.
Changeset: c8b74474
Author: Alexey Semenyuk <[email protected]>
URL:
https://git.openjdk.java.net/jdk/commit/c8b744743bd54a00a4f7bf1e852d454fcd942abd
Stats: 27 lines in 2 files changed: 24 ins; 1 del; 2 mod
8266603: jpackage: Add missing copyright file in Java runtime .deb installers
Reviewed-by: almatvee, herrick
-------------
PR: https://git.openjdk.java.net/jdk/pull/3894