[CentOS-devel] Dual Layer DVD iso for 6.3 / 5.8

Thu Feb 9 13:20:04 UTC 2012
Phil Schaffner <Philip.R.Schaffner at NASA.gov>

Lamar Owen wrote on 02/08/2012 01:16 PM:
> And for i386.  I haven't had time to install from it yet.  Generated the full ISO in about 6 minutes here, both for i386 and x86_64.
> With this script in a slightly more conspicuous location, there would be no need to have separate DL ISOs on any mirror, since it is so easy to make it yourself.
> With a script that can split six ways from Sunday and do arbitrary sized ISOs, one would only need to distribute the 'common' single-layer DVD sized ISO pair, and the script could generate the ISO sets the user wants.
> The only fly in the ointment is that the mkdvdiso.sh script does require anaconda-runtime (on EL5, the script says) or isomd5sum (on EL6).  A version that can slice into specified chunks would likely have more requires.
> However, Phil, the section that attempts to detect not being an absolute path for the destination ISO is 'broken' here on C6.2 x86_64; if just an ISO name is specified I get an error:
> ++++++
> # mkdvdiso tmpiso test.iso
> DVD directory is .
> ISO file is test.iso
> Destinaton Directory . does not exist
> ++++++
> I know it's actually in the code to print that out, but it's a confusing error.  Rather, using the same language about it having to be an absolute path as the error message a few lines later would be clearer.... but that's just my opinion, of course.
That's not a part of the script I've touched, at least as far back as I 
recall.   Had thought about trying to remove the absolute path 
limitation, but haven't gotten to it.  Similar for the temp directory.  
Patches welcome.

Another welcome patch, perhaps easy for Johnny, KB, Tru, etc., would be 
to create the .discinfo file on the fly when using a directory tree 
rather than ISOs.