1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-30203 Move mysql symlinks to different package

For both Deb and RPM, create mariadb-client-compat and
mariadb-server-compat containing the mysql links to the mariadb
named executables/scripts.

The mariadb-client-core mysqlcheck was moved to mariadb-client-compat.

The symlinks in MYSQL_ADD_EXECUTABLE is tagged as a
{Client,Server}Symlinks component and placed in
the symlinks packages.

Man pages are restructured be installed into compat package
if that matches the executable.

Columnstore has a workaround as it doesn't use the cmake/plugin.cmake.

Scripts likewise have compatibility symlinks are in
the {server,client}-compat packages.

Co-author: Andrew Hutchings <andrew@linuxjedi.co.uk>

Closes #2390
This commit is contained in:
Daniel Black
2023-02-11 20:04:46 +01:00
committed by Sergei Golubchik
parent 36ea5dffe7
commit 9656356b55
15 changed files with 222 additions and 67 deletions

View File

@@ -106,7 +106,7 @@ FUNCTION (MYSQL_ADD_EXECUTABLE)
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${link}
DESTINATION
${ARG_DESTINATION}
COMPONENT ${COMP})
COMPONENT ${COMP}Symlinks)
ELSE()
# Windows note:
# Here, hardlinks are used, because cmake can't install symlinks.