[CentOS-devel] Re: CD to DVD script

Sat Apr 14 15:37:45 UTC 2007
Akemi Yagi <amyagi at gmail.com>

On 4/13/07, Akemi Yagi <amyagi at gmail.com> wrote:
> On 4/13/07, Phil Schaffner <Philip.R.Schaffner at nasa.gov> wrote:
> > On Thu, 2007-04-05 at 08:46 -0700, Akemi Yagi wrote:
>
> > 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.
>
> If the original CDs do not contain a .discinfo file, would it still be
> necessary to create one?  If the absense of .discinfo chokes some
> installer, then the same installer would not work with the original
> CDs either.  In particular, if the script is meant for CentOS5, the
> .discinfo file exists on CD, so there should not be a problem...
>
> Akemi

Just saw this .discinfo on the CentOS5 DVD:

1176235114.525559
Final
i386
ALL
CentOS/base
/home/buildcentos/CENTOS/5.0/en/i386/CentOS
CentOS/pixmaps

The 4th line is usually in the form of 1,2,3,... to indicate available
discs and the script will write the line that way.  Now, apparently
"ALL" is a legitimate option here, so this may help make the script a
bit simpler.

Akemi