RFR: 8266603: jpackage: Add missing copyright file in Java runtime .deb installers [v2]

Alexander Matveev almatvee at openjdk.java.net
Fri May 7 23:54:54 UTC 2021


On Fri, 7 May 2021 19:57:17 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> 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.
>
> Alexey Semenyuk has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
> 
>  - trailing whitespaces removed
>  - 8266603: jpackage: Add missing copyright file in Java runtime .deb installers

Marked as reviewed by almatvee (Committer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/3894


More information about the core-libs-dev mailing list