mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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:
@@ -1 +0,0 @@
|
||||
d /var/run/mysqld 0755 mysql mysql -
|
||||
1
dev-db/mysql-init-scripts/files/mysql.conf-r1
Normal file
1
dev-db/mysql-init-scripts/files/mysql.conf-r1
Normal file
@@ -0,0 +1 @@
|
||||
d /run/mysqld 0755 mysql mysql -
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user