Commit graph

13 commits

Author SHA1 Message Date
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
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>.
2003-01-28 22:03:00 +00:00
wiz
b82840a358 Remove superfluous Ns. 2003-01-08 17:48:16 +00:00
jmmv
66c99d3a13 Update sysbuild to 1.9. Changes include:
- 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.
2003-01-08 17:45:09 +00:00
jmmv
7b0d65dece Update sysbuild to 1.8:
- 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.
2003-01-01 21:16:52 +00:00
jmmv
fad8adc322 Update sysbuild to 1.7:
- Set DESTDIR properly while building toolchain.
- Create HOMEDIR if not exists when copying the sample configuration file
  (by the config target).
2002-12-28 14:58:31 +00:00
jmmv
97998d0bce Fix typo: NO_PATH -> NO_PATCH 2002-12-19 14:23:00 +00:00
jmmv
f27242496f Update sysbuild to 1.6:
- When running install-kernel, unset DESTDIR variable so kernel is placed
  in the right location.
2002-12-19 12:55:56 +00:00
jmmv
5e13ca1257 Update sysbuild to 1.5. Changes in this version:
- 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.
2002-12-18 11:28:08 +00:00
jmmv
bcb2e0c6bc Update sysbuild to 1.4.
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.
2002-12-14 23:23:08 +00:00
jmmv
c8c69a55da Update sysbuild to 1.3.
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).
2002-12-08 11:37:18 +00:00
jmmv
9c07130745 Update sysbuild to 1.2.
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).
2002-12-01 19:39:49 +00:00
jmmv
d6833f77dc During the build-sets target, sysbuild directly calls `make sets' inside
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.
2002-11-30 15:50:16 +00:00
jmmv
b8aab8e1f0 Initial import of sysbuild-1.0. Description follows:
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.
2002-11-28 19:57:28 +00:00