Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
15cbcef6
Verified
Commit
15cbcef6
authored
3 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Update uutils
parent
09b3dd84
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/uutils/recipe.sh
+0
-91
0 additions, 91 deletions
recipes/uutils/recipe.sh
recipes/uutils/recipe.toml
+11
-19
11 additions, 19 deletions
recipes/uutils/recipe.toml
with
11 additions
and
110 deletions
recipes/uutils/recipe.sh
deleted
100644 → 0
+
0
−
91
View file @
09b3dd84
GIT
=
https://gitlab.redox-os.org/redox-os/uutils.git
BRANCH
=
redox-unix
GIT_UPSTREAM
=
https://github.com/uutils/coreutils.git
CARGOFLAGS
=
"--no-default-features --features redox --bin uutils -- -C lto"
BINS
=(
base32
base64
basename
cat
chmod
cksum
comm
cp
cut
date
dircolors
dirname
echo
env
expand
expr
factor
false
fmt
fold
hashsum
head
install
join
link
ln
ls
md5sum
mkdir
mktemp
more
mv
nl
od
paste
printenv
printf
ptx
pwd
readlink
realpath
relpath
rm
rmdir
seq
sha1sum
sha224sum
sha256sum
sha3-224sum
sha3-256sum
sha3-384sum
sha3-512sum
sha384sum
sha3sum
sha512sum
shake128sum
shake256sum
shred
shuf
sleep
sort
split
sum
tac
tail
tee
test
tr
true
truncate
tsort
uname
unexpand
uniq
wc
yes
)
function
recipe_stage
{
mkdir
-p
"
$1
/bin"
for
bin
in
"
${
BINS
[@]
}
"
do
ln
-s
uutils
"
$1
/bin/
$bin
"
done
}
This diff is collapsed.
Click to expand it.
recipes/uutils/recipe.toml
+
11
−
19
View file @
15cbcef6
[source]
[source]
git
=
"https://gitlab.redox-os.org/redox-os/uutils.git"
git
=
"https://gitlab.redox-os.org/redox-os/uutils.git"
branch
=
"redox
-unix
"
branch
=
"redox"
[build]
[build]
template
=
"custom"
template
=
"custom"
script
=
"""
script
=
"""
COOKBOOK_CARGO_FLAGS+=(
COOKBOOK_CARGO_FLAGS+=(
--no-default-features
--no-default-features
--features redox
--features
feat_os_unix_
redox
--bin
u
utils
--bin
core
utils
)
)
cookbook_cargo
cookbook_cargo
...
@@ -16,15 +16,20 @@ BINS=(
...
@@ -16,15 +16,20 @@ BINS=(
base32
base32
base64
base64
basename
basename
basenc
cat
cat
chmod
chmod
cksum
cksum
comm
comm
cp
cp
csplit
cut
cut
date
date
dd
df
dircolors
dircolors
dirname
dirname
du
echo
echo
env
env
expand
expand
...
@@ -40,14 +45,14 @@ BINS=(
...
@@ -40,14 +45,14 @@ BINS=(
link
link
ln
ln
ls
ls
md5sum
mkdir
mkdir
mktemp
mktemp
more
mv
mv
nl
nl
numfmt
od
od
paste
paste
pr
printenv
printenv
printf
printf
ptx
ptx
...
@@ -58,18 +63,6 @@ BINS=(
...
@@ -58,18 +63,6 @@ BINS=(
rm
rm
rmdir
rmdir
seq
seq
sha1sum
sha224sum
sha256sum
sha3-224sum
sha3-256sum
sha3-384sum
sha3-512sum
sha384sum
sha3sum
sha512sum
shake128sum
shake256sum
shred
shred
shuf
shuf
sleep
sleep
...
@@ -88,11 +81,10 @@ BINS=(
...
@@ -88,11 +81,10 @@ BINS=(
unexpand
unexpand
uniq
uniq
wc
wc
yes
)
)
for bin in "${BINS[@]}"
for bin in "${BINS[@]}"
do
do
ln -sv
u
utils "${COOKBOOK_STAGE}/bin/$bin"
ln -sv
core
utils "${COOKBOOK_STAGE}/bin/$bin"
done
done
"""
"""
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment