Commit graph

76 commits

Author SHA1 Message Date
xtraeme
8c28d6e5f4 Update to 0.15.3:
Remove -nobak from MKISOFS_ARGS, which is not available on newer cdrtools
versions.

Pointed out by Zafer Aydogan, thanks.
2007-07-03 15:45:06 +00:00
xtraeme
181b5ce956 Add a comment before the MAINTAINER line explaining that people
committing to that package should ask me first.
2007-06-21 12:31:51 +00:00
xtraeme
0834be84e9 Bump to 0.15.2 because a fix for MULTIPLE_KERNELS (there was a typo:
-f rather than ! -f, so the test was inverted) was done by hauke.
2007-06-21 12:28:31 +00:00
hauke
9c3c76433d Only complain about a missing kernel config file if we did actually
_not_ find it.
2007-06-21 12:21:10 +00:00
jlam
32b215df05 Put build actions into a do-build target. Keep do-install as a pure
"install stuff I already built" step.

Also remove an unnecessary creation of ${PREFIX}/share/mklivecd which
is already handled in INSTALLATION_DIRS.
2007-06-15 15:44:25 +00:00
xtraeme
9951db5e01 Erm... it's KERNEL_VARS not KERNEL_ARGS. 2007-04-12 23:08:35 +00:00
xtraeme
d8c72c71b8 do_conf_reset(): add missing KERNEL_VARS. 2007-04-12 23:07:55 +00:00
xtraeme
bbb2308b64 Fix previous, only check for kernel config and not for the work
directory... which might not be created yet.
2007-04-12 22:39:36 +00:00
xtraeme
4152db6dc3 Do the same for MULTIPLE_KERNELS, check if the kernel is found in
~/.mklivecd before showing informative messages.
2007-04-12 22:31:16 +00:00
xtraeme
8b5d24fdfc * Check if the kernel is available in ~/.mklivecd before showing
informative messages.
* Remove unnecessary checks for USE_GNU_GRUB, now that some options
  are checked to have correct values.
* Misc cleanups.
2007-04-12 22:26:19 +00:00
xtraeme
202a7895b1 Remove a check for USE_GNU_GRUB, now that there's a common function
to test the value in options.
2007-04-11 14:40:44 +00:00
xtraeme
1305aaeb3c * Check if the option is set, and error out if not.
* Added PERSONAL_CONFIG to the yesno options checks.
2007-04-11 14:31:35 +00:00
xtraeme
82b06fb2a0 Extra bonus for 0.15.1: check value in options accepting 'yes' or 'no'
values (case insensitive), show an error message if the value
is not accepted and exit.
2007-04-11 14:22:26 +00:00
xtraeme
bd3032f9f6 Update to 0.15.1:
* 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.
2007-04-11 11:51:35 +00:00
xtraeme
d567daad26 Another bonus for 0.15: rename the base tarballs to ramfs_foo, because
mfs is not an appropiate name anymore.
2007-04-10 20:52:01 +00:00
xtraeme
96dc7f7171 Extra bonus for 0.15: if there's a set already found in BASE_SETS_DIR
downloaded by the fetch target, ask interactively to the user if wants
to download again or not.
2007-04-10 03:05:49 +00:00
xtraeme
2a0957da56 Not needed anymore. 2007-04-10 02:24:08 +00:00
xtraeme
11dd81f2e2 Update to 0.15:
* 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.
2007-04-10 02:23:34 +00:00
xtraeme
85a2f40733 It's not for i386 anymore. 2007-03-10 00:05:46 +00:00
xtraeme
bf88de65e3 Bump copyright year. 2007-03-10 00:01:23 +00:00
xtraeme
65dac14ddd Update to 0.14.5:
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!
2007-03-09 23:51:50 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
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.
2007-01-07 09:13:46 +00:00
xtraeme
ccb6d5f49f Update to 0.14.4:
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.
2006-12-02 01:04:47 +00:00
wiz
c59a21b4c4 Sort sections. New sentence, new line. 2006-10-14 07:42:25 +00:00
xtraeme
85fbd514cc Update to 0.14.3 (sigh):
* 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.
2006-10-13 16:39:53 +00:00
xtraeme
00b6b7f418 Update to 0.14.2:
* Fix typos in mklivecd.sh that prevented to initialize /home
  and /usr/pkg/etc directories correctly.
2006-10-13 14:58:34 +00:00
xtraeme
0250871316 * Fix typo in mklivecd(8).
* In the clean target check for $packages_mntstat too.
2006-10-13 13:07:12 +00:00
xtraeme
80e47f56a9 Update to 0.14.1:
* Don't modify menu.lst if it's not available.
* Update some comments.
2006-10-12 15:03:51 +00:00
xtraeme
b20cb1e98f Fix comment. 2006-10-08 19:15:02 +00:00
xtraeme
f2c8f2d36b Update to the long awaited 0.14 version with the following changes:
* 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...
2006-10-08 19:08:38 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
988f0a1b48 Fix typo in DEPENDS, from Per Amund Amundsen in PR 32574. 2006-01-19 17:51:30 +00:00
wiz
dc560ec778 Depend on cdrtools instead of cdrecord. Bump PKGREVISION.
Update some messages/comments.
2006-01-05 23:29:04 +00:00
xtraeme
342955bb02 Update to 0.13.2:
* Update for NetBSD -current: the CD-ROM ISO9660 bootloader is
	  installed as 'bootxx_cd9660'.
2005-10-08 23:20:10 +00:00
xtraeme
87a353adb6 Update to 0.13.1
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.
2005-08-13 23:35:44 +00:00
xtraeme
3ee187be18 Update to 0.13.0
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.
2005-08-11 20:48:55 +00:00
xtraeme
1bd2c0cc14 Depend on grub>=0.97, because there is not 0.98... thanks Jeff Rizzo.
Bump PKGREVISION.
2005-08-02 12:32:23 +00:00
xtraeme
8a210c68eb Forgot to enable GRUB dependency, do it. 2005-07-29 12:17:20 +00:00
xtraeme
805b5f9551 Update to 0.12.0.
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.
2005-07-29 12:13:01 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
jlam
e70b376fa4 Note that tar is required by this package. 2005-05-16 01:32:22 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xtraeme
7577a66f43 Update to 0.11
* 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@.
2005-03-30 14:23:04 +00:00
xtraeme
bf9ba7e5fe Copy the stage{1,2} GRUB files into $ISODIR/grub as well
(required to boot from any existing partition on the disk, missed
in previous).

Bump PKGREVISION.
2005-03-16 16:37:37 +00:00
xtraeme
f435db0804 Update to 0.10:
* 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.
2005-03-16 05:31:23 +00:00
xtraeme
5121e7566f Note that the example kernel file was based on the 2-0 branch,
bump date for that.
2005-01-11 02:25:21 +00:00
xtraeme
d50910ff17 Update to 0.9, changes:
* 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.
2005-01-11 02:08:53 +00:00
wiz
5e82ccba0e Add EXAMPLES section with the minimal steps for creating
your own Live CD. Text by xtraeme@, I just formatted it.
2004-11-04 17:01:11 +00:00
xtraeme
74ac597ea9 Update sysutils/mklivecd to 0.8.
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'.
2004-11-04 16:29:55 +00:00
xtraeme
903e28d2c0 s/BUILD_DEPENDS/DEPENDS/g 2004-10-29 20:44:32 +00:00