Skip to content

Commit

Permalink
lkp-exec/install: return 0 if pack doesn't generate deb
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
zhijianli88 authored and rli9 committed Jul 10, 2019
1 parent 2fdd8c8 commit a23cd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lkp-exec/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a23cd7a

Please sign in to comment.