[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emdebian tools on testing



On Tue, 2008-03-18 at 23:34 +0000, Neil Williams wrote:
> On Wed, 2008-03-19 at 10:04 +1100, Brendan Simon wrote:
> > > Wookey wrote:
> > >> I believe that 4.1 and 4.2 are currently installable on testing. (It
> > >> seems to be OK on both my boxes currently (I installed a couple of
> > >> weeks back), but there is obviously continuous flux. What is going
> > >> wrong for you?

> Try changing the targetsuite in ~/.apt-cross/emsource

Even with that, the Emdebian::Tools module is passing back the wrong
suite value which means that apt-cross is being asked for data for
unstable.

perl -e 'use Config::Auto;use Emdebian::Tools; print get_targetsuite();'

is probably returning unstable, not testing.

Try this patch to Emdebian/Tools.pm

Index: Emdebian/Tools.pm
===================================================================
--- Emdebian/Tools.pm	(revision 3211)
+++ Emdebian/Tools.pm	(working copy)
@@ -152,7 +152,7 @@
 
 sub get_targetsuite
 {
-	my $suite  = "unstable";
+	my $suite  = "";
 	my $config = &get_config();
 	if (not defined($config->{'targetsuite'}))
 	{
@@ -161,6 +161,7 @@
 		carp ($msg);
 		$suite = &get_suite;
 	}
+	$suite = $config->{'targetsuite'};
 	&set_suite($suite);
 	return $suite;
 }

This will be in 0.9.2

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: