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

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[@]}"
mapfile -t pkgnames < <(sudo -u "$makepkg_user" bash -c 'source PKGBUILD; printf "%s\n" "${pkgname[@]}"')
(( ret += 1 ))
(( 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