commit: de685543b4a4739589ffe03e257c5d9ecdca14fd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 03:22:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de685543
sys-fs/udisks: [QA] call tmpfiles_process in pkg_postinst
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/udisks/{udisks-2.9.1-r1.ebuild => udisks-2.9.1-r2.ebuild} | 7 +++++--
sys-fs/udisks/{udisks-2.9.2-r1.ebuild => udisks-2.9.2-r2.ebuild} | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/sys-fs/udisks/udisks-2.9.1-r1.ebuild
b/sys-fs/udisks/udisks-2.9.1-r2.ebuild
similarity index 94%
rename from sys-fs/udisks/udisks-2.9.1-r1.ebuild
rename to sys-fs/udisks/udisks-2.9.1-r2.ebuild
index c6aaf008337..57047f60efe 100644
--- a/sys-fs/udisks/udisks-2.9.1-r1.ebuild
+++ b/sys-fs/udisks/udisks-2.9.1-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit bash-completion-r1 linux-info systemd udev xdg-utils
+inherit bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
DESCRIPTION="Daemon providing interfaces to work with storage devices"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks"
@@ -119,7 +119,10 @@ pkg_preinst() {
}
pkg_postinst() {
- mkdir -p "${EROOT}"/run #415987
+ # TODO: obsolete with tmpfiles_process?
+ #mkdir -p "${EROOT}"/run #415987
+
+ tmpfiles_process udisks2.conf
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
diff --git a/sys-fs/udisks/udisks-2.9.2-r1.ebuild
b/sys-fs/udisks/udisks-2.9.2-r2.ebuild
similarity index 95%
rename from sys-fs/udisks/udisks-2.9.2-r1.ebuild
rename to sys-fs/udisks/udisks-2.9.2-r2.ebuild
index 47fbecee3c8..480609ab96f 100644
--- a/sys-fs/udisks/udisks-2.9.2-r1.ebuild
+++ b/sys-fs/udisks/udisks-2.9.2-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit bash-completion-r1 linux-info systemd udev xdg-utils
+inherit bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
DESCRIPTION="Daemon providing interfaces to work with storage devices"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks"
@@ -122,7 +122,10 @@ pkg_preinst() {
}
pkg_postinst() {
- mkdir -p "${EROOT}"/run #415987
+ # TODO: obsolete with tmpfiles_process?
+ # mkdir -p "${EROOT}"/run #415987
+
+ tmpfiles_process udisks2.conf
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then