Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231283

Add support to jpackage to create install Linux packages in /usr hierarchy

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14, 15
    • Fix Version/s: 15
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      linux

      Backports

        Description

        When installing in /usr hierarchy we have to split app image as follows:
        - app launchers should be installed in /usr/bin directory.
        - launcher library and other files should go in /usr/lib/$APPNAME/ directory.
        - documentation and copyright file should go into /usr/share/doc/$APPNAME directory.

        When installing in /usr/local hierarchy we have to split app image as follows:
        - app launchers should be installed in /usr/local/bin directory.
        - launcher library and other files should go in /usr/local/lib/$APPNAME/ directory.
        - documentation and copyright file should go into /usr/share/doc/$APPNAME directory.

        When installing at any other prefix with the root at `/usr` no app image splicing should happen. The app should be installed as usual.

        Package layout is defined to comply with Linux Filesystem Hierarchy Standard (https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asemenyuk Alexey Semenyuk
                  Reporter:
                  asemenyuk Alexey Semenyuk
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: