Source-Changes archive

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

CVS commit: [netbsd-11] src/distrib/common/bootimage



Module Name:    src
Committed By:   martin
Date:           Thu Jan 22 20:24:45 UTC 2026

Modified Files:
        src/distrib/common/bootimage [netbsd-11]: Makefile.bootimage
Added Files:
        src/distrib/common/bootimage [netbsd-11]: diskproto2sunlabel.awk

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

        distrib/common/bootimage/Makefile.bootimage: revision 1.47
        distrib/common/bootimage/diskproto2sunlabel.awk: revision 1.1

bootimage: Derive sunlabel(8) input from the disklabel protofile

For USE_SUNLABEL labeling, stop hard-coding the sunlabel(8) geometry
in cylinders in Makefile.bootimage.  Instead, generate the sunlabel(8)
command stream by parsing the generated disklabel protofile with
a small awk helper.

This keeps the Sun disk label consistent with the disklabel(8) protofile
and avoids maintaining two independent sets of geometry/partition logic.

Tested with a sun3 live-image on TME.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.46.2.1 \
    src/distrib/common/bootimage/Makefile.bootimage
cvs rdiff -u -r0 -r1.1.2.2 \
    src/distrib/common/bootimage/diskproto2sunlabel.awk

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