[oe] [meta-oe][PATCH] pmdk: fix install error

Khem Raj raj.khem at gmail.com
Wed Jan 9 18:18:58 UTC 2019


On Wed, Jan 9, 2019 at 2:17 AM Liu, Yongxin <Yongxin.Liu at windriver.com> wrote:
>
> > -----Original Message-----
> > From: Khem Raj [mailto:raj.khem at gmail.com]
> > Sent: Wednesday, January 9, 2019 18:06
> > To: Liu, Yongxin
> > Cc: openembeded-devel
> > Subject: Re: [oe] [meta-oe][PATCH] pmdk: fix install error
> >
> > On Tue, Jan 8, 2019 at 10:20 PM Yongxin Liu <yongxin.liu at windriver.com>
> > wrote:
> > >
> > > .so files are not generated in usr/local/lib/ but in usr/local/lib64.
> > >
> > > Signed-off-by: Yongxin Liu <yongxin.liu at windriver.com>
> > > ---
> > >  meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb b/meta-
> > oe/recipes-extended/pmdk/pmdk_1.4.2.bb
> > > index 3da22a970..af2229f1c 100644
> > > --- a/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb
> > > +++ b/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb
> > > @@ -43,10 +43,10 @@ do_install() {
> > >         mv ${D}/usr/local/bin/daxio ${D}${bindir}/
> > >
> > >         install -d ${D}${libdir}
> > > -       mv ${D}/usr/local/lib/*so* ${D}${libdir}/
> > > +       mv ${D}/usr/local/lib64/*so* ${D}${libdir}/
> > >
> >
> > I wonder if this should be using /usr/local/${base_libdir} here
>
> Since ${base_libdir} is "/lib64", should we use "/usr/local${base_libdir}" ?
> Or it is fine to go with "/usr/local//lib64" after parsing?

using /usr/local${base_libdir} is fine

>
>
> Thanks,
> Yongxin
>
> > >         install -d ${D}${libdir}/pkgconfig
> > > -       mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
> > > +       mv ${D}/usr/local/lib64/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
> > >
> > >         install -d ${D}${includedir}
> > >         mv ${D}/usr/local/include/* ${D}${includedir}/
> > > --
> > > 2.14.4
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel at lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list