commit: d40b04ded7d8c6505ad6a958ab8eda9b0ad842f2
Author: Colin Gillespie <colin <AT> cgillespie <DOT> xyz>
AuthorDate: Mon Aug 14 02:16:49 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 28 06:16:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d40b04de
sys-fs/bcachefs-tools: move binaries to /sbin
bcachefs and mount/fsck/mkfs helpers are expected to reside in /sbin.
Signed-off-by: Colin Gillespie <colin <AT> cgillespie.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
b/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
index 3e057d19c8ff..e0dd0d66a627 100644
--- a/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
+++ b/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
@@ -23,7 +23,7 @@ if [[ ${PV} == "9999" ]]; then
else
MY_COMMIT=1f78fed4693a5361f56508daac59bebd5b556379
SRC_URI="https://github.com/koverstreet/bcachefs-tools/archive/${MY_COMMIT}.tar.gz
-> ${P}.tar.gz
- $(cargo_crate_uris ${CRATES})"
+ ${CARGO_CRATE_URIS}"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
KEYWORDS="~amd64"
fi
@@ -129,11 +129,15 @@ src_test() {
}
src_install() {
- exeinto /usr/bin
- local file
- for file in bcachefs fsck.bcachefs mkfs.bcachefs mount.bcachefs; do
- doexe $file
- done
+ into /
+ dosbin bcachefs fsck.bcachefs mkfs.bcachefs mount.bcachefs
+
+ if use fuse; then
+ dosbin mount.fuse.bcachefs
+ newsbin fsck.bcachefs fsck.fuse.bcachefs
+ newsbin mkfs.bcachefs mkfs.fuse.bcachefs
+ fi
+
doman bcachefs.8
}