Table of Contents

NetBSD Code Patch System

In order to be able to neatly track NetBSD sources, and easily import and patch more, there is a system to retrieve NetBSD sources using cvs, and automatically generate patch files from the current Minix code with respect to the current NetBSD code.

Imported NetBSD code

Hierarchy Maintenance

Install the cvs package.

pkgin in cvs

After running the following command, the original NetBSD sources will be stored, for reference, in src/nbsdsrc.

cd /usr/src/releasetools && make nbsd_fetch

Using nbsd.config, this fetches the right revision of the imported hierarchies.

To update each hierarchy's patch file (minix-port.patch):

make nbsd_diff

Remaining Issues

Resolved Issues, with future follow-up