[MDEV-3809] Change Debian packaging to use CPack instead of bakery Created: 2012-10-12  Updated: 2015-11-10

Status: Stalled
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Rasmus Johansson (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: packaging

Issue Links:
Blocks
blocks MDEV-572 No debug symbols for Ubuntu packages Closed
is blocked by MDEV-6284 Merge downstream Debian/Ubuntu packag... Closed
PartOf
includes MDEV-4537 innotop tracker Closed
Relates
relates to MDEV-6383 minor upgrade fails in buildbot for 10.1 Closed
relates to MDEV-7771 missing client plugins when mariadb-s... Closed
relates to MDEV-9111 debian/control has libjudy-dev in Bui... Closed

 Description   

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



 Comments   
Comment by andrey kuznetsov (Inactive) [ 2015-03-18 ]

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.

Generated at Thu Feb 08 06:51:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.