[OE-core] [oe][Patch 0/2] udev: fix ptest to not influence qemu

Max Krummenacher max.oss.09 at gmail.com
Sun Jan 25 15:33:37 UTC 2015


From: Max Krummenacher <max.oss.09 at gmail.com<>

Hi

On a OE setup configured to build ptest packages udev's ptest test files are
staged to the sysroot.
A run of qemu chockes on this test files and never returns.

A ptest run on the target before any changes failed.
Patch 1/2 first fixes ptest.
Patch 2/2 keeps the test files in its tar-ball. run-ptest unpacks it before
a test and cleans up afterwards.

This fixes the issues with qemu while the ptests can still be run witout
failure.

Tested with distro-less oe-core master on qemux86-64 and 
colibri-t30 (armv7a) machines

Regards
Max

Max Krummenacher (2):
  udev: fix ptest rule syntax check
  udev: don't keep ptest testdata laying around

 meta/recipes-core/udev/udev.inc                    |  3 +-
 .../recipes-core/udev/udev/add-install-ptest.patch | 19 +++++--
 .../udev/udev/fix_rule-syntax-regex-ptest.patch    | 59 ++++++++++++++++++++++
 meta/recipes-core/udev/udev/run-ptest              |  2 +
 4 files changed, 79 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-core/udev/udev/fix_rule-syntax-regex-ptest.patch

-- 
1.8.4.5




More information about the Openembedded-core mailing list