* Introduce the MOUNT_{PACKAGES,PKGSRC,PKGSRCDIST}_DIR options in the
configuration file, to use null mounts for them. By default neither
of these directories will be mounted by default.
* Introduce the concept of 'targets done'. If the user tries to issue
a 'base' target before the 'kernel' target an error message will be
printed and an appropiate error code returned (just an example, it is
done for all required targets). This is useful to avoid silly things
like:
[mklivecd kernel target was skipped here]
$ mklivecd base
$ mklivecd chroot
$ mklivecd iso
Obviously the 'iso' target failed because it couldn't find some
required files.
* Changed informative messages to "MKLIVECD>".
* Improved all messages.
* Fix problems with MULTIPLE_KERNELS and USE_GNU_GRUB, previously
if they were not defined the build continued or failed silently.
* Added more error checks.
* Added a new target 'fetch' that will fetch the specified sets from
the specified URL.
* Fixed permissions on /tmp. (Reported by Zafer Aydogan).
* Renamed BOOTKERN to KERNEL_CONFIG, because it's more appropiate.
* Fix a problem with options accepting a 'yes' argument, now
the value can be case insensitive.
* Remove the example kernel config, too old and useless.
* Use mktemp(1) to create the temporary file.
* Updated manpage with reality.
This version adds support for NetBSD/amd64 with bootxx_cd9660, because
grub does not work in 64bit mode, so I've disabled the USE_GNU_GRUB
and GRUB_FILES_DIR options if it's amd64.
Enjoy!
Fixed a bug in the MULTIBOOT case with kernels like GENERIC.MPACPI.
These kind of kernels do not define "options MULTIBOOT" because
they include another config file that has defined the option.
Rather than using grep -q MULTIBOOT on the kernel config file,
use config(1) -x <kernel> and check if MULTIBOOT is set.
* Support for tmpfs, enabled via MNT_RAMFS_{ARGS,CMD}.
To use tmpfs and all the available RAM in the machine, use the
following lines in your configuration file:
MNT_RAMFS_CMD="mount_tmpfs"
MNT_RAMFS_ARGS="tmpfs"
By default it will default to MNT_RAMFS_CMD="mount_mfs" and
MNT_RAMFS_ARGS="-s 128m swap" to maintain compatibility with NetBSD
versions < 4.0.
* Support to mount a specific PACKAGES directory via PACKAGESDIR
in the configuration file.
* Added CDRECORD_BIN and MKISOFS_BIN to specify alternative binaries.
* Remove MNT_FOO_ARGS, mount_null(8) is used on the root memory filesystem
to mount all dependent directories.
* Fix booting with GNU GRUB and MULTIBOOT on >=4.0.
Please upgrade to this version and let me know if you are not
happy...
Changes:
* Looks like we'll have to mount the mfs_var tarball
before mounting the vnd(4) var_db_pkg compressed image.
* Remove all dirs/files from /usr and /var/db/pkg, saves
some space.
Changes:
* New option added: VND_COMPRESSION. To enable vnd(4)
compression on /usr and /var/db/pkg (at the moment).
* Fixed a problem with -k and USE_GNU_GRUB=yes,
building a kernel with -k overwrites the "menu.lst"
file.
* Only copy /etc/X11/XF86Config to $ISODIR when there
is not a previous file, fixes PR pkg/30889.
* Renamed the rc.d script mfs_rcd to livecd, because
it's not only mfs anymore.
Finally we can have kde-3.4.2 with NetBSD in a live CD-ROM:
416M netbsd-3.99.7_kde-3.4.2.iso
Enjoy.
Changes:
o cdboot support on NetBSD >=4.0 (-current).
o Availability to choose the bootloader through a new option:
USE_GNU_GRUB (by default yes).
o When using GRUB as the bootloader, it is possible to build
and install multiple kernels with the target "kernel", it
will install the kernels into the ISO image and the menu.lst
file will be modified automatically, see MULTIPLE_KERNELS
(mklivecd(8)).
o Various misc fixes.
o Now /dev uses optimum values for not wasting space.
o Added -k flag, that accepts a kernel as argument. To build
an additional kernel without looking at the config file.
* grub changed the directory for the stage files, this was
changed in 0.96, require at least this version.
* Don't remove the work directories when the pkgsrc or
distfiles are still mounted in the clean target.
Patch submitted by Mike M. Volokhov on tech-pkg@.
* Copy all stage 1.5 files from GRUB into $ISODIR/grub/, useful to boot
from any existing partition in the disk.
* Show usage when the target is not valid.
* Don't overwrite $ISODIR/etc/profile every time chroot target is invoked,
provide defaults only the first time we run it.
* Ask interactively to the user if he/she wants to remove the current iso
image found on $BASEDIR/$IMAGE_NAME and create a new one if that was
selected.
Changes:
* Added two new options: PKGSRCDISTDIR and CHROOT_SHELL, to specify
distfiles directory and the shell to be used in the `chroot' target.
* Remove MESSAGE file, it's useless right now... because
the `menu.lst' file is created when the `kernel' target has been
invoked, with default values, ready to boot.
* Replace another `j' tar(1) flag with `z'.
Changes:
* s/DEPENDS/BUILD_DEPENDS/ for grub and cdrecord.
* Don't use "j" flag in tar(1), it is not available on NetBSD 1.6.x,
use "z" flag instead.
* Replace harcoded tar with @TAR@ in the scripts.
* s/.tbz/.tgz/g
Thanks to Raoul Bhoedjang for his comments in private email.