Date: Fri, 10 Jun 2022 01:25:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264578] release/tools/vmimage.subr has no error handling for pkg failures Message-ID: <bug-264578-227-BQDsp1OBK2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264578-227@https.bugs.freebsd.org/bugzilla/> References: <bug-264578-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264578 --- Comment #5 from Ed Maste <emaste@freebsd.org> --- I tested a build with three changes 1) change from comment #1 2) set -e in mk-vmimage.sh diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh index d5985ceb0d25..d1cde2727edc 100755 --- a/release/scripts/mk-vmimage.sh +++ b/release/scripts/mk-vmimage.sh @@ -93,6 +93,9 @@ main() { . "${VMCONFIG}" fi + # Bail if any of the VM image creation steps fail + set -e + vm_create_base vm_install_base vm_extra_install_base 3) switch to latest for arm64, https://reviews.freebsd.org/D35445 and the image built successfully. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264578-227-BQDsp1OBK2>