Details
-
Type:
Task
-
Status: In Progress
-
Priority:
Minor
-
Resolution: Unresolved
-
Fix Version/s: 10.1
-
Component/s: None
-
Labels:
-
Epic Link:
Description
MariaDB Debian packaging is currently based on bakery. Change the packaging scripts to use cpack instead.
Gliffy Diagrams
Attachments
Issue Links
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
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.