Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-19

Debian packaging support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • build
    • None

    Description

      This ticket is for improving Accumulo ease-of-installation by adding built-in support for debian packing.

      Debian pkg support requires:
      1. Creating the deb package lifecycle hook scripts, such as 'preinst' and 'postinst'
      2. Creating an init.d script (one of these already exists in bin/)
      3. Integrating deb construction into the build lifecycle. There are some mvn dpkg plugins, but Im not sure how well these work. It might just be easier to run the deb construction as a delegated ant task (via the maven's antrun plugin)

      Outline of required files: Putting all related packing files under src/packages, which is consistent with other Apache projects, such as zookeeper.
      The following dpkg hooks go in src/packages/deb/accumulo.control/:
      conffile, control, postinst, postrm, preinst, prerm
      An init.d script (which I think can just be a copy of bin/etc_initd_accumulo) goes in src/packages/init.d:

      Attachments

        1. ACCUMULO-19_v2.patch
          5 kB
          Scott Kuehn
        2. ACCUMULO-19_v3.patch
          3 kB
          Scott Kuehn
        3. ACCUMULO-19.patch
          3 kB
          Scott Kuehn

        Activity

          People

            Unassigned Unassigned
            skuehn Scott Kuehn
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: