Up until 6.5, sparc64 bsd.rd were gzipped kernels. This got lost during
the Great Installation Media Unification of the 6.6 release cycle, and
since then bsd.rd are uncompressed.

The following diff ought to fix this and bring back sparc64 netboot
times down to acceptable times.

Index: miniroot/Makefile
===================================================================
RCS file: /OpenBSD/src/distrib/sparc64/miniroot/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- miniroot/Makefile   18 May 2020 06:20:44 -0000      1.23
+++ miniroot/Makefile   30 Dec 2020 20:35:55 -0000
@@ -100,7 +100,7 @@ unconfig:
 
 .ifdef RELEASEDIR
 install:
-       cp bsd.rd ${RELEASEDIR}/bsd.rd
+       cp bsd.gz ${RELEASEDIR}/bsd.rd
        chmod a+r ${RELEASEDIR}/bsd.rd
        cp ${FS} ${RELEASEDIR}
        cp ${CDROM} ${RELEASEDIR}

Reply via email to