diff --git a/build_image.sh b/build_image.sh index 9635201ae0..cd8c26da12 100755 --- a/build_image.sh +++ b/build_image.sh @@ -67,8 +67,11 @@ elif [ "$IMAGE_TYPE" = "raw" ]; then echo "Creating SONiC raw partition : $OUTPUT_RAW_IMAGE of size $RAW_IMAGE_DISK_SIZE MB" fallocate -l "$RAW_IMAGE_DISK_SIZE"M $OUTPUT_RAW_IMAGE + # ensure proc is mounted + sudo mount proc /proc -t proc || true + ## Generate a partition dump that can be used to 'dd' in-lieu of using the onie-nos-installer - ## Run the installer + ## Run the installer ## The 'build' install mode of the installer is used to generate this dump. sudo chmod a+x $OUTPUT_ONIE_IMAGE sudo ./$OUTPUT_ONIE_IMAGE