[OE-core] Issue with package_rpm : can't install files named "%name..."

Sebastien MENNETRIER s.mennetrier at innotis.org
Mon Oct 28 15:42:11 UTC 2013


Paul,

Thanks for your answer. I filled a bug :
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5397

Regards,
Seb


2013/10/28 Paul Eggleton <paul.eggleton at linux.intel.com>

> Hi Sebastien,
>
> On Monday 28 October 2013 14:44:57 Sebastien MENNETRIER wrote:
> > I try to cross-compile and install rubygems and the gems contain some
> > directories and files named "%name...".
> >
> > To create the rpm package, a spec file that contains the list of all
> files
> > and directories that must be in the rpm package is generated in
> do_package.
> >
> > The rpm process replace all the "%name" in the spec file by the name of
> the
> > package. So the package process try to include some file and directory
> that
> > doesn't exist.
> >
> > How can I resolve this issue ? Is it a bug in package_rpm.bbclass ?
>
> It is a limitation in package_rpm.bbclass's current behaviour, yes. It
> probably needs to be fixed to escape % at the start of a filename when
> writing
> out the spec file (assuming that is possible, that is). Could you please
> file a
> bug for this (at bugzilla.yoctoproject.org)?
>
> Thanks,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20131028/76cc56c1/attachment-0002.html>


More information about the Openembedded-core mailing list