mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Use all possible bins from uutils
This commit is contained in:
parent
bac9f7eee1
commit
94ceffa860
@ -2,12 +2,63 @@ GIT=https://github.com/redox-os/uutils.git
|
||||
GIT_UPSTREAM=https://github.com/uutils/coreutils.git
|
||||
CARGOFLAGS="--no-default-features --features redox"
|
||||
|
||||
BINS=(
|
||||
base32
|
||||
base64
|
||||
basename
|
||||
chmod
|
||||
cksum
|
||||
comm
|
||||
cp
|
||||
cut
|
||||
date
|
||||
dircolors
|
||||
dirname
|
||||
echo
|
||||
env
|
||||
expand
|
||||
expr
|
||||
factor
|
||||
false
|
||||
fmt
|
||||
fold
|
||||
head
|
||||
install
|
||||
link
|
||||
ls
|
||||
mktemp
|
||||
mv
|
||||
od
|
||||
paste
|
||||
printenv
|
||||
printf
|
||||
pwd
|
||||
readlink
|
||||
realpath
|
||||
relpath
|
||||
rm
|
||||
rmdir
|
||||
seq
|
||||
shuf
|
||||
sleep
|
||||
split
|
||||
sum
|
||||
tac
|
||||
tee
|
||||
tr
|
||||
true
|
||||
truncate
|
||||
tsort
|
||||
unexpand
|
||||
uniq
|
||||
wc
|
||||
yes
|
||||
)
|
||||
|
||||
function recipe_stage {
|
||||
mkdir -p "$1/bin"
|
||||
ln -s uutils "$1/bin/chmod"
|
||||
ln -s uutils "$1/bin/env"
|
||||
ln -s uutils "$1/bin/expr"
|
||||
ln -s uutils "$1/bin/install"
|
||||
ln -s uutils "$1/bin/ls"
|
||||
ln -s uutils "$1/bin/mktemp"
|
||||
for bin in "${BINS[@]}"
|
||||
do
|
||||
ln -s uutils "$1/bin/$bin"
|
||||
done
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user