Log global variables
This commit is contained in:
parent
61ef7b1956
commit
713642f2d6
1 changed files with 13 additions and 0 deletions
13
build.sh
13
build.sh
|
@ -73,6 +73,19 @@ main() {
|
|||
IMG_FILE="$STAGE_WORK_DIR/$IMG_DATE-${IMG_NAME}.img"
|
||||
ZIP_FILE="$DEPLOY_DIR/image_$IMG_DATE-${IMG_NAME}.zip"
|
||||
|
||||
tput setaf 2 # Green color
|
||||
log "Date: $IMG_DATE"
|
||||
echo
|
||||
log "Work dir: $WORK_DIR"
|
||||
log "Stage dir: $STAGE_DIR"
|
||||
log "Stage work dir: $STAGE_WORK_DIR"
|
||||
log "Root FS dir: $ROOTFS_DIR"
|
||||
log "Boot FS dir: $BOOTFS_DIR"
|
||||
log "Image file: $IMG_FILE"
|
||||
log "ZIP file: $ZIP_FILE"
|
||||
echo
|
||||
tput sgr0 # No color
|
||||
|
||||
mkdir -p "$WORK_DIR"
|
||||
mkdir -p "$DEPLOY_DIR"
|
||||
mkdir -p "$ROOTFS_DIR"
|
||||
|
|
Reference in a new issue