mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-util/0xtools: replace xtop launcher
Closes: https://bugs.gentoo.org/940266 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -52,7 +52,7 @@ src_install() {
|
||||
|
||||
# C executables and scripts
|
||||
exeinto /usr/bin
|
||||
doexe bin/{cpumhz,vmtop,xcapture,xtop}
|
||||
doexe bin/{cpumhz,vmtop,xcapture}
|
||||
doexe bin/{run_xcapture.sh,run_xcpu.sh}
|
||||
|
||||
# Python executables
|
||||
@@ -73,6 +73,10 @@ src_install() {
|
||||
doins bin/xcapture-bpf.c
|
||||
make_wrapper xcapture-bpf "/lib/${PN}/xcapture/xcapture-bpf"
|
||||
|
||||
# There is a upstream command "xtop" that wraps around "xcapture-bpf"
|
||||
# but its broken because of dynamic path lookup for "xcapture-bpf".
|
||||
make_wrapper xtop "xcapture-bpf --xtop --clear-screen"
|
||||
|
||||
# Service config
|
||||
insinto /etc/default
|
||||
newins xcapture.default xcapture
|
||||
Reference in New Issue
Block a user