5.6 - Changed package name for cpack from mysql to percona-server (BLD-309) #338
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TICKETS: BLD-309, BLD-387
This is just a cpack package name from mysql to percona-server so that when using make_binary_distribution we get tarballs like percona-server-...
TEST:
5.5:
vagrant@b-ubuntu1404-64:~/build-flash/ps/test/percona-server/build$ scripts/make_binary_distribution
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: MySQL
CPack: - Install project: MySQL
CPack: Create package
CPack: - package: /home/vagrant/build-flash/ps/test/percona-server/build/percona-server-5.5.46-37.6-linux-x86_64.tar.gz generated.
5.6:
vagrant@b-ubuntu1404-64:~/build-flash/ps/test/percona-server/build$ scripts/make_binary_distribution
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: MySQL
CPack: - Install project: MySQL
CPack: Create package
CPack: - package: /home/vagrant/build-flash/ps/test/percona-server/build/percona-server-5.6.27-76.0-linux-x86_64.tar.gz generated.
5.7:
vagrant@b-ubuntu1404-64:~/build-flash/ps/test/percona-server/build$ scripts/make_binary_distribution
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: MySQL
CPack: - Install project: MySQL
CPack: Create package
CPack: - package: /home/vagrant/build-flash/ps/test/percona-server/build/percona-server-5.7.10-1rc1-linux-x86_64.tar.gz generated.
while running cmake I see following output:
-- Packaging as: percona-server-5.5.46-37.6-Linux-x86_64
-- Packaging as: percona-server-5.6.27-76.0-Linux-x86_64
-- Packaging as: percona-server-5.7.10-1rc1-Linux-x86_64
Subdirectory names inside tarball:
percona-server-5.7.10-1rc1-linux-x86_64
percona-server-5.6.27-76.0-linux-x86_64
percona-server-5.5.46-37.6-linux-x86_64