> On Dec 10, 2014, at 1:33 PM, Insop Song <insop.s...@gmail.com> wrote: > > Hi Khem, > > I've been using this memory check utility (ps_mem) and wrote a bb file > to include it in our yocto image. > > I thought it'd nice to include this in yocto upstream as well. > > - It's called ps_mem, "A utility to accurately report the in core > memory usage for a program" > - https://github.com/pixelb > > Could you consider to include ps_mem in upstream? and let me know what > and where to put if is okay? I can follow up.
sure, please post it for meta-openembedded/meta-oe > > > Thank you, > > Insop > > > - this is my bb file as an example > > diff --git a/recipes-gs/ps_mem/psmem.bb b/recipes-gs/ps_mem/psmem.bb > new file mode 100644 > index 0000000..d408298 > --- /dev/null > +++ b/recipes-gs/ps_mem/psmem.bb > @@ -0,0 +1,26 @@ > +# > +# ps_mem > +# > +SUMMARY = "A utility to accurately report the in core memory usage > for a program" > +HOMEPAGE = "https://github.com/pixelb/ps_mem" > +LICENSE = "LGPLv2" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=c05fdef0c0d05f619748e9bb0fb41b21" > + > +PR = “r0" remove this > + > +SRC_URI = "git://github.com/pixelb/ps_mem.git;branch=master;protocol=git" > +SRCREV = "702b461d16062f14a9f4191bc731adcf48b51489" > + > +S = "${WORKDIR}/git" > + > +do_compile () { > + echo "No compile needed" > +} > + > +do_install () { > + install -d ${D}${bindir} > + install -m 0755 ${S}/ps_mem.py ${D}${bindir}/ps_mem you need a dependency on python atlas > +} > + > +FILES_${PN} += "/*” why is this needed may be you want www to go under /var > +FILES_${PN}-dbg += "/www/pages/.debug” this could go into /var/www > -- > 1.7.9.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto