Re: Re: List Archives and Red Hat 9
Greg Kurtzer <[email protected]> Sun, 27 Apr 2003 22:28:11 -0700
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <[email protected]> |
Good catch! I will make these changes in 2.5pre!
On Sun, Apr 27, 2003 at 11:41:04PM -0500, Troy Johnson told me:
> Hi Greg,
>
> I looked at grab-2.4 and found it only checks for rpm versions 4.0 and 4.1. Red Hat 9 has version 4.2:
>
> [/var/ftp/pub/redhat]$ ls */RedHat/RPMS/rpm-4*
> 7.3/RedHat/RPMS/rpm-4.0.4-7x.18.i386.rpm
> 8.0/RedHat/RPMS/rpm-4.1-1.06.i386.rpm
> 9/RedHat/RPMS/rpm-4.2-0.69.i386.rpm
>
> I looked at 'rpm --help' and saw that the options were the same as those listed for RHL 8.0, so I made some changes and they seemed to work (moved /etc/grab/config, ran grab, it puts in "--nosignature --nodigest" for "rpm opts"). I made this diff of the changes from grab 2.4:
>
> ==================================================
> 1369c1369
> < } elsif ( $rpmversion =~ /^4.1/ ) {
> ---
> > } elsif ( $rpmversion =~ /^4\.[12]/ ) {
> ==================================================
>
> Thank you again for grab!
>
> Troy
>
> -----Original Message-----
> From: Troy Johnson <[email protected]>
> To: [email protected]
> Date: Thu, 17 Apr 2003 13:11:43 -0500
> Subject: Re: [Grab Mailing List] List Archives and Red Hat 9
>
> Hi Greg,
>
> Greg Kurtzer wrote:
> > Move your /etc/grab/config file aside, and just run 'grab' with no arguments.
> > It will rewrite the config file, and will try to automatically figure out what
> > values to use there.
>
> I did this and grab replaced '/etc/grab/config' with a version that had
> the erroneous comment line in it (as it was before, with "rpm opts =
> #rpm opts#"). I moved my modified config back to '/etc/grab/config' and
> it works. I forgot to mention this is a new install of RH9, not an upgrade.
>
> > I have been thinking of having RPM handle the /etc/grab/* files instead of
> > GRAB (so the config files would be part of the RPM). Does anybody have any
> > thoughts on this?
>
> I don't know for sure, as I don't know exactly what would be gained or
> lost by this change, but it may just move the possibility for error from
> 'grab' to the RPM build config files. I like simplicity, so I guess I'd
> rather look at 'grab' alone for possible errors.
>
> Please assign the lightest weight possible to my comments as I am
> relatively new to 'grab'.
>
> Thank you much,
>
> Troy
>
> _______________________________________________
> Grab mailing list
> [email protected]
> http://www.runlevelzero.net/mailman/listinfo/grab
>
>
>
>
> _______________________________________________
> Grab mailing list
> [email protected]
> http://www.runlevelzero.net/mailman/listinfo/grab
--
/* Greg Kurtzer, Open Source Developer
* http://runlevelzero.net/greg/
*
* RunLevelZero.net Warewulf GRAB
* [email protected] [email protected] [email protected]
* http://runlevelzero.net/ http://warewulf-cluster.org/ http://rpm-grab.org/
*
* Do not add my E-mail or contact info to ANY M$ Outlook addressbook! Do not
* send me ANY M$ Office documents or it will be deleted upon arrival (plain
* text, OpenOffice.org format, and RTF welcomed).
*/