have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
- Addition of a new variable, MACHINE, which is used to tell the program
the machine name. This is needed since NetBSD-current now automatically
adds this value to RELEASEDIR.
- Properly pass RELEASEDIR's value to make when building an X release
(pointed out by Douglas Brebner in private mail).
- Update the TODO list in the manpage: remove the X11R6 item and add a new
one about using build.sh to create and use a nbmake wrapper.
- When calling MOUNT_PRECMD, do not quote its arguments, so the pre-command
can determine which is the program that needs to be executed. Pointed out
by Douglas Brebner in private mail.
- Added build-x-release target to build a full X11R6 binary snapshot. The
process works as an unprivileged user, keeping sources clean (using
mount_union(8)).
- Added install-x-sets target to install the sets built by build-x-release.
Change since 1.3: Set BSDSRCDIR, OBJMACHINE and MKOBJDIRS when calling
build.sh and nbmake, so object directories are created in the right place,
not inside the sources.
Changes since 1.2:
- Fixed several bugs in fast mode `-f' (directories were cleaned even if
this flag was given, so it was of no use).
- Ability to keep tools while cleaning (KEEP_TOOLS variable); rebuild them
only when necessary (not found).
- When directly calling "make" or "config", use the binaries in the TOOLDIR
directory, not the ones of the current system.
- Fixed a typo in usage (pointed by Sergio Jiménez).
Changes in this version include:
* New flag `-f' (fast mode). This allows setting the UPDATE variable
during builds (`-u' option of build.sh) and also makes kernel builds
faster.
* New target config-kernel. This makes it easy to modify kernel
configuration files interactively.
* Do not create sysbuild user's home directory during installation, to
avoid hardcoding the /etc/skel path in the INSTALL script. Instead,
provide a sample (and simple) `profile' file that is installed in
the examples directory and is copied to the right place during the
`init' target (suggested by jlam).
* Use `printf' instead of `echo -n' (the later is not well supported
under some systems, like Solaris).
distrib/sets. This call requires TOOLDIR to be set accordingly so that
make can find sysbuild compiled tools. Reported by Sergio Jiménez (sjr at
hispabsd dot org).
Also add a note in the manpage telling the user to use ?= in his mk.conf,
so that sysbuild can override the values there (specially for things like
TOOLDIR).
Bump version to 1.1.
sysbuild is a script that simplifies the process of building NetBSD
releases and kernels as an unprivileged user. It should be clear enough
that it does not add any kind of magic to the NetBSD build system. It
just automates boring steps, like setup of permissions, directories,
execution of the build process, etc. It also provides enough
functionality to automatically update CVS source trees.
sysbuild can be easily used from command line or as a cron job, so
you can schedule most of the build jobs (really, it has been designed
to run perfectly from cron).
Approved by wiz.