[CentOS-devel] Re: CD to DVD script

Fri Apr 13 18:10:26 UTC 2007
Phil Schaffner <Philip.R.Schaffner at NASA.gov>

On Thu, 2007-04-05 at 08:46 -0700, Akemi Yagi wrote:
> On Wed, 04 Apr 2007 15:47:49 -0700, Akemi Yagi wrote:
> 
> > On Wed, 04 Apr 2007 09:19:05 -0400, Phil Schaffner wrote:
> > 
> >> The script below, a mod of
> >> 
> >> http://merlin.fit.vutbr.cz/mirrors/centos/build/mkdvdiso.sh
> >> 
> >> mentioned in
> >> 
> >> http://lists.centos.org/pipermail/centos-docs/2006-September/000039.html
> >> 
> >> works for me to create a DVD ISO from a set of C5 CD ISOs.  The
> >> repo-tree part is still not working.  Any advice appreciated.
> >> 
> >> Phil
> > 
> > I am probably not understanding the script very well, but if you simply
> > run createrepo right after the line 'cd $DVD' and before the mkisofs line,
> > wouldn't it do?
> 
> Just tried it myself and it seems to be working.  Thanks for posting this
> useful script.

Updated the script again adding the createrepo line (thanks Akemi) and
additional sanity checks.  See attached text file.  Now works for "FTP
like tree" (as well as for ISO images) with CentOS-5 final, EXCEPT for
creating a suitable .discinfo file if one does not already exist.  Any
help in modifying the script to create a .discinfo file "on-the-fly"
would be appreciated.

Phil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdvdiso.sh
Type: application/x-shellscript
Size: 4400 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20070413/4e0a07fc/attachment-0007.bin>