Add userutils recipe

This commit is contained in:
Jeremy Soller 2020-05-21 15:49:07 -06:00
parent b62f5a2fc5
commit be3b553cf4
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View 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"
"""