[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Ltib] freescale ltib config problem
From: |
Yin Olivia-R63875 |
Subject: |
RE: [Ltib] freescale ltib config problem |
Date: |
Tue, 1 Dec 2009 10:26:43 +0800 |
Hi Ed,
I agree with you.
But this patch is not necessary for all of the Debian or Ubuntu
distributions.
For example, it is fine to install LTIB on Ubuntu 9.04 with
rpm-4.4.2.3-2.
And the old version of rpm doesn't support --force-debian option.
I'm not sure how to create a patch to judge which version of rpm or
which distribution need --force-debian option.
Best Regards,
Olivia
> -----Original Message-----
> From: Ed Swarthout [mailto:address@hidden
> Sent: Tuesday, December 01, 2009 3:23 AM
> To: Stuart Hughes
> Cc: address@hidden; Yin Olivia-R63875
> Subject: Re: [Ltib] freescale ltib config problem
>
> 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;
>
>
>
- [Ltib] freescale ltib config problem, Ing. Giorgio Marinangeli, 2009/11/25
- Re: [Ltib] freescale ltib config problem, Stuart Hughes, 2009/11/25
- Re: [Ltib] freescale ltib config problem, Ing. Giorgio Marinangeli, 2009/11/25
- Re: [Ltib] freescale ltib config problem, Hamilton Vera, 2009/11/27
- RE: [Ltib] freescale ltib config problem, Yin Olivia-R63875, 2009/11/29
- Re: [Ltib] freescale ltib config problem, Stuart Hughes, 2009/11/30
- Re: [Ltib] freescale ltib config problem, Ed Swarthout, 2009/11/30
- RE: [Ltib] freescale ltib config problem,
Yin Olivia-R63875 <=
- [Ltib] rpm --force-debian problems, Ed Swarthout, 2009/11/30