[Piuparts-commits] [piuparts] 01/01: scripts/pre_install_database-server: work around #707075 and force MyISAM storage engine on upgrades from wheezy

Holger Levsen holger at moszumanska.debian.org
Sat May 17 08:51:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 6ccb84ecd9fcdd373a10de91073ca2ec7983e959
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat May 17 10:51:15 2014 +0200

    scripts/pre_install_database-server: work around #707075 and force MyISAM storage engine on upgrades from wheezy
---
 custom-scripts/scripts/pre_install_database-server | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/custom-scripts/scripts/pre_install_database-server b/custom-scripts/scripts/pre_install_database-server
index 153b26f..c2be416 100755
--- a/custom-scripts/scripts/pre_install_database-server
+++ b/custom-scripts/scripts/pre_install_database-server
@@ -98,7 +98,12 @@ case ${PIUPARTS_OBJECTS%%=*} in
 	ocsinventory-server)			MYSQL=yes ;;
 	openacs)				POSTGRESQL=yes ;;
 	otrs)					POSTGRESQL=yes ;;
-	otrs2)					POSTGRESQL=yes ; MYSQL=yes ;;
+	otrs2)					POSTGRESQL=yes ; MYSQL=yes
+						if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ]; then
+							# workaround #707075
+							echo default-storage-engine=MYISAM >> /etc/mysql/my.cnf 
+						fi
+						;;
 	pdns-backend-mysql)			MYSQL=yes ;;
 	pdns-backend-pgsql)			POSTGRESQL=yes ;;
 	phpbb3)					MYSQL=yes ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list