mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Merge branch 'uuwatch' into 'master'
Port watch from uutils See merge request redox-os/redox!2098
This commit is contained in:
commit
6963cebcfc
@ -210,6 +210,7 @@ tokei = {}
|
||||
ttf-hack = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
uutils-procps = {}
|
||||
vim = {}
|
||||
vttest = {}
|
||||
wayland-rs = {}
|
||||
|
||||
@ -1,6 +1,22 @@
|
||||
#TODO not compiled or tested
|
||||
#TODO: common libc functions such as getsid
|
||||
#TODO: only watch is working
|
||||
[source]
|
||||
git = "https://github.com/uutils/procps"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
# TODO: more features support?
|
||||
CARGO_PROFILE_RELEASE_LTO=thin cookbook_cargo --no-default-features --features pmap,slabtop,sysctl,tload,vmstat,watch
|
||||
|
||||
BINS=(
|
||||
watch
|
||||
)
|
||||
|
||||
for bin in "${BINS[@]}"
|
||||
do
|
||||
ln -sv procps "${COOKBOOK_STAGE}/usr/bin/$bin"
|
||||
done
|
||||
"""
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user