[OE-core] [PATCH] python-smartpm: Fix build error

Martin Jansa martin.jansa at gmail.com
Wed Dec 5 17:47:56 UTC 2012


On Wed, Dec 05, 2012 at 11:42:57AM -0600, Mark Hatle wrote:
> On 12/5/12 10:13 AM, Saul Wold wrote:
> > datadir is normally /usr/share so we don't need to add /share to it.
> >
> > Signed-off-by: Saul Wold <sgw at linux.intel.com>
> > ---
> >   meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
> > index 254318c..3617fde 100644
> > --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
> > +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
> > @@ -44,7 +44,7 @@ inherit distutils
> >
> >   do_install_append() {
> >      # Cleanup unused item...
> > -   rmdir ${D}${datadir}/share
> > +   rmdir ${D}${datadir}
> 
> I believe this is wrong.  There are things in /usr/share that we want from smart.
> 
> There are docs and locales and associated files...
> 
> I believe that was there because an errant "/usr/share/share" directory was 
> generated and that caused problems.

It really was in /usr/share/share and I've moved this fix to
distutils.bbclass in 
http://git.openembedded.org/openembedded-core/commit/?id=10457e343b27e63b35e0278b00e9c25106b0cc1b

So rmdir in python-smartpm should be dropped completely... I've fix for
that too, but still testing it together with other changes, but will
submit that pull-request today.

Cheers,

> 
> >
> >      # We don't support the following items
> >      rm -rf ${D}${libdir}/python*/site-packages/smart/backends/slack
> >
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121205/e002384d/attachment-0002.sig>


More information about the Openembedded-core mailing list