Source-Changes archive

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

CVS commit: src/usr.sbin/installboot/arch



Module Name:    src
Committed By:   tsutsui
Date:           Sun Mar 30 03:03:27 UTC 2025

Modified Files:
        src/usr.sbin/installboot/arch: hp300.c

Log Message:
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.

Should also be pulled up to netbsd-10.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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