From 5d675d2a7c6e1831ea23dbdf3323f1caf20781bb Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 10 Aug 2022 21:30:58 +0300 Subject: [PATCH] glusterfs rebuild Errors during tmpfiles creation. a+ - wrong type in file: /usr/lib/tmpfiles.d/tpm2-tss-fapi.conf a+ - wrong type in file: /usr/lib/tmpfiles.d/tpm2-tss-fapi.conf User gluster not exists (/usr/lib/tmpfiles.d/gluster.conf) Group gluster not exists (/usr/lib/tmpfiles.d/gluster.conf) mudur.log --- hardware/misc/glusterfs/actions.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hardware/misc/glusterfs/actions.py b/hardware/misc/glusterfs/actions.py index 09c7719ff2..ac594bfd97 100644 --- a/hardware/misc/glusterfs/actions.py +++ b/hardware/misc/glusterfs/actions.py @@ -11,8 +11,8 @@ from pisi.actionsapi import get def setup(): - autotools.autoreconf("-fi") shelltools.system("NOCONFIGURE=1 ./autogen.sh") + autotools.autoreconf("-fi") autotools.configure("--disable-static \ --sbindir=/usr/bin \ --with-mountutildir=/usr/bin \ @@ -35,4 +35,8 @@ def check(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodir("/usr/lib/sysusers.d") + shelltools.move("%s/usr/lib/tmpfiles.d/gluster.conf" % get.installDIR(), "%s/usr/lib/sysusers.d" % get.installDIR()) + pisitools.dodoc("AUTHORS", "COPYING*", "README*")