[MCOL-272] generate debian packages Created: 2016-08-18  Updated: 2016-12-09  Resolved: 2016-12-08

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: 1.0.2
Fix Version/s: 1.0.6

Type: New Feature Priority: Critical
Reporter: David Hill (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

ubuntu 16.04


Attachments: File cpackEngineDEB.cmake     File cpack_deb.cmake    
Sprint: 2016-21, 2016-22, 2016-23, 2016-24

 Description   

for 1.0.2, we generated binary packages for ubuntu 16.04. We need to be able to generate debian packages...



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2016-11-15 ]

Added what I have done so far. 'cpack_deb.cmake' is for the server tree, 'cpackEngineDEB.cmake' is for the engine tree. Don't forget to use INCLUDE() on them both in the CMakeLists.txt file.

Problems I have so far:

  • OBSOLETES/CONFLICTS/etc... isn't working, don't know why
  • post install and similar scripts are done very differently. There is also a bug for this in cpack (with a patch that never made the tree) which stops it working for component installs

From my point of view the second one really isn't an issue as long as we document post-install needs to be run. The first problem could be an issue.

I'm re-assigning to Ben so I can juggle other things for the next release.

Comment by David Hill (Inactive) [ 2016-11-15 ]

this should also include a debian 8...

Comment by Andrew Hutchings (Inactive) [ 2016-11-15 ]

the attached files work on Debian as well as Ubuntu. I suspect the final version would too without any modification.

Comment by Andrew Hutchings (Inactive) [ 2016-12-07 ]

Only minor issue is the server test package is not installable. But it also isn't required.

Comment by Daniel Lee (Inactive) [ 2016-12-08 ]

Build verified: 1.0.6-1

Package file has been created.

Generated at Thu Feb 08 02:19:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.