Title: Re: [Oscar-devel] Mandrake 10.1 and systeminstaller ---> now Mandriva
Looks like SystemInstaller is failing to build on newer distro's:
 
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mksimachine
cp bin/buildimage blib/script/buildimage
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/buildimage
cp bin/mksiadapter blib/script/mksiadapter
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mksiadapter
cp bin/mksidisk blib/script/mksidisk
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mksidisk
cp tksis/tksis blib/script/tksis
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/tksis
cp bin/mksiimage blib/script/mksiimage
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mksiimage
cp bin/mksirange blib/script/mksirange
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mksirange
cp bin/mkdhcpconf blib/script/mkdhcpconf
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mkdhcpconf
cp bin/simigratedb blib/script/simigratedb
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/simigratedb
cp bin/mkpkgcache blib/script/mkpkgcache
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mkpkgcache
Unrecognized switch: --section=1  (-h will show valid options).
make: *** [manifypods] Error 29
error: Bad exit status from /var/tmp/rpm-tmp.95185 (%build)
 
No time to trouble-shoot this, I got DongInn to rebuild the RPMs on RHEL3, which works (Thanks DongInn!!!).  Fernando, I will email you the URL to get the files.
 
This needs fixing post-SC05.
 
Cheers,
 
Bernard


From: [EMAIL PROTECTED] on behalf of Fernando Laudares Camargos
Sent: Mon 07/11/2005 10:50
To: Oscar-devel List
Subject: Re: [Oscar-devel] Mandrake 10.1 and systeminstaller ---> now Mandriva

Hi Erich,

the guys at Mandriva are changing their "name stuff" again: this time, the release file is named "mandriva-release". I tried to rebuild systeminstaller myself, but I couldn't. I understand I have to modify the patch file "sin-17-mandriva" or create a similar one, but I just couldn't do it work, and right now I can't spent much time trying, so I would appreciate if you could give me a hand (again) on this.
Basically, what I need is a new section in the file Image.pm so to deal with "mandriva-release":
------------------------------------------------------------------------------------------------
        # Is this Mandriva (from 2006 on)?
        @relfiles=glob("$pkgdir/mandriva-release*.rpm");
        if (scalar(@relfiles) == 1) {
                $distro="Mandriva";
                # Now find the version
                $relfiles[0]=~s/.*\///;
                my ($j1,$j2,$version,$j3)=split(/-/,$relfiles[0]);
                return($distro,$version);
        }
-----------------------------------------------------------------------------------------------------------------
Thanks,

Fernando


Erich Focht a écrit :
> Hello Fernando,
>
> On Monday 18 July 2005 22:33, Fernando Laudares Camargos wrote:
>
>
>>I had to modify the file Image.pm (in
>>/usr/lib/systeminstaller/SystemInstaller) so to add a section to support
>>Mandrake 10.1 ('mandrivalinux-release'), which is pretty much the same thing
>>as the 'mandrake-release*' section (basically, I just duplicate that section
>>and replaced 'mandrake-release' for 'mandrakelinux-release').
>
>
> I suppose the relase RPM is called mandrakelinux-release, not
> mandrivalinux-release, right? In that case we could just replace the mandrake
> recognition line with:
>
> -        @relfiles=glob("$pkgdir/mandrake-release*.rpm");
> +        @relfiles=glob("$pkgdir/mandrake*-release*.rpm");
>
> Or is it mandrivalinux-release?
>
> The spec file is in the SRPM, it goes to either /usr/src/redhat or
> /usr/src/packages, or something similar on mandrake. It is called
> sin-oscar.spec ;-) Either David or I will add this for you.
>
> Regards,
> Erich
>
>

--
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.



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to