From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Sebastien MENNETRIER <s.mennetrier@innotis.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Issue with package_rpm : can't install files named "%name..."
Date: Mon, 28 Oct 2013 15:11:55 +0000 [thread overview]
Message-ID: <1622119.vHvDT1LZVD@helios> (raw)
In-Reply-To: <CABgO3_ODLSb2ZWrkqN6jry7WNehq_rhRTBcorRQj+wuHTjfE7A@mail.gmail.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 prev parent reply other threads:[~2013-10-28 15:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-28 13:44 Issue with package_rpm : can't install files named "%name..." Sebastien MENNETRIER
2013-10-28 15:11 ` Paul Eggleton [this message]
2013-10-28 15:42 ` Sebastien MENNETRIER
2013-10-29 16:13 ` Sebastien MENNETRIER
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1622119.vHvDT1LZVD@helios \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=s.mennetrier@innotis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox