summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-07 21:00:48 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-11 21:09:05 +0200
commita2e045276140813d197d5eb341bb583dc76cac41 (patch)
tree1ab104ee0640dd815a23b687fe1e165e143d08ce /dev-db/mysql-init-scripts
parentnet-libs/libomemo: Make 0.8.1 USE=-test work without dev-util/cmocka (diff)
downloadgentoo-a2e045276140813d197d5eb341bb583dc76cac41.tar.gz
gentoo-a2e045276140813d197d5eb341bb583dc76cac41.tar.bz2
gentoo-a2e045276140813d197d5eb341bb583dc76cac41.zip
dev-db/mysql-init-scripts: update tmpfiles path
The path '/var/run' is deprecated, as the following message is being shown: /usr/lib/tmpfiles.d/mysql.conf:1: Line references path below legacy directory /var/run/, updating /var/run/mysqld /run/mysqld; please update the tmpfiles.d/ drop-in file accordingly. Closes: https://github.com/gentoo/gentoo/pull/24947 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-db/mysql-init-scripts')
-rw-r--r--dev-db/mysql-init-scripts/files/mysql.conf1
-rw-r--r--dev-db/mysql-init-scripts/files/mysql.conf-r11
-rw-r--r--dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild (renamed from dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r3.ebuild)4
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-db/mysql-init-scripts/files/mysql.conf b/dev-db/mysql-init-scripts/files/mysql.conf
deleted file mode 100644
index 74cd5f836e76..000000000000
--- a/dev-db/mysql-init-scripts/files/mysql.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /var/run/mysqld 0755 mysql mysql -
diff --git a/dev-db/mysql-init-scripts/files/mysql.conf-r1 b/dev-db/mysql-init-scripts/files/mysql.conf-r1
new file mode 100644
index 000000000000..6883dc798881
--- /dev/null
+++ b/dev-db/mysql-init-scripts/files/mysql.conf-r1
@@ -0,0 +1 @@
+d /run/mysqld 0755 mysql mysql -
diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r3.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild
index 34fe271b9756..889e84ccfc61 100644
--- a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r3.ebuild
+++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -49,7 +49,7 @@ src_install() {
doexe "${FILESDIR}"/mysqld-wait-ready
systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service"
systemd_newunit "${FILESDIR}/mysqld_at-v2.service" "mysqld@.service"
- dotmpfiles "${FILESDIR}/mysql.conf"
+ newtmpfiles "${FILESDIR}/mysql.conf-r1" "mysql.conf"
insinto /etc/logrotate.d
newins "${FILESDIR}/logrotate.mysql-2.3" "mysql"