On Fri, Sep 28, 2018 at 01:38:13PM -0400, Xu, Jianzhong wrote: > -----Original Message----- > From: Dmytriyenko, Denys > Sent: Friday, September 28, 2018 1:32 PM > To: Xu, Jianzhong > Cc: [email protected] > Subject: Re: [meta-ti] [PATCH] dsplib/mathlib: remove .metadata folder from > packages > > On Fri, Sep 28, 2018 at 01:25:48PM -0400, Jianzhong Xu wrote: > > dsplib/mathlib: remove .metadata folder from dsplib and mathlib packages > > The log says "remove", but that's not what the code does, it seems... > > - Yeah. Maybe "don't add .metadata to packages" is better. Should I resend > the patch?
Ok, do not install/deploy .metadata would be clearer. > > Remove .metadata folder from dsplib and mathlib packages. > > This folder prevents CCS from finding and installing dsplib and mathlib. > > > > Signed-off-by: Jianzhong Xu <[email protected]> > > --- > > recipes-ti/dsplib/dsplib.inc | 2 -- > > recipes-ti/mathlib/mathlib.inc | 2 -- > > 2 files changed, 4 deletions(-) > > > > diff --git a/recipes-ti/dsplib/dsplib.inc b/recipes-ti/dsplib/dsplib.inc > > index 7180c4a..f369679 100644 > > --- a/recipes-ti/dsplib/dsplib.inc > > +++ b/recipes-ti/dsplib/dsplib.inc > > @@ -49,7 +49,6 @@ do_install() { > > > > find -name "${DSPLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d > > ${D}${DSPLIB_INSTALL_DIR_RECIPE} \; > > mv ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib/* > > ${D}${DSPLIB_INSTALL_DIR_RECIPE} > > - mv ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib/.metadata > > ${D}${DSPLIB_INSTALL_DIR_RECIPE} > > rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib > > } > > > > @@ -62,7 +61,6 @@ do_deploy() { > > # and place the zip file in ${DEPLOYDIR} > > mkdir ./${DSPLIB_PACKAGE_NAME} > > cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/* ./${DSPLIB_PACKAGE_NAME} > > - cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/.metadata > > ./${DSPLIB_PACKAGE_NAME} > > zip -9 -y -r -q ${DEPLOYDIR}/${DSPLIB_PACKAGE_NAME}.zip > > ./${DSPLIB_PACKAGE_NAME} > > rm -r ./${DSPLIB_PACKAGE_NAME} > > } > > diff --git a/recipes-ti/mathlib/mathlib.inc b/recipes-ti/mathlib/mathlib.inc > > index 3e981e4..6aea085 100644 > > --- a/recipes-ti/mathlib/mathlib.inc > > +++ b/recipes-ti/mathlib/mathlib.inc > > @@ -48,7 +48,6 @@ do_install() { > > > > find -name "${MATHLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d > > ${D}${MATHLIB_INSTALL_DIR_RECIPE} \; > > mv ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib/* > > ${D}${MATHLIB_INSTALL_DIR_RECIPE} > > - mv ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib/.metadata > > ${D}${MATHLIB_INSTALL_DIR_RECIPE} > > rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib > > } > > > > @@ -61,7 +60,6 @@ do_deploy() { > > # and place the zip file in ${DEPLOYDIR} > > mkdir ./${MATHLIB_PACKAGE_NAME} > > cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/* ./${MATHLIB_PACKAGE_NAME} > > - cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/.metadata > > ./${MATHLIB_PACKAGE_NAME} > > zip -9 -y -r -q ${DEPLOYDIR}/${MATHLIB_PACKAGE_NAME}.zip > > ./${MATHLIB_PACKAGE_NAME} > > rm -r ./${MATHLIB_PACKAGE_NAME} > > } > > -- > > 1.9.1 > > > > -- > > _______________________________________________ > > meta-ti mailing list > > [email protected] > > https://lists.yoctoproject.org/listinfo/meta-ti -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
