57b225071a
- recipes/dev/python312/recipe.toml: use COOKBOOK_TOOLCHAIN for --with-build-python instead of /tmp/python312, which the build system never stages. Add [ -x ] guard for clear failure on missing dev-dep. - recipes/core/userutils/recipe.toml: switch from upstream git URL to local fork (local/sources/userutils/) per the local fork model. The upstream source opens /scheme/pty/ptmx which the ptyd scheme does not recognize; the local fork opens /scheme/pty correctly and avoids the getty PTY panic. - local/scripts/build-preflight.sh: warn when a recipe build script references /tmp/<known-package>/, since the cookbook does not stage host dev-deps under /tmp/<name>. Points authors at COOKBOOK_TOOLCHAIN. - local/scripts/build-redbear.sh: replace 'tail -1 || true' on pre-cook failures with proper error capture, last-50-lines tail on failure, and exit-1. Verify the pkgar exists after a successful cook.
15 lines
364 B
TOML
15 lines
364 B
TOML
[source]
|
|
path = "../../../local/sources/userutils"
|
|
upstream = "https://gitlab.redox-os.org/redox-os/userutils.git"
|
|
patches = ["P5-redbear-branding.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
cookbook_cargo
|
|
cp -rv "${COOKBOOK_SOURCE}/res" "${COOKBOOK_STAGE}/etc"
|
|
rm -f "${COOKBOOK_STAGE}/etc/motd"
|
|
ln -s id "${COOKBOOK_STAGE}/usr/bin/whoami"
|
|
"""
|