Re: Tools mkhybrid(8) for mac68k/macppc ISO9660/HFS install ISO images

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <CAGN_6pbJPOinBvkvdwC4YL5ac1R_D=XjZq4WeXXjdEAWqGouPQ@mail.gmail.com>
On Sat, 1 Jun 2024 at 20:00, Izumi Tsutsui <[email protected]> wrote:
>
> abs@ wrote:
>
> > > Committed:
> > >  https://mail-index.netbsd.org/source-changes/2024/05/31/msg151577.html
> > >  https://mail-index.netbsd.org/source-changes/2024/05/thread3.html#151603
> >
> > Wonderful. Presumably once an iso shows up on http://nyftp.netbsd.org/
> > we can get people to test boot it on a selection of machines,
>
> It looks there has been no NetBSD-10.99.10-mac68k.iso image in
>  https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202405280640Z/images/
> dir (and older builds either).
>
> "build.sh -U -m mac68k iso-image" should build and install an ISO
> by mkisofs (or new mkhybrid) via "iso-image-mi" in src/etc/Makefile
>  https://github.com/NetBSD/src/blob/aee3d42c/etc/Makefile#L458-L463
>
> via "do-iso-image" in src/etc/etc.mac68k/Makefile.inc,
>  https://github.com/NetBSD/src/blob/aee3d42c/etc/etc.mac68k/Makefile.inc#L19-L24
>
> but maybe daily build uses different rules or variables to
> build ISOs from "build.sh -m ${MACHINE} iso-image"?
> (note mac68k doesn't have src/distrib/mac68k/cdroms dir and
>  doesn't use src/distrib/common/Makefile.bootcd)

localsrc/releng/autobuild/etc/autobuild.conf disables the iso-image
target for mac68k and riscv. Let me run a quick check that it doesn't
explode building an iso-image for netbsd-9 and netbsd-10 and I'll
propose changing it to build mac68k by default.

how about for macppc?

localsrc/releng/release-prep.txt also has notes on the special manual
steps to build the mac68k and macppc iso images. It would be nice to
make them go away (longer term goal :)

> > then
> > look for a pullup to -10?
>
> Well, to build macppc bootable CD, we also have to update
> src/distrib/cdrom/macppc_installboot files, but in -current
> macppc_installboot files have also been changed for hp300 boot CD
> support (i.e. now it depends on src/usr.sbin/installboot/cd9660.c),
> so pullups of the changes to netbsd-10 are a bit complicated..

I would *love* to help getting mac68k, macppc and hp300 boot
improvements pulled up to -10 :-p

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.