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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 15
    • 14, 15
    • tools
    • b27
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: