[haiku-commits] Re: r41735 - haiku/trunk/build/scripts

  • From: Alex von Gluck <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 07:52:42 -0500

On Wed, 25 May 2011 10:51:22 +0000
Matt Madia <mattmadia@xxxxxxxxx> wrote:

> On Wednesday, May 25, 2011, Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
> wrote:
> > 2011/5/25  <kallisti5@xxxxxxxxxxx>:
> >> Author: kallisti5
> >> New Revision: 41735
> >>
> >> Modified:
> >>   haiku/trunk/build/scripts/build_haiku_image
> >> Log:
> >> add an attempted fallback to genisoimage if mkisofs doesn't exist
> >> on the system. (debian no longer ships mkisofs) genisoimage is
> >> based on an older version of mkisofs and has issues with long
> >> filenames. The genisoimage iso-level override makes the image work
> >> and allows long filenames but may introduce issues? placed a
> >> warning to the user that genisoimage is a fallback
> >
> > I thought mkisofs is a prerequisite for building Haiku.
> 
> > Dunno if it's
> > a good idea to introduce another possible tool (at least if it
> > doesn't generate exactly the same iso).
> 
> +1.
> 
> The prerequisites are documented on the website (though the various
> ReadMe files in HAIKU_TOP could be updated).
> 
> Maybe it'd would be better to check if mkisofs s a symlink to
> genisoimage and echo and error?

genisoimage isn't the same tool as mkisofs. Debian 6 no longer ships
with a symlink, which means Ubuntu also no longer ships with a
symlink. (verified)

As of now Debian, RedHat, Fedora, and Ubuntu no longer ship mkisofs.
(from Jörg's own private
site: http://cdrecord.berlios.de/private/linux-dist.html)

Suse and Ark ship genisoimage but have mkisofs packages available.

genisoimage is a GPL fork that started ~2006 of an older version of
mkisofs as the author decided to re-license mkisofs CDDL. 
(http://lists.debian.org/debian-devel-announce/2006/09/msg00002.html)

I'd say we support our Debian brethren and make an attempt to use
genisoimage (Definitely as a last resort however :P)  The iso I
generated with that tool seemed to work and didn't cut off
any long filenames.

Thanks!
 -- Alex

Other related posts: