Hi Leo,
I think the problem is with your %files section rather than an issue
with scdeploy. I don't think your file selector is picking up any
files. This could be because one of the terms in
%{libdir}/libgstaudio-%{majorminor}.so does not expand correctly, or
because the path is not quite right.
Here's something you could try: clone your built project (rsync -av
/path/to/project project_clone) and then:
cd project_clone
rm -rf rpm/BUILD/_pkg_dir_
../ltib -p _pkg_
then take a look at the package itself. I suspect you'll find the fully
built package is also small. If it is, then the problem is with the
%files clause.
My advice would be to use the recommended ltib template pattern of:
%files
%defattr (-,root,root)
%(pfx)/*
I am aware of all the things you can do in RPM spec files, but the idea
was to keep the .spec files as simple as possible and only use them in ltib.
Regards, Stuart
On 08/01/15 10:17, L P wrote:
I am hoping someone, or a few more knowledgeable programmers, can
provide an answer.
Problem Statement
I have two packages that successfully build and install, scbuild and
scinstall, respectively.
The files listed in the .spec file were found, copied, and stored in
the correct directories in the tmp folder. Files were confirmed.
However, after executing scdeploy [./ltib -m scdeploy -p <pkg>], the
<pkg>.rpm has a file size of 1.3KB and is empty, far less than the 12MB.
What is the possible reason(s) this could occur?
_Details:_
File Specification Type A:
The 20 packages that successfully generate a RPM package containing
files have a general file list, i.e.
%files
%defattr (-,root,root)
%(pfx)/*
The two packages that generate empty RPM packages were modified to
list the individual files as a "best coding practice" and
provide traceability.
File Specification Type B:
%files
%defattr (-,root,root)
%{pfx}%{libdir}/libgstaudio-%{majorminor}.so
....
To summarize, File Type A generates a proper RPM package, while Type B
generates RPM packages that are empty (file size = 1.3KB).
_Other Details_
TI vendor BSP
Cross-compilation to ARM processor
Modifying spec files to add support for additional Gstreamer plugins
Disto: Ubuntu 14.04.01
LTIB version 1.93
Thank you,
Leo
Sent from Windows Mail
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib