mariadb: add convenience symlinks
authorSebastian Kemper <sebastian_ml@gmx.net>
Thu, 28 Jun 2018 19:28:23 +0000 (21:28 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Thu, 28 Jun 2018 19:28:23 +0000 (21:28 +0200)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
utils/mariadb/Makefile

index e9d450042e6aad8261766b41f3460e3740707bcc..7f30fbe2af19115fd3ce9b135d11efa1fd5860b6 100644 (file)
@@ -442,6 +442,10 @@ endef
 define Package/mariadb-client/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(foreach b,$(MARIADB_CLIENT),$(call Package/mariadb/install/bin,$(1),$(b));)
+       # Install convenience links for mysqlcheck multi-call binary
+       cd $(1)/usr/bin; $(LN) mysqlcheck mysqlanalyze
+       cd $(1)/usr/bin; $(LN) mysqlcheck mysqlrepair
+       cd $(1)/usr/bin; $(LN) mysqlcheck mysqloptimize
 endef
 
 define Package/mariadb-client-extra/install