Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: Koen Kooi <koen@dominion.thruhere.net>,
	Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/4] avahi.inc: use avahi-daemon as avahi's provider
Date: Mon, 10 Nov 2014 10:02:47 +0800	[thread overview]
Message-ID: <54601CC7.1060000@windriver.com> (raw)
In-Reply-To: <01AE3AA2-1B18-4047-A760-E137E0A245D3@dominion.thruhere.net>

On 11/09/2014 02:53 AM, Koen Kooi wrote:
>> Op 7 nov. 2014, om 15:38 heeft Martin Jansa <martin.jansa@gmail.com> het volgende geschreven:
>>
>> On Fri, Nov 07, 2014 at 03:57:01PM +0800, Hongxu Jia wrote:
>>> The package avahi does not exist, so we use avahi-daemon as the provider.
>>> It avoids the do_rootfs failure while IMAGE_INSTALL += "avahi"
>> Why don't you fix your IMAGE_INSTALL instead?
> I agree with Martin, this is a non-problem, please fix your IMAGE_INSTALL.

I am afraid it is not the issue of IMAGE_INSTALL

As doc said:
http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-IMAGE_INSTALL
Variable IMAGE_INSTALL is used to specify the packages to install into 
an image.

While adding some packages to image ,the rpm based do_rootfs
failed with '*** not found in the base feeds'

The failure was caused by two kinds of situations:
1. Package does not exist (such as python3), but provided
    by other package (such as python-core), the rpm based
    do_rootfs could not search its provider. And the deb/
    ipk based do_rootfs worked well, it is a defect, and
    I have fixed it (patch sent to community, YOCTO 6918);

2. Package does not exist, and no other package provides it,
    the package installation will fail in any type do_rootfs. We
    met this issue when we set IMAGE_INSTALL = "recipe_name",
    but we don't have the package with that name.

I think what I do is to fix the situation 2.

Further more, we should add checking at the package generating
time, if the package *with recipe name* was empty and not created,
trigger a warn and according the warn, we could fix the issue recipes.

We already have that checking at the package generating time,
but it a note, not warn. I suggest we should use warn instead.

//Hongxu



  reply	other threads:[~2014-11-10  2:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07  7:57 [PATCH 0/4] fix install package "postinst-intercept pointercal-xinput oprofileui avahi" to image failed Hongxu Jia
2014-11-07  7:57 ` [PATCH 1/4] avahi.inc: use avahi-daemon as avahi's provider Hongxu Jia
2014-11-07 14:38   ` Martin Jansa
2014-11-07 14:42     ` Burton, Ross
2014-11-08  2:31       ` Hongxu Jia
2014-11-08 18:53     ` Koen Kooi
2014-11-10  2:02       ` Hongxu Jia [this message]
2014-11-10  6:42         ` Martin Jansa
2014-11-10  7:35           ` Hongxu Jia
2014-11-11  9:02             ` Koen Kooi
2014-11-11  9:19               ` Hongxu Jia
2014-11-07  7:57 ` [PATCH 2/4] oprofileui: use oprofileui-viewer as oprofileui's provider Hongxu Jia
2014-11-07 12:06   ` Burton, Ross
2014-11-07 14:47     ` Burton, Ross
2014-11-08  9:20       ` Hongxu Jia
2014-11-07  7:57 ` [PATCH 3/4] pointercal-xinput: add the missing ALLOW_EMPTY Hongxu Jia
2014-11-07 14:43   ` Martin Jansa
2014-11-07  7:57 ` [PATCH 4/4] postinst-intercept: rename recipe for nativesdk only Hongxu Jia
     [not found]   ` <CALbNGRTsV6udERwG8XBoxuoFVqeyexwM46-u1Ot__AFBD_TAUg@mail.gmail.com>
     [not found]     ` <545C826F.6050002@windriver.com>
2014-11-07  9:28       ` Andreas Müller

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=54601CC7.1060000@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=koen@dominion.thruhere.net \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.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