]> code.ossystems Code Review - openembedded-core.git/commit
util-linux-ptest: various fixes
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 18 Oct 2017 23:55:13 +0000 (16:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Dec 2017 17:14:20 +0000 (17:14 +0000)
commit2cb21df92ec219b852e25fb005c8fccb2e395dcd
tree53540c8766322c58e1d01dcf855cb64fb97eb5a7
parent9562669a4979bb31bbc27dc80c6a8d4f08500a49
util-linux-ptest: various fixes

The original code enabled only a sub-set of all available tests.
It also copied executables to be tested into a local folder although
the executables were expected to be already installed in the image.
In addition, the original code copied libtool scripts instead of already
cross-compiled images.

This patch modifies some test scripts so there is no need to copy
images already installed: instead it tests images already installed.
As the executables are scattered in /bin, usr/bin, /sbin/ usr/sbin folders,
we use 'which' to determine the absolute path.
We also copy some cross-compiled tests that were previously missing.

By the virtue of not copying the libtools scripts we also managed
the achieve binary reproducible package, as previously leaked build host
info was contained in libtool scripts, which are not copied anymore.

[YOCTO #10953]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f5198af37a5357a1758b50668b67f1c552982507)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/util-linux/util-linux.inc