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

Change Debian packaging to use CPack instead of bakery

Details

    • Task
    • Status: Stalled (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            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.

            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

              Unassigned Unassigned
              ratzpo Rasmus Johansson (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.