ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] freescale ltib config problem


From: Stuart Hughes
Subject: Re: [Ltib] freescale ltib config problem
Date: Tue, 01 Dec 2009 10:57:22 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Ed/Olivia,

Thanks for the heads-up, this is what I ended up checking-in.

diff -u -r1.56 ltib
--- ltib        11 Nov 2009 16:58:50 -0000      1.56
+++ ltib        1 Dec 2009 10:44:47 -0000
@@ -2419,8 +2419,10 @@
     $cf->{dodrop}        = 'no';
     $cf->{prefix}        = "$cf->{defpfx}/usr";
     $cf->{sysconfdir}    = "$cf->{defpfx}/etc";
-    chomp($cf->{rpmbuild} = `which rpmbuild 2>/dev/null` || "rpm\n");
-    $cf->{rpm}           = "rpm";
+ $hrpm = system('rpm --force-debian 2>/dev/null') == 0 ? + 'rpm --force-debian' : 'rpm';
+    chomp($cf->{rpmbuild} = `which rpmbuild 2>/dev/null` || "$hrpm\n");
+    $cf->{rpm}           = $hrpm;
     $cf->{tmppath}       = $cf->{projtmp};
     $cf->{enrootn}       = 0;


Regards, Stuart

Ed Swarthout wrote:
On Monday 30 November 2009 03:44:53 Stuart Hughes wrote:
Hi Olivia,

Do you have a complete working patch for Savannah? (there are no
--force-debian references in Savannah).

This is also a problem with Debian Testing (squeeze). The --force-debian option only needs to be added to the distribution
based rpm, so I put the patch in check_rpm_setup().

-Ed Swarthout

Fix: rpm: please use alien to install rpm packages on Debian, if you are really sure use --force-debian switch. See README.Debian for more details.

see:
http://git.debian.org/?p=collab-
maint/rpm.git;a=commit;h=e52c723fc76d137e0754a5ee7e5f117377731b71

Index: ltib
===================================================================
RCS file: /sources/ltib/ltib/ltib,v
retrieving revision 1.56
diff -u -r1.56 ltib
--- ltib        11 Nov 2009 16:58:50 -0000      1.56
+++ ltib        30 Nov 2009 19:07:49 -0000
@@ -2420,7 +2420,7 @@
     $cf->{prefix}        = "$cf->{defpfx}/usr";
     $cf->{sysconfdir}    = "$cf->{defpfx}/etc";
     chomp($cf->{rpmbuild} = `which rpmbuild 2>/dev/null` || "rpm\n");
-    $cf->{rpm}           = "rpm";
+    $cf->{rpm}           = "rpm --force-debian";
     $cf->{tmppath}       = $cf->{projtmp};
     $cf->{enrootn}       = 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]