From: Richard Purdie <rpurdie@rpsys.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: packaged staging issue; additional packages
Date: Mon, 01 Feb 2010 23:07:43 +0000 [thread overview]
Message-ID: <1265065663.3159.8.camel@rex> (raw)
In-Reply-To: <ac9c93b11001300418t644f9b92h926dbae7a232b339@mail.gmail.com>
On Sat, 2010-01-30 at 13:18 +0100, Frans Meulenbroeks wrote:
> I seem to have found an issue with packaged staging.
> I'll try to describe the problem, but maybe my understanding is not
> 100% so bear with me in that case
[...]
> I've focused myself on this one:
>
> * opkg_install_cmd: Cannot install package udev.
> * satisfy_dependencies_for: Cannot satisfy the following dependencies
> for sysvinit:
> * satisfy_dependencies_for: sysvinit-inittab *
> * opkg_install_cmd: Cannot install package sysvinit.
>
> What seems to be the case here is the following:
> sysvinit bb file contains the following:
>
> RDEPENDS_${PN} = "${PN}-inittab"
>
> PACKAGES =+ "bootlogd ${PN}-inittab"
> FILES_bootlogd = "/etc/init.d/bootlogd /etc/init.d/stop-bootlogd
> /etc/rc?.d/S*bootlogd /sbin/bootlogd"
> FILES_${PN}-inittab = "${sysconfdir}/inittab"
>
> So it generates the sysvinit-inittab package and RDEPENDS on it.
>
> If I search for inittab in my work/sysvinit dir I get:
> ./inittab
> ./sysvinit-2.86/man/inittab.5
> ./staging-pkg/staging/armv7a-angstrom-linux-gnueabi/usr/share/man/man5/inittab.5
> ./staging-pkg/pkgdata/beagleboard-angstrom-linux-gnueabi/runtime/sysvinit-inittab
> ./staging-pkg/pkgdata/beagleboard-angstrom-linux-gnueabi/runtime/sysvinit-inittab.packaged
> ./sysroot-destdir/home/frans/oe/tmp_angstrom/staging/armv7a-angstrom-linux-gnueabi/usr/share/man/man5/inittab.5
> ./packages-split/sysvinit-inittab
> ./packages-split/sysvinit-inittab/etc
> ./packages-split/sysvinit-inittab/etc/inittab
> ./packages-split/sysvinit-doc/usr/share/man/man5/inittab.5
> ./package/etc/inittab
> ./package/usr/share/man/man5/inittab.5
> ./image/etc/inittab
> ./image/usr/share/man/man5/inittab.5
>
> So the file inittab does not end up in packaged staging.
>
> It seems to me that packaged-staging.bbclass needs some work and that
> something like staging_packager needs to be involved for all packages
> in a recipe.
> Howeever, implementing this is beyond my python capabilities and also
> beyond my understanding of the build system.
>
> Is my analysis correct?
> Can someone implement something or provide some guidance?
inittab is a false lead but you're heading in the right direction. The
staging package should contain a sysvinit-inittab*.ipk. Whilst I only
have a Poky build handy, I see:
find -name sysvinit-inittab*
./packages-split/sysvinit-inittab
./staging-pkg/deploy/ipk/netbook/sysvinit-inittab_2.86-r32_netbook.ipk
./staging-pkg/pkgdata/netbook-poky-linux/runtime/sysvinit-inittab
./staging-pkg/pkgdata/netbook-poky-linux/runtime/sysvinit-inittab.packaged
The key line being:
./staging-pkg/deploy/ipk/netbook/sysvinit-inittab_2.86-r32_netbook.ipk
If something like that file isn't there, something in OE's package
staging is broken.
Cheers,
Richard
next prev parent reply other threads:[~2010-02-01 23:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-30 12:18 packaged staging issue; additional packages Frans Meulenbroeks
2010-02-01 23:07 ` Richard Purdie [this message]
2010-02-02 7:57 ` Frans Meulenbroeks
2010-02-03 18:43 ` Frans Meulenbroeks
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=1265065663.3159.8.camel@rex \
--to=rpurdie@rpsys.net \
--cc=openembedded-devel@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.