7a36312588
Enforce that every source-tree edit must be mirrored to local/patches/ and wired into recipe.toml in the same session. Apply the policy retroactively to userutils res/issue and res/motd (Redox → Red Bear).
15 lines
308 B
TOML
15 lines
308 B
TOML
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/userutils.git"
|
|
patches = [
|
|
"../../../local/patches/userutils/redox.patch",
|
|
]
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
cookbook_cargo
|
|
cp -rv "${COOKBOOK_SOURCE}/res" "${COOKBOOK_STAGE}/etc"
|
|
ln -s id "${COOKBOOK_STAGE}/usr/bin/whoami"
|
|
"""
|