All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: MIPS rootfs creation failure
Date: Wed, 23 Mar 2011 15:41:20 +0000	[thread overview]
Message-ID: <1300894880.3018.8.camel@rex> (raw)
In-Reply-To: <AANLkTimhEBgbMP8OrgVavchhHgjKrtpS2CKzFzC8wuUW@mail.gmail.com>

On Wed, 2011-03-23 at 08:17 -0700, Khem Raj wrote:
> On Wed, Mar 23, 2011 at 12:16 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> >
> > Op 22 mrt 2011, om 23:18 heeft Khem Raj het volgende geschreven:
> >
> >> On (22/03/11 19:54), Koen Kooi wrote:
> >>>
> >>> Op 22 mrt 2011, om 19:44 heeft Khem Raj het volgende geschreven:
> >>>
> >>>> On (22/03/11 19:42), Koen Kooi wrote:
> >>>>>
> >>>>> Op 22 mrt 2011, om 19:10 heeft Khem Raj het volgende geschreven:
> >>>>>
> >>>>>> Hi
> >>>>>>
> >>>>>> I did an update of oe-core yesterday and now mips is failing with this
> >>>>>> error. It was not there 2 days back.
> >>>>>>
> >>>>>> | Configuring sysvinit.
> >>>>>> | Collected errors:
> >>>>>> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies
> >>>>>> for task-base:
> >>>>>> |  *    kernel-misc *
> >>>>>> |  * opkg_install_cmd: Cannot install package task-base.
> >>>>>> NOTE: package console-image-1.0-r0: task do_rootfs: Failed
> >>>>>>
> >>>>>> I have not bisected but if anyone else is seeing it I would like to know
> >>>>>
> >>>>> I think thats fallout from the kernel.bbclass change:
> >>>>>
> >>>>> meta/classes/kernel.bbclass:FILES_kernel-misc = "/kernel/include/config /kernel/scripts /kernel/drivers/crypto /kernel
> >>>>>
> >>>>> I don't know what purpose that package has, but try rebuilding the kernel and see what happens. We might need to blacklist it from being included in the kernel-modules meta-package.
> >>>>>
> >>>>
> >>>> I have already build everything from scratch even deleted sstate cache
> >>>
> >>> Can you give this a try?
> >>>
> >>> koen@dominion:/OE/tentacle/sources/openembedded-core/meta/classes$ git diff kernel.bbclass
> >>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> >>> index 3eb6659..9f014d4 100644
> >>> --- a/meta/classes/kernel.bbclass
> >>> +++ b/meta/classes/kernel.bbclass
> >>> @@ -429,7 +429,7 @@ python populate_packages_prepend () {
> >>>        metapkg = "kernel-modules"
> >>>        bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
> >>>        bb.data.setVar('FILES_' + metapkg, "", d)
> >>> -       blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf' ]
> >>> +       blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf', 'kernel-misc' ]
> >>>        for l in module_deps.values():
> >>>                for i in l:
> >>>                        pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).gro
> >>>
> >>> I think that should go in regardless, but I'm curious if it fixes your problem. The meta-pkg should only pickup kernel-module-* and kernel-firmware-*, so a whitelist would be even bettter.
> >>>
> >>
> >> It did not fix the problem. I tried bitbake -c cleanall virtual/kernel
> >> bitbake console-image
> >
> > To which class did you appy it? There's a copy of kernel.bbclass in meta-oe with some change we need to merge into oe-core (initramfs handling, better uImage handling, etc).
> 
> thanks I was thinking I applied it to meta-oe but when I revisited I
> applied it to oe-core
> :)

If that fixes it can someone share a proper patch please (for
oe-core) :)

Cheers,

Richard




  reply	other threads:[~2011-03-23 15:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 18:10 MIPS rootfs creation failure Khem Raj
2011-03-22 18:42 ` Koen Kooi
2011-03-22 18:44   ` Khem Raj
2011-03-22 18:54     ` Koen Kooi
2011-03-22 19:33       ` Khem Raj
2011-03-22 22:18       ` Khem Raj
2011-03-23  7:16         ` Koen Kooi
2011-03-23 15:17           ` Khem Raj
2011-03-23 15:41             ` Richard Purdie [this message]
2011-03-23 15:43               ` Koen Kooi
2011-03-23 20:17                 ` Khem Raj

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=1300894880.3018.8.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=koen@dominion.thruhere.net \
    --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 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.