1 |
commit: 8587a7e33150509d141300486131b448f2775b7a |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 01:15:52 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 01:16:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8587a7e3 |
7 |
|
8 |
sys-cluster/placement: install migration scripts |
9 |
|
10 |
Fixes: https://bugs.gentoo.org/683706 |
11 |
|
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
14 |
|
15 |
.../placement/{placement-1.0.0.ebuild => placement-1.0.0-r1.ebuild} | 3 +++ |
16 |
sys-cluster/placement/placement-2019.1.9999.ebuild | 3 +++ |
17 |
2 files changed, 6 insertions(+) |
18 |
|
19 |
diff --git a/sys-cluster/placement/placement-1.0.0.ebuild b/sys-cluster/placement/placement-1.0.0-r1.ebuild |
20 |
similarity index 98% |
21 |
rename from sys-cluster/placement/placement-1.0.0.ebuild |
22 |
rename to sys-cluster/placement/placement-1.0.0-r1.ebuild |
23 |
index d3ab3c47e56..291dc9ebaad 100644 |
24 |
--- a/sys-cluster/placement/placement-1.0.0.ebuild |
25 |
+++ b/sys-cluster/placement/placement-1.0.0-r1.ebuild |
26 |
@@ -102,4 +102,7 @@ python_install_all() { |
27 |
insinto /etc/placement |
28 |
insopts -m 0640 -o placement -g placement |
29 |
newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample |
30 |
+ |
31 |
+ dobin tools/mysql-migrate-db.sh |
32 |
+ dobin tools/postgresql-migrate-db.sh |
33 |
} |
34 |
|
35 |
diff --git a/sys-cluster/placement/placement-2019.1.9999.ebuild b/sys-cluster/placement/placement-2019.1.9999.ebuild |
36 |
index d3ab3c47e56..291dc9ebaad 100644 |
37 |
--- a/sys-cluster/placement/placement-2019.1.9999.ebuild |
38 |
+++ b/sys-cluster/placement/placement-2019.1.9999.ebuild |
39 |
@@ -102,4 +102,7 @@ python_install_all() { |
40 |
insinto /etc/placement |
41 |
insopts -m 0640 -o placement -g placement |
42 |
newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample |
43 |
+ |
44 |
+ dobin tools/mysql-migrate-db.sh |
45 |
+ dobin tools/postgresql-migrate-db.sh |
46 |
} |