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

Debian linux problems in JavaPackager

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux_debian_3.0

      Description

      These problems were reported against the packager that Johan Vos backported for OpenJDK 11.
      We need to determine if same problems occur in jpackager and if so fix them.

      1) The control file for debian package does not set correct description

      --name test
      --description This is a Test Application

      /tmp/jdk.packager607148779833718376/linux/control
      Package: test
      Description: test

      The RPM gets it correctly
      Summary : test
      Description :
      This is a Test Application


      2)
      Category is not set on either DEB or RPM
        --category
                Category or group of the application.
      --category "Some/Category/Application"
      Group: Unspecified
      Section: unknown

      3)
      The jpackager command line should have the flag --release in addition to
      --version. The only way to set a different release than "1" is to supply a
      custom spec file for RPM and control file for DEB.
      package/linux/test.spec
      Version: 1.0.0
      Release: RC1
      package/linux/control
      Version: 1.0.0-RC1

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: