Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/usr.sbin/installboot/arch



Module Name:    src
Committed By:   martin
Date:           Sat Apr 12 12:04:19 UTC 2025

Modified Files:
        src/usr.sbin/installboot/arch [netbsd-10]: hp300.c

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1088):

        usr.sbin/installboot/arch/hp300.c: revision 1.20

Always read LIF volume/directory from stage1 even on cd9660 stage2 case.
mmap(2) against the bootstrap file in the target cd9660 could fail
because the sector size of ISO9660 is 2048 so each file could be
allocated at an offset not pagesize (4096 or 8192) aligned.

This could fail if stage1 (specified via "primary" arg on command line)
and stage2 (on the target filesystem) files are different, but
in "build.sh iso-image" case they are always identical.

The problem (build failures in auotomated builds for hp300 on Linux)
was reported by Jan-Benedict Glaw.


To generate a diff of this commit:
cvs rdiff -u -r1.17.2.1 -r1.17.2.2 src/usr.sbin/installboot/arch/hp300.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index