New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mariadb: duplicating binary files in client and server packages #63723
Comments
Hmm, is there a reason not to make the client a dependency of the server? The only dependencies the client has that the server doesn't are |
So it seems the mysql_upgrade binary is hardcoded to expect the other binaries in the same directory:
Probably the splitting works on other distros because the binaries all end up in /usr/bin anyway. |
Need to build the package with server+client and only client?
|
I'm not sure what you mean. Can you check to see if the project cmake allows you to configure a different install PREFIX for the client/server? |
Should I change the build of MariaDB, so that one package includes files for both server and client, and the other package only includes client files?
I don't know how to configure this |
Izorkin@b24bce7 - this variant optimal? |
#63355 update MariaDB configuration, please check this variant. |
Fixed, mariadb package includes server and client binaries. |
Issue description
1db3a91#commitcomment-34044268
mysql_upgrade requires availability of mysqlcheck, which is in the package mariadb.client
In other operating systems they are separated - mysql_upgrade -> mariadb.server, mysqlcheck -> mariadb.client. And when the server is installed the client is automatically installed.
The text was updated successfully, but these errors were encountered: