The sources, and building Makronix yourself
Makronix is built with build.sh, cross, from any host. A
Makronix medium carries the sources it was built from, and the installation
puts them on your disk, so a Makronix system can build Makronix without a
network.
Where they are
| Set | Installed to | What |
|---|---|---|
src, gnusrc, syssrc, sharesrc |
/usr/src |
The NetBSD tree as Makronix builds it, with its changes |
xsrc | /usr/xsrc | X11 |
msrc | /usr/msrc |
The Makronix tree: its Makefile, tools and documentation, MCDE, pkgsrc at the version Makronix uses, and the source archives of every package Makronix ships |
Together about 2.3 GB. They are on the USB stick and the DVD, not on the CDs.
Building NetBSD on Makronix
As a user in the group wsrc (the account the installer makes
is in it):
cd /usr/src ./build.sh -U -j 4 -m amd64 -O ~/obj -T ~/tools -x tools distribution
Measured on a virtual machine with 8 CPUs: tools and distribution in about two hours.
Building Makronix
cd /usr/msrc export MAKRONIX_TOP=/usr/msrc make release ARCH=amd64 # the system, the kernels, the installer make iso # the CDs and the DVD make sourcesets # the source sets make usb # the USB stick images make test # tests the media in a virtual machine
The packages are built with pkgsrc, from the archives in
/usr/msrc/distfiles; nothing is downloaded.
Licences
NetBSD's sources are under the licences NetBSD names, mostly the BSD licence. MCDE, like CDE, is under the GNU Lesser General Public License. The packages keep the licences of their authors; pkgsrc records each one.