diff options
author | 2021-07-31 02:33:43 +0100 | |
---|---|---|
committer | 2021-07-31 02:37:11 +0100 | |
commit | e68166f39e0c03b05b98cafc019b92b3e1a04807 (patch) | |
tree | a34125d931eb370b67d1d768d6d5d15241fcc2ea /sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild | |
parent | app-crypt/nitrocli: Bump version to 0.4.1 (diff) | |
download | gentoo-e68166f39e0c03b05b98cafc019b92b3e1a04807.tar.gz gentoo-e68166f39e0c03b05b98cafc019b92b3e1a04807.tar.bz2 gentoo-e68166f39e0c03b05b98cafc019b92b3e1a04807.zip |
sys-cluster/glusterfs: consistently call tmpfiles_process in pkg_postinst
We weren't always calling tmpfiles_process in pkg_postinst,
nor we were always using the correct filename.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild')
-rw-r--r-- | sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild b/sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild index 8f52fcdca644..4b3b440fa715 100644 --- a/sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild +++ b/sys-cluster/glusterfs/glusterfs-9.1-r1.ebuild @@ -99,7 +99,7 @@ src_configure() { $(use_enable xml xml-output) \ $(use libtirpc || echo --without-libtirpc) \ $(use ipv6 && echo --with-ipv6-default) \ - --with-tmpfilesdir="${EPREFIX}"/etc/tmpfiles.d \ + --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \ --localstatedir="${EPREFIX}"/var } @@ -108,6 +108,10 @@ src_compile() { use emacs && elisp-compile extras/glusterfs-mode.el } +src_test() { + ./run-tests.sh || die +} + src_install() { default @@ -159,11 +163,9 @@ src_install() { python_optimize "${ED}" } -src_test() { - ./run-tests.sh || die -} - pkg_postinst() { + tmpfiles_process gluster.conf + elog "Starting with ${PN}-3.1.0, you can use the glusterd daemon to configure your" elog "volumes dynamically. To do so, simply use the gluster CLI after running:" elog " /etc/init.d/glusterd start" |