Commit graph

50 commits

Author SHA1 Message Date
wiz
00e8be16bf Remove cdrtools-ossdvd from dependency pattern, since the package
was removed from pkgsrc.
Addresses PR 36264.
2010-12-02 20:10:26 +00:00
joerg
33c4173462 DESTDIR support 2010-01-27 19:27:24 +00:00
wiz
ca3935f19d Avoid null mounting /dev (it needs to be layer-free).
Otherwise, random panics may occur.

Explanation from ad@, patch from Zafer.

Bump to 0.17.
2009-04-11 17:28:16 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
wiz
41f426ade1 Reset maintainer on his request. 2008-05-25 21:20:07 +00:00
xtraeme
2222d2fd5b Update to 0.16 (leaf package):
* 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.
2008-03-27 20:54:09 +00:00
xtraeme
29edbc962e New mklivecd's site URL: http://www.netbsd.org/~xtraeme/mklivecd/
I'll be moving home in some weeks and old site will not be accessible.
2008-03-04 10:36:58 +00:00
xtraeme
0a0b62b113 mklivecd has a new and shiny website now, visit me at:
http://mklivecd.xtrarom.org/
2008-01-24 20:09:14 +00:00
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
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
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
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
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
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
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
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
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
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
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
xtraeme
ab02e46232 Update sysutils/mklivecd to 0.7.
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.
2004-10-29 17:47:30 +00:00
xtraeme
e4d3114d7d Accept cdrtools-ossdvd as well, closes PR pkg/26463 by Greg Troxel. 2004-07-28 20:36:28 +00:00
uebayasi
4000ef7084 Other packages' commands may not be found in ${PREFIX} nowadays. Fix it. 2004-05-20 02:11:41 +00:00
uebayasi
89664f47e0 Fix pkgviews installation. 2004-05-19 12:22:42 +00:00
xtraeme
dc3160c480 Update sysutils/mklivecd to 0.6.
Changes:

	o Default location for kernels is /boot/grub.
	o Improved messages.
	o Fix wrong permissions in $ISODIR.
2004-05-01 10:46:10 +00:00
xtraeme
ccab96e47e Update sysutils/mklivecd to 0.5.
Thanks to Christian Limpach for the "boot/grub" fix.
So the Grub's menu is shown correctly without specify "configfile /foo".
2004-04-27 15:34:19 +00:00
xtraeme
42852ea44c Remove a local change. 2004-04-26 17:30:33 +00:00
xtraeme
790ad04817 Update sysutils/mklivecd to 0.4 (Say hello to GNU GRUB+ISO9660 patch).
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).
2004-04-26 17:28:58 +00:00
xtraeme
40cb3a2cf8 Update mklivecd to 0.3.
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'.
2004-03-03 16:26:40 +00:00
xtraeme
9cdea873a2 Update mklivecd to 0.2.
Changes:

    o Added a new argument (-c) for choosing the configuration file.
    o Improve error/information messages.
    o Plus minor changes.
2004-02-27 01:32:30 +00:00
xtraeme
f53b741a39 Initial import of mklivecd-0.1.
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.
2004-02-26 03:58:50 +00:00