l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] iso target for Makefile


From: Ivan Jager
Subject: Re: [PATCH] iso target for Makefile
Date: Thu, 10 Feb 2005 20:56:58 -0500 (EST)

On Fri, 11 Feb 2005, Alfred M. Szmidt wrote:

  This patch adds a target to the Makefile so that you can just type
  make iso, and get a bootable iso image that you can run in qemu.

Wonderful! But isn't a ISO image a bit overkill when ext2fs (or
whatever) is better suited for this kind of stuff?

Well, the only way I know to copy stuff into an ext2 image is to mount it first, which requires root on anything other than the Hurd.

Or in other words, would it be possible to generalise your target to
provide both?

I suppose it wouldn't be too hard to make it copy stuff to a FAT floppy image with mtools.

  Sorry, but I don't know how to use automake magic to check for
  stage2_eltorito or mkisofs...

That should be in autoconf, not automake.  Checking for mkisofs is
dead easy (AC_CHECK_PROG, see the autoconf manual), for stage2_FOO
you'd have to do some tricks which I'm not sure of what they are
really.  Something like trying if {/usr,/}share/grub/$ARCH/stage2_FOO
--where FOO is the file system that one can build images for--exists
might work.

Hmm, but configure should just decide not to provide the iso target if it can't find mkisofs... You should still be able to do everything else.

Ivan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]