Unverified Commit 4f305aa3 authored by bartoszek's avatar bartoszek Committed by Levente Polyak

makechrootpkg: Expose failed build logs/products

Since move_products() function is fairly robust we can make it run for
failed build also to expose logs for packages that fails in build(),
prepare() or package(). It also exposes partially packaged split
packages if they fail in latter package_xxx().
parent 09e169b7
......@@ -367,10 +367,10 @@ if arch-nspawn "$copydir" \
/chrootbuild "${makepkg_args[@]}"
then
mapfile -t pkgnames < <(sudo -u "$makepkg_user" bash -c 'source PKGBUILD; printf "%s\n" "${pkgname[@]}"')
move_products
else
(( ret += 1 ))
fi
move_products
(( temp_chroot )) && delete_chroot "$copydir" "$copy"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment