aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Zhijian <zhijianx.li@intel.com>2019-07-12 14:15:36 +0800
committerPhilip Li <philip.li@intel.com>2019-07-12 14:58:59 +0800
commitb1f63d0b76db674bccd5e52644b437c1ab508fc6 (patch)
tree1e60d6d5d5822ced2954582e4357d02005c05f05
parentf97d215da95e529ce31fd959add38f11832efd00 (diff)
downloadlkp-tests-b1f63d0b76db674bccd5e52644b437c1ab508fc6.tar.gz
lkp-exec/install: Fix fakeroot: preload library `libfakeroot.so' not found, aborting.
fakeroot is required by sbin/makepkg, and some of testsuites are installed by sbin/makepkg instead of pack. However, on clearlinux, the native fakeroot doesn't work root@clear-lkp-30040 ~ # fakeroot fakeroot: preload library `libfakeroot.so' not found, aborting. In order to use the makepkg, we need to install fakeroot(pack/makepkg) first. this patch add makepkg as the first benchmark to be installed Signed-off-by: Li Zhijian <zhijianx.li@intel.com> Signed-off-by: Philip Li <philip.li@intel.com>
-rwxr-xr-xlkp-exec/install5
1 files changed, 5 insertions, 0 deletions
diff --git a/lkp-exec/install b/lkp-exec/install
index 89192473..0863f541 100755
--- a/lkp-exec/install
+++ b/lkp-exec/install
@@ -311,6 +311,11 @@ do
parse_yaml $filename
fi
+ is_clearlinux && {
+ export PATH=/lkp/benchmarks/makepkg/bin:$PATH
+ scripts="makepkg $scripts"
+ }
+
for script in $scripts
do
BUILD_DIR=$(get_build_dir $BM_NAME)