Browse Source

package/mariadb: remove mariadb_config from target

We already remove mysql_config from the target since it's only useful in
staging. The same is true for mariadb_config. Thus, we remove it from the
target as well.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit c700b5ea8dc8cbe992cba260c5e98736fa95b32f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Ryan Coe 5 years ago
parent
commit
50f44a6fc9
1 changed files with 3 additions and 2 deletions
  1. 3 2
      package/mariadb/mariadb.mk

+ 3 - 2
package/mariadb/mariadb.mk

@@ -126,11 +126,12 @@ define MARIADB_INSTALL_INIT_SYSTEMD
 endef
 endif
 
-# We don't need mysql_config on the target as it's only useful in staging
-# We also don't need the test suite on the target
+# We don't need mysql_config or mariadb_config on the target as it's
+# only useful in staging. We also don't need the test suite on the target.
 define MARIADB_POST_INSTALL
 	mkdir -p $(TARGET_DIR)/var/lib/mysql
 	$(RM) $(TARGET_DIR)/usr/bin/mysql_config
+	$(RM) $(TARGET_DIR)/usr/bin/mariadb_config
 	$(RM) -r $(TARGET_DIR)/usr/share/mysql/test
 endef