Title: RE: [Oscar-devel] OS_Detect and Mandriva/Mandrake and the share/prereq packages
Right...
 
It does a check to see if there is already a perl-XML-Simple RPM in /tftpboot/rpm, the code should really use that as the RPM to be installed instead of always installing the hardcoded one (from Red Hat).  I guess so far this has worked because perl-XML-Simple is installed by default by Mandriva installation.
 
It would be good to fix this.
 
Thanks,
 
Bernard


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Fri 28/10/2005 20:05
To: Bernard Li
Cc: Oscar-devel List
Subject: RE: [Oscar-devel] OS_Detect and Mandriva/Mandrake and the share/prereq packages

Hello,

Quoting Bernard Li <[EMAIL PROTECTED]>:

> Fernando:
>
> 1) How come you don't have perl-XML-Simple RPM in /tftpboot/rpm?
I guess I din't express myself quite well... There's a a perl-XML-Simple in
/tftpboot/rpm. The problem is: the way the setup script was modified it will
always try to install a package with the extension
2.14-2.1.el3.rf.noarch.rpm...

> 2) Perhaps the setup scripts in share/prereq should be the next
> target for OS_Detect mods...  I wonder if we can convert the prereq
> setup scripts to use generic-setup as well?
I guess so, Bernard. I'll take a look on that monday.

Cheers,
Fernando


>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]] On Behalf Of
>> Fernando Laudares Camargos
>> Sent: Friday, October 28, 2005 13:58
>> To: Oscar-devel List
>> Subject: [Oscar-devel] OS_Detect and Mandriva/Mandrake and
>> the share/prereq packages
>>
>> Hello guys,
>>
>> I wrote and commited to trunk the "Mandriva.pm" (2006 only
>> for now) and "Mandrake.pm (10.0 and 10.1) files so the
>> distros can be detect by the OS_Detect. It works. However, we
>> have a lot of work to adapt the entire system to it (OS_Detect).
>>
>> I've found a problem in the installation of perl-XML-Simple
>> (oscar/share/prereqs/perl-XML-Simple/scripts/setup): it tries
>> to install the package by calling this command:
>>          system("rpm -Uvh /tftpboot/rpm/$real_name-$ver.noarch.rpm");
>> with $ver= "2.14-2.1.el3.rf" !!!   (that means, completely
>> distro-restrict). If there's not a perl-XML-Simple in the
>> /tftpboot/rpm by default, it will copy this $ver package to
>> there and use it; anyway, either it install this package or
>> no package at all. I'll take a deeper look on it later.
>>
>> I believe we'll have to review each one of this cases carefully.
>>
>> Cheers,
>> --
>> Fernando Laudares Camargos
>>
>>       Révolution Linux
>> http://www.revolutionlinux.com
>> ---------------------------------------
>> * Tout opinion et prise de position exprimée dans ce message
>> est celle de son auteur et pas nécessairement celle de
>> Révolution Linux.
>> ** Any views and opinion presented in this e-mail are solely
>> those of the author and do not necessarily represent those of
>> Révolution Linux.
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by the JBoss Inc.
>> Get Certified Today * Register for a JBoss Training Course
>> Free Certification Exam for All Training Attendees Through End of 2005
>> Visit http://www.jboss.com/services/certification for more information
>> _______________________________________________
>> Oscar-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Reply via email to