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>
This commit is contained in:
Conrad Kostecki 2022-04-07 21:00:48 +02:00
parent ac39fc8141
commit a2e0452761
No known key found for this signature in database
GPG Key ID: 7A96AB564BF498FB
3 changed files with 3 additions and 3 deletions

View File

@ -1 +0,0 @@
d /var/run/mysqld 0755 mysql mysql -

View File

@ -0,0 +1 @@
d /run/mysqld 0755 mysql mysql -

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=6
@ -49,7 +49,7 @@ src_install() {
doexe "${FILESDIR}"/mysqld-wait-ready doexe "${FILESDIR}"/mysqld-wait-ready
systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service" systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service"
systemd_newunit "${FILESDIR}/mysqld_at-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 insinto /etc/logrotate.d
newins "${FILESDIR}/logrotate.mysql-2.3" "mysql" newins "${FILESDIR}/logrotate.mysql-2.3" "mysql"