[oe] [RFC][PATCH] module bbclass: split each module into a kernel-module-<foo> subpackage and use PN as metapackage

Chris Larson clarson at kergoth.com
Mon Oct 25 23:13:18 UTC 2010


On Mon, Oct 25, 2010 at 4:00 PM, Khem Raj <raj.khem at gmail.com> wrote:

> > +               cmd = "PATH=\"%s\" %sobjcopy -j .modinfo -O binary %s %s"
> % (bb.data.getVar("PATH", d, 1), bb.data.getVar("HOST_PREFIX", d, 1) or "",
> file, tmpfile)
> > +               os.system(cmd)
>
>
> may be we can get rid of os.system and use subprocess popen or something


We have convenience wrappers around subprocess both in utils.bbclass and in
oe.process -- probably easiest to use one of those.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list