Files
makronix/tools
lotherk 8aef98293a pkgchroot: the build key is the recipe's content, not its mtime
The mtime test said nothing on the MacBook: a git checkout does not renew the
time of a file whose content changed in an earlier commit, so
/usr/src/pkgsrc/wm/mcde/Makefile kept 2026-11-22 10:27 after mcde 288d1383 was
checked out, and the work directory of 21:55 counted as newer.  The release
then installed the binary of the day before again (run f, 12:30: no rebuild).

sandbox_stale() now hashes what the build reads -- Makefile, options.mk,
patches, PLIST, distinfo (which tools/ext-dist.sh writes from the archive) --
and compares that with the key it stored after the last build.  A package
without a key is rebuilt once, which is the cost of the fix.

Test: key for wm/mcde computes (dc7b25d0...); dash -n; the release is not run
with it yet.
2026-11-23 12:33:33 +00:00
..