From 07bf7a2229eb75903fa16d857df67b57fde15ac8 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 14 Dec 2025 19:33:37 +0200 Subject: [PATCH] Move mount binaries into usr/sbin --- pkg.info | 2 +- source.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg.info b/pkg.info index 027f93b..b783082 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: glusterfs description: free and open source software scalable network filesystem version: "11.1" -revision: 2 +revision: 3 url: https://www.gluster.org/ license: GPL2-or-later,LGPL3-only architecture: any diff --git a/source.sh b/source.sh index f714749..31761dc 100644 --- a/source.sh +++ b/source.sh @@ -11,8 +11,7 @@ prepare() { # This function is used to compile the source code build() { ./configure --prefix=/usr \ - --sbindir=/usr/bin \ - --with-mountutildir=/usr/bin \ + --with-mountutildir=/usr/sbin \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ @@ -35,7 +34,6 @@ package() { # Remove unwanted directories rm -r "$BPM_OUTPUT"/var/run - rm -r "$BPM_OUTPUT"/usr/lib/systemd # Install documentation cp -r doc/* "$BPM_OUTPUT"/usr/share/doc/glusterfs/