Hi Bernard,
    When i tried it my simple way was to change /etc/fedora-release to 
Fedora Core release 7 (Rawhide)
But there is another issue with OS_Detect it does not correctly detect 
the x86_64 arch. It detects it as unkown. So I had to hard code "unkown"
var as "x86_64" in my setup of test of fc7 test2 x86_64. BTW to boot 
from all hard drives update the mkinitrd from yum.
Cheers,
Allan

Bernard Li wrote:

>Guys:
>
>I plan to check the following patch in so that we can develop for test
>releases of Fedora Core correctly:
>
>Index: lib/OSCAR/OCA/OS_Detect/Fedora.pm
>===================================================================
>--- lib/OSCAR/OCA/OS_Detect/Fedora.pm   (revision 5713)
>+++ lib/OSCAR/OCA/OS_Detect/Fedora.pm   (working copy)
>@@ -48,6 +48,8 @@
>
>     if ($release_string =~ /Fedora Core release (\d+)/) {
>        $fc_release = $1;
>+    } elsif ($release_string =~ /Fedora release (\d+).91
>\(Rawhide\)/) { # Fedora Core test releases
>+       $fc_release = $1+1;
>     } else {
>        return undef;
>     }
>
>OS_Detect will see the distro as:
>
>[EMAIL PROTECTED] oscar]# ./scripts/OCA-driver.pl
>
>=============================================================================
>== OS_Detect
>=============================================================================
>
>-->  Dump...
>$VAR1 = {
>          'compat_distro' => 'fc',
>          'distro' => 'fedora',
>          'chroot' => '/',
>          'arch' => 'i386',
>          'ident' => 'linux-i386-fedora-7',
>          'os' => 'linux',
>          'compat_distrover' => '7',
>          'pkg' => 'rpm',
>          'distro_version' => '7'
>        };
>
>--> distro_flavor=()
>--> distro_version=(7)
>--> arch=(i386)
>
>I can then use 'fc7-i386' as the distro directory.
>
>Comments?
>
>Thanks,
>
>Bernard
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Oscar-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/oscar-devel
>
>
>  
>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to