Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/udisks/
Date: Sat, 31 Jul 2021 22:17:30
Message-Id: 1627769623.de685543b4a4739589ffe03e257c5d9ecdca14fd.sam@gentoo
1 commit: de685543b4a4739589ffe03e257c5d9ecdca14fd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 31 03:22:54 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 22:13:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de685543
7
8 sys-fs/udisks: [QA] call tmpfiles_process in pkg_postinst
9
10 This is needed to actually apply the tmpfiles configuration
11 we've installed in the ebuild. See tmpfiles.eclass documentation.
12
13 Revbump because the new tmpfiles inherit adds a new dependency
14 (virtual/tmpfiles).
15
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 sys-fs/udisks/{udisks-2.9.1-r1.ebuild => udisks-2.9.1-r2.ebuild} | 7 +++++--
19 sys-fs/udisks/{udisks-2.9.2-r1.ebuild => udisks-2.9.2-r2.ebuild} | 7 +++++--
20 2 files changed, 10 insertions(+), 4 deletions(-)
21
22 diff --git a/sys-fs/udisks/udisks-2.9.1-r1.ebuild b/sys-fs/udisks/udisks-2.9.1-r2.ebuild
23 similarity index 94%
24 rename from sys-fs/udisks/udisks-2.9.1-r1.ebuild
25 rename to sys-fs/udisks/udisks-2.9.1-r2.ebuild
26 index c6aaf008337..57047f60efe 100644
27 --- a/sys-fs/udisks/udisks-2.9.1-r1.ebuild
28 +++ b/sys-fs/udisks/udisks-2.9.1-r2.ebuild
29 @@ -2,7 +2,7 @@
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI=7
33 -inherit bash-completion-r1 linux-info systemd udev xdg-utils
34 +inherit bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
35
36 DESCRIPTION="Daemon providing interfaces to work with storage devices"
37 HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks"
38 @@ -119,7 +119,10 @@ pkg_preinst() {
39 }
40
41 pkg_postinst() {
42 - mkdir -p "${EROOT}"/run #415987
43 + # TODO: obsolete with tmpfiles_process?
44 + #mkdir -p "${EROOT}"/run #415987
45 +
46 + tmpfiles_process udisks2.conf
47
48 # See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
49 if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
50
51 diff --git a/sys-fs/udisks/udisks-2.9.2-r1.ebuild b/sys-fs/udisks/udisks-2.9.2-r2.ebuild
52 similarity index 95%
53 rename from sys-fs/udisks/udisks-2.9.2-r1.ebuild
54 rename to sys-fs/udisks/udisks-2.9.2-r2.ebuild
55 index 47fbecee3c8..480609ab96f 100644
56 --- a/sys-fs/udisks/udisks-2.9.2-r1.ebuild
57 +++ b/sys-fs/udisks/udisks-2.9.2-r2.ebuild
58 @@ -2,7 +2,7 @@
59 # Distributed under the terms of the GNU General Public License v2
60
61 EAPI=7
62 -inherit bash-completion-r1 linux-info systemd udev xdg-utils
63 +inherit bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
64
65 DESCRIPTION="Daemon providing interfaces to work with storage devices"
66 HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks"
67 @@ -122,7 +122,10 @@ pkg_preinst() {
68 }
69
70 pkg_postinst() {
71 - mkdir -p "${EROOT}"/run #415987
72 + # TODO: obsolete with tmpfiles_process?
73 + # mkdir -p "${EROOT}"/run #415987
74 +
75 + tmpfiles_process udisks2.conf
76
77 # See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
78 if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then