[oe] [oe-commits] org.oe.dev mtx-3a.conf, nylon-image-base.bb: removed remaints from old OE code (PACKAGE_INSTALL instead of IPKG_INSTALL)
Richard Purdie
rpurdie at rpsys.net
Fri Apr 20 13:48:28 UTC 2007
On Fri, 2007-04-20 at 14:22 +0200, Martin Dietze wrote:
> [I just wrote]
>
> > Having played around with this for another while it seems like
> > classes/rootfs_ipk should be patched as follows:
> >
> > --- rootfs_ipk.bbclass-orig 2007-04-20 14:13:53.534848585 +0200
> > +++ rootfs_ipk.bbclass 2007-04-20 14:10:43.406456119 +0200
> > @@ -9,6 +9,7 @@
> >
> > IPKG_ARGS = "-f ${T}/ipkg.conf -o ${IMAGE_ROOTFS}"
> >
> > +DEPENDS += "ipkg-native"
> > RDEPENDS += "ipkg ipkg-collateral"
> > PACKAGE_INSTALL += "ipkg ipkg-collateral"
This shouldn't be needed as you later point out.
> > How about this? I would tend to believe that rootfs_deb
> > may need something similar...
>
> At second glance this does not look much better either. From
> classes/base.bbclass:
>
> #
> # Various backwards compatibility stuff to be removed
> # when we switch to bitbake 1.8.2+ as a minimum version
> #
>
> [...]
>
> if bb.data.inherits_class('rootfs_ipk', d):
> depends = "ipkg-native ipkg-utils-native fakeroot-native " + depends
>
> I read from this that these dependencies should have been set
> somewhere else already. So where do they come from?
That is the code which is supposed to set them for bitbake 1.6.3.
For bitbake 1.8.1+, rootfs_ipk.bbclass says:
do_rootfs[depends] += "ipkg-native:do_populate_staging ipkg-utils-native:do_populate_staging"
Regards,
Richard
More information about the Openembedded-devel
mailing list