Age | Commit message (Collapse) | Author | Files | Lines |
|
Otherwise, random panics may occur.
Explanation from ad@, patch from Zafer.
Bump to 0.17.
|
|
|
|
|
|
* 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.
|
|
I'll be moving home in some weeks and old site will not be accessible.
|
|
http://mklivecd.xtrarom.org/
|
|
Remove -nobak from MKISOFS_ARGS, which is not available on newer cdrtools
versions.
Pointed out by Zafer Aydogan, thanks.
|
|
committing to that package should ask me first.
|
|
-f rather than ! -f, so the test was inverted) was done by hauke.
|
|
"install stuff I already built" step.
Also remove an unnecessary creation of ${PREFIX}/share/mklivecd which
is already handled in INSTALLATION_DIRS.
|
|
* 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!
|
|
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
|
|
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.
|
|
* Fix a problem in the 'iso' target removing permissions in all files.
* Don't do the MULTIBOOT fix if the kernel is not available in WORKDIR.
|
|
* Fix typos in mklivecd.sh that prevented to initialize /home
and /usr/pkg/etc directories correctly.
|
|
* Don't modify menu.lst if it's not available.
* Update some comments.
|
|
* 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...
|
|
|
|
|
|
Update some messages/comments.
|
|
* Update for NetBSD -current: the CD-ROM ISO9660 bootloader is
installed as 'bootxx_cd9660'.
|
|
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.
|
|
Bump PKGREVISION.
|
|
|
|
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@.
|
|
(required to boot from any existing partition on the disk, missed
in previous).
Bump PKGREVISION.
|
|
* 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.
|
|
|
|
|
|
|
|
Changes:
o Default location for kernels is /boot/grub.
o Improved messages.
o Fix wrong permissions in $ISODIR.
|
|
Thanks to Christian Limpach for the "boot/grub" fix.
So the Grub's menu is shown correctly without specify "configfile /foo".
|
|
|
|
Changes:
o Added MKISOFS_ARGS option.
o mklivecd no longer uses NetBSD's Makefiles to create the
boot image, GNU GRUB with the ISO9660 patch is used instead.
With Grub's addition, mklivecd can now boot multiple kernels with
different configurations. Please read the MESSAGE to see the instructions.
mklivecd now should work in 1.6 systems (not tested).
|
|
o Added a new flag (-v) to show more informational messages.
o Don't try to mount/umount pkgsrc directory every time the
`chroot' target is invoked.
o Added a new option to the config file: `CDRECORD_ARGS'.
|
|
Changes:
o Added a new argument (-c) for choosing the configuration file.
o Improve error/information messages.
o Plus minor changes.
|
|
mklivecd is a simple shell script that allows you to build a custom
NetBSD LiveCD on i386-based machines.
Thanks to Thomas Klausner for his help writing the manual page.
|