From: Gerard van den Bosch <gerard@de-haardt.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: poky <poky@yoctoproject.org>
Subject: Re: wrong rpm name qt package
Date: Thu, 26 May 2011 13:22:22 +0200 [thread overview]
Message-ID: <4DDE37EE.101@de-haardt.com> (raw)
In-Reply-To: <1306402981.27470.97.camel@rex>
On 05/26/2011 11:43 AM, Richard Purdie wrote:
> On Thu, 2011-05-26 at 09:31 +0200, Gerard van den Bosch wrote:
>> I have developed a shared library using Qt, it compiles without any
>> problems but it goes wrong with rpm packaging.
>> When it packages it should create a rpm package with the name
>> "libxmlpcpqt" but it creates a package with "libxmlpcpqt1".
>> My question is where does the '1' come from?
>>
>> The install part from the recipe is as follows:
>> do_install() {
>> install -d ${D}${libdir}
>> install -m 0755 ${S}/${PN}.so ${D}${libdir}
>> }
>>
>> In
>> the /tmp/work/armv7a-poky-linux-gnueabi/libxmlpcpqt-0.1-r1/image/usr/lib the libxmlpcpqt.so file correctly exists.
> This happens as debian style package naming is enabled (debian.bbclass
> is inherited).
>
> Cheers,
>
> Richard
>
I tried removing debian from the INHERITS+= variable in the poky.conf but then it printed it couldn't find the function that is inside debian.bbclass and didn't create the package.
Modifying debian.bbclass would be too drastic so I work around it like this:
Added PACKAGES+= ${PN}1 to my recipe
Modified the IMAGE_INSTALL+= variable from libxmlpcpqt to libxmlpcpqt1
This resulted in a working solution.
Regards,
Gerard
next prev parent reply other threads:[~2011-05-26 11:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 7:31 wrong rpm name qt package Gerard van den Bosch
2011-05-26 9:43 ` Richard Purdie
2011-05-26 11:22 ` Gerard van den Bosch [this message]
2011-05-26 13:54 ` Richard Purdie
2011-05-26 14:13 ` Gerard van den Bosch
2011-05-27 6:10 ` Gerard van den Bosch
2011-05-27 12:49 ` Richard Purdie
2011-05-27 13:24 ` Gerard van den Bosch
2011-05-27 14:31 ` Richard Purdie
2011-05-27 16:24 ` Gerard van den Bosch
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=4DDE37EE.101@de-haardt.com \
--to=gerard@de-haardt.com \
--cc=poky@yoctoproject.org \
--cc=richard.purdie@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.