mirror of
https://github.com/Telecominfraproject/oopt-sonic-build.git
synced 2025-10-29 17:22:26 +00:00
[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:
@@ -1,6 +1,9 @@
|
||||
#!/bin/bash
|
||||
## 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
|
||||
|
||||
CONFIGURED_ARCH=$([ -f .arch ] && cat .arch || echo amd64)
|
||||
|
||||
Reference in New Issue
Block a user