Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
MariaDB and MySQL Packaging Team
mariadb-5.5
Commits
19cda85f
Commit
19cda85f
authored
Dec 10, 2014
by
Otto Kekäläinen
Browse files
Backported the fix of #770177 from 10.0 to 5.5 so that the migration
question will not be asked repeatedly.
parent
52ceea23
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
19cda85f
...
@@ -5,6 +5,8 @@ mariadb-5.5 (5.5.39-3) UNRELEASED; urgency=low
...
@@ -5,6 +5,8 @@ mariadb-5.5 (5.5.39-3) UNRELEASED; urgency=low
the package mariadb-server-5.5 to allow overwriting the innochecksum
the package mariadb-server-5.5 to allow overwriting the innochecksum
man page file which has changed location (LP: #1368124) as per
man page file which has changed location (LP: #1368124) as per
doc https://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1
doc https://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1
* Backported the fix of #770177 from 10.0 to 5.5 so that the migration
question will not be asked repeatedly.
-- Otto Kekäläinen <otto@seravo.fi> Sat, 04 Oct 2014 22:45:02 +0300
-- Otto Kekäläinen <otto@seravo.fi> Sat, 04 Oct 2014 22:45:02 +0300
...
...
debian/mariadb-server-5.5.postinst
View file @
19cda85f
...
@@ -134,6 +134,8 @@ EOF
...
@@ -134,6 +134,8 @@ EOF
# data directory and then somewhen gets purged by the admin.
# data directory and then somewhen gets purged by the admin.
db_set mysql-server/postrm_remove_database
false
||
true
db_set mysql-server/postrm_remove_database
false
||
true
# Clean up old flags before setting new one
rm
$mysql_statedir
/debian-
*
.flag
# To avoid downgrades.
# To avoid downgrades.
touch
$mysql_statedir
/debian-5.5.flag
touch
$mysql_statedir
/debian-5.5.flag
...
@@ -146,7 +148,7 @@ EOF
...
@@ -146,7 +148,7 @@ EOF
set
+e
set
+e
bash /usr/bin/mysql_install_db
--rpm
--user
=
mysql 2>&1 |
$ERR_LOGGER
bash /usr/bin/mysql_install_db
--rpm
--user
=
mysql 2>&1 |
$ERR_LOGGER
set
-e
set
-e
## On every reconfiguration the maintenance user is recreated.
## On every reconfiguration the maintenance user is recreated.
#
#
# - It is easier to regenerate the password every time but as people
# - It is easier to regenerate the password every time but as people
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment