Hi Mark,
The file_list is missing it's rpm install prefix. I can't understand
this as I'm sure this was tested at some point. Anyhow, I've checked
in the following fix.
Regards, Stuart
diff -u -r1.1.1.1 pyserial.spec
--- dist/lfs-5.1/pyserial/pyserial.spec 23 Aug 2005 08:54:20
-0000 1.1.1.1
+++ dist/lfs-5.1/pyserial/pyserial.spec 23 Dec 2010 20:06:40 -0000
@@ -26,6 +26,7 @@
%Install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT/%{pfx}
--record=file_list
+perl -pi -e 's,^/,%{pfx}/,' file_list
%Clean
rm -rf $RPM_BUILD_ROOT
Mark Lane wrote:
file_list doesn't exist so the it fails to deploy.
On Thu, Dec 23, 2010 at 2:18 PM, Stuart
Hughes
<address@hidden> wrote:
Hi
Mark,
The current .spec file has this:
%Install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT/%{pfx} --record=file_list
%Clean
rm -rf $RPM_BUILD_ROOT
%Files -f file_list
%defattr(-,root,root)
So you should not need to do that.
Regards, Stuart
Mark Lane wrote:
> Actually I solved the problem by editing the spec file. It was
asking
> for a file-list that didn't exist so I removed that and added /*
to the
> %File section.
>
> On Thu, Dec 23, 2010 at 11:59 AM, Peter Barada <
address@hidden
> <mailto:
address@hidden>>
wrote:
>
> On 12/23/2010 11:24 AM, Mark Lane wrote:
>> I am using ltib on a iMX28 and I am having problems with
the
>> installing pyserial. I fixed the first problem with the
spec file
>> but now when I run scdeploy the install is failing with
File Not
>> found for file_list. I checked and the file_list doesn't
exist.
>> Should this be generated by rpm? Or is this a file that
should
>> exist already?
> W/o a build log and your .spec file its really hard to figure
out
> what is going wrong...
>
>>
>> --
>> Mark Lane <address@hidden <mailto:address@hidden>>
>>
>
>
> --
> Peter Barada
> address@hidden
<mailto:address@hidden>
>
>
> _______________________________________________
> LTIB home page:
http://ltib.org
>
> Ltib mailing list
> address@hidden
<mailto:address@hidden>
> Mark Lane <address@hidden <mailto:address@hidden>>
--
Mark Lane <
address@hidden>