[build]: fail the build when there is error in build_image.sh (#3226)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
parent
7271fe598f
commit
97430915bb
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## This script is to generate an ONIE installer image based on a file system overload
|
## This script is to generate an ONIE installer image based on a file system overload
|
||||||
|
|
||||||
|
## Enable debug output for script
|
||||||
|
set -x -e
|
||||||
|
|
||||||
## Read ONIE image related config file
|
## Read ONIE image related config file
|
||||||
|
|
||||||
CONFIGURED_ARCH=$([ -f .arch ] && cat .arch || echo amd64)
|
CONFIGURED_ARCH=$([ -f .arch ] && cat .arch || echo amd64)
|
||||||
|
Loading…
Reference in New Issue
Block a user