Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: Zhenfeng.Zhao@windriver.com
Subject: [PATCH 0/4] replace os.system/popen with subprocess module
Date: Tue, 29 May 2012 22:53:05 +0800	[thread overview]
Message-ID: <cover.1338302685.git.liezhi.yang@windriver.com> (raw)

These patches are based on oe-core.

* Testinfo
  1) $ bitbake core-image-sato core-image-sato-sdk metatoolchain-sdk with
        MACHINE=qemuarm, PACKAGE_CLASSES = "package_rpm"

  2) $ bitbake core-image-sato core-image-sato-sdk metatoolchain-sdk with
        MACHINE=qemuarm, PACKAGE_CLASSES = "package_ipk"

  3) $ bitbake core-image-sato with MACHINE=qemux86, PACKAGE_CLASSES = "package_deb"

  4) $ bitbake world with MACHINE=qemux86

// Robert

The following changes since commit a7532d6b2870a51079c39366def9ae55faeba626:

  rootfs_rpm.bbclass: save rpmlib rather than remove it (2012-05-29 22:36:39 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib robert/meta_subprocess
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/meta_subprocess

Robert Yang (4):
  meta: replace os.system with subprocess.call
  scripts: replace os.system with subprocess.call
  meta: replace os.popen with subprocess.Popen
  scripts: replace os.popen with subprocess.Popen

 meta/classes/archiver.bbclass                   |    3 +-
 meta/classes/debian.bbclass                     |   12 ++++--
 meta/classes/distrodata.bbclass                 |   17 ++++----
 meta/classes/icecc.bbclass                      |    6 +-
 meta/classes/imagetest-qemu.bbclass             |    9 ++--
 meta/classes/insane.bbclass                     |   46 ++++++++++++++-------
 meta/classes/kernel.bbclass                     |    6 +-
 meta/classes/metadata_scm.bbclass               |   12 ++---
 meta/classes/package.bbclass                    |   49 ++++++++++++----------
 meta/classes/package_deb.bbclass                |    3 +-
 meta/classes/package_ipk.bbclass                |   13 ++++--
 meta/classes/package_tar.bbclass                |    6 ++-
 meta/classes/sanity.bbclass                     |   13 +++---
 meta/classes/sstate.bbclass                     |    9 +++-
 meta/lib/oe/distro_check.py                     |    3 +-
 meta/recipes-core/busybox/busybox.inc           |    3 +-
 meta/recipes-core/uclibc/uclibc.inc             |    7 ++-
 meta/recipes-extended/cups/cups14.inc           |    3 +-
 scripts/contrib/python/generate-manifest-2.7.py |    3 +-
 scripts/rpm-createsolvedb.py                    |    5 +-
 scripts/swabber-strace-attach                   |    3 +-
 21 files changed, 136 insertions(+), 95 deletions(-)




             reply	other threads:[~2012-05-29 15:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29 14:53 Robert Yang [this message]
2012-05-29 14:53 ` [PATCH 1/4] meta: replace os.system with subprocess.call Robert Yang
2012-05-29 14:53 ` [PATCH 2/4] scripts: " Robert Yang
2012-05-29 14:53 ` [PATCH 3/4] meta: replace os.popen with subprocess.Popen Robert Yang
2012-05-29 14:53 ` [PATCH 4/4] scripts: " Robert Yang
2012-05-29 17:30   ` Chris Larson
2012-05-30  9:27     ` Robert Yang
2012-05-30 11:59 ` [PATCH 0/4] replace os.system/popen with subprocess module Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1338302685.git.liezhi.yang@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=Zhenfeng.Zhao@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox