CVS commit: src
"Brook Milligan" <[email protected]> Sun, 2 Aug 2026 02:59:14 +0000
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: brook Date: Sun Aug 2 02:59:14 UTC 2026 Modified Files: src/distrib/utils/embedded: mkimage src/etc: Makefile src/etc/etc.evbarm: Makefile.inc src/etc/etc.evbmips: Makefile.inc src/etc/etc.evbppc: Makefile.inc src/etc/etc.riscv: Makefile.inc Log Message: PR install/59195 and PR port-evbmips/60302: fix hashes in gzimg directories Hashes in gzimg directories for some ports either correspond to the wrong (i.e., uncompressed) files or do not cover all files. These problems are described in PR install/59195 and PR port-evbmips/60302, respectively. The potential solution offered for PR 59195 does not work if multiple image files exist in a single gzimg directory. The correct solution involves three aspects: (i) make checksums independently of mkimage, which allows a common list of hashes in etc/Makefile, (ii) for directories producing more than one compressed image, make checksums in individual temporary files, one per compressed image, to combine at the end, and (iii) add make targets to allow parallelism across multiple images within each directory. This patch implements those steps for the evbarm, evbmips, evbppc, and riscv ports, which were the only ones previously using mkimage for checksums. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/distrib/utils/embedded/mkimage cvs rdiff -u -r1.477 -r1.478 src/etc/Makefile cvs rdiff -u -r1.139 -r1.140 src/etc/etc.evbarm/Makefile.inc cvs rdiff -u -r1.32 -r1.33 src/etc/etc.evbmips/Makefile.inc cvs rdiff -u -r1.22 -r1.23 src/etc/etc.evbppc/Makefile.inc cvs rdiff -u -r1.7 -r1.8 src/etc/etc.riscv/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.