mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
release: set -e to exit on error in iso image scripts
Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D17651
This commit is contained in:
parent
2af3ea6bc1
commit
a7d9306a40
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339609
|
@ -23,6 +23,8 @@
|
|||
# extra-bits-dir, if provided, contains additional files to be merged
|
||||
# into base-bits-dir as part of making the image.
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z $ETDUMP ]; then
|
||||
ETDUMP=etdump
|
||||
fi
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
# extra-bits-dir, if provided, contains additional files to be merged
|
||||
# into base-bits-dir as part of making the image.
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "-b" ]; then
|
||||
# This is highly x86-centric and will be used directly below.
|
||||
bootable="-o bootimage=i386;$4/boot/cdboot -o no-emul-boot"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
# extra-bits-dir, if provided, contains additional files to be merged
|
||||
# into base-bits-dir as part of making the image.
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "-b" ]; then
|
||||
bootable=1
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
# resulting ISO image, base-bits-dir contains the image contents and
|
||||
# extra-bits-dir, if provided, contains additional files to be merged
|
||||
# into base-bits-dir as part of making the image.
|
||||
set -e
|
||||
|
||||
if [ $# -lt 3 ]; then
|
||||
echo "Usage: $0 [-b] image-label image-name base-bits-dir [extra-bits-dir]" > /dev/stderr
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue