Commit graph

88 commits

Author SHA1 Message Date
joerg
33c4173462 DESTDIR support 2010-01-27 19:27:24 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +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
gson
2c0229797b Note the need for options INCLUDE_CONFIG_FILE when using Grub. 2008-05-22 13:26:54 +00:00
xtraeme
b5ae86a07f Switch to 2 clause BSD license now that TNF license has dropped
clause 3 and 4.
2008-04-29 13:48:06 +00:00
xtraeme
935abc224e Remove the hidden stage files only if the iso image was created
successfully.
2008-03-27 21:08:26 +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
wiz
f0f4081d20 New sentence, new line. Use Nx. 2007-12-01 20:27:16 +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
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