diff options
author | Li Zhijian <zhijianx.li@intel.com> | 2019-07-10 12:57:32 +0800 |
---|---|---|
committer | Philip Li <philip.li@intel.com> | 2019-07-10 14:08:56 +0800 |
commit | a23cd7a4b12f4c8ee4b9b9d41457fa559118dcb2 (patch) | |
tree | 8e6ba470aa8e8c67f76aabe89d7c6f34d9ee552e | |
parent | 2fdd8c8cb103dab65d4df07adeae5c1c69b8295f (diff) | |
download | lkp-tests-a23cd7a4b12f4c8ee4b9b9d41457fa559118dcb2.tar.gz |
lkp-exec/install: return 0 if pack doesn't generate deb
Current sbin/pack will generate a $testsuite-LKP.deb for $testsuite when
$BM_ROOT is not empty.
but not all pack/$testsuit will install files to $BM_ROOT, like
phoronix-test-suite, it only installs files to /usr/bin instead of $BM_ROOT
Signed-off-by: Li Zhijian <zhijianx.li@intel.com>
Signed-off-by: Philip Li <philip.li@intel.com>
-rwxr-xr-x | lkp-exec/install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lkp-exec/install b/lkp-exec/install index 23f899e4..89192473 100755 --- a/lkp-exec/install +++ b/lkp-exec/install @@ -243,7 +243,7 @@ build_install_benchmarks() { case $distro in debian|ubuntu) local deb_pkg=/tmp/$pkg_name.deb - [ -f $deb_pkg ] || return + [ -f $deb_pkg ] || return 0 dpkg -i $deb_pkg 2>/tmp/dpkg_error || { grep -v "dpkg: warning: files list file for package '.*' missing;" /tmp/dpkg_error return 1 |