mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 23:34:19 +08:00
Add userutils recipe
This commit is contained in:
parent
b62f5a2fc5
commit
be3b553cf4
13
recipes/userutils/recipe.toml
Normal file
13
recipes/userutils/recipe.toml
Normal file
@ -0,0 +1,13 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/userutils.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
cookbook_cargo
|
||||
cp -rv "${COOKBOOK_SOURCE}/res" "${COOKBOOK_STAGE}/etc"
|
||||
ln -s id "${COOKBOOK_STAGE}/bin/whoami"
|
||||
chmod +s "${COOKBOOK_STAGE}/bin/passwd"
|
||||
chmod +s "${COOKBOOK_STAGE}/bin/sudo"
|
||||
chmod +s "${COOKBOOK_STAGE}/bin/su"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user