Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3809

Change Debian packaging to use CPack instead of bakery

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.1
    • Component/s: None
    • Labels:

      Description

      MariaDB Debian packaging is currently based on bakery. Change the packaging scripts to use cpack instead.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              andrey.kuznetsov andrey kuznetsov (Inactive) added a comment -

              Some values in pre/post install/uninstall debian scripts are hard-coded like that:
              `$ cat debian/mariadb-server-10.0.preinst`
              `...
              MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
              DATADIR=/var/lib/mysql
              LOGDIR=/var/log/mysql
              UPGRADEDIR=/var/lib/mysql-upgrade

              PLUGINS_DIR="/usr/lib/mysql/plugin"
              UNSUPPORTED_PLUGINS_DIR="/usr/share/mysql/unsupported-plugins/"
              ...
              `
              We have to use templates (*.in) of the scripts instead hard-coded values.

              Show
              andrey.kuznetsov andrey kuznetsov (Inactive) added a comment - Some values in pre/post install/uninstall debian scripts are hard-coded like that: `$ cat debian/mariadb-server-10.0.preinst` `... MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" DATADIR=/var/lib/mysql LOGDIR=/var/log/mysql UPGRADEDIR=/var/lib/mysql-upgrade PLUGINS_DIR="/usr/lib/mysql/plugin" UNSUPPORTED_PLUGINS_DIR="/usr/share/mysql/unsupported-plugins/" ... ` We have to use templates (*.in) of the scripts instead hard-coded values.

                People

                • Assignee:
                  andrey.kuznetsov andrey kuznetsov (Inactive)
                  Reporter:
                  ratzpo Rasmus Johansson
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 week
                    1w
                    Remaining:
                    Time Spent - 7 hours, 30 minutes Remaining Estimate - 4 days, 30 minutes
                    4d 30m
                    Logged:
                    Time Spent - 7 hours, 30 minutes Remaining Estimate - 4 days, 30 minutes
                    7h 30m