Skip to content

Commit

Permalink
[bluefield] fix create_sonic_image
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakiv-Huryk committed Oct 4, 2023
1 parent 4e93548 commit 462657d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer/bluefield/create_sonic_image
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ generate_s2s_installer_image_bluefield()
# Replace variables in the sharch template
sed -i -e "s/%%IMAGE_SHA1%%/$sha1/" /sonic/$OUTPUT_ONIE_IMAGE
echo -n "."
tar_size="$(wc -c < "${sharch}")"
sed -i -e "s|%%PAYLOAD_IMAGE_SIZE%%|${tar_size}|" /sonic/$OUTPUT_ONIE_IMAGE
cat $sharch >> /sonic/$OUTPUT_ONIE_IMAGE
rm -rf $tmp_dir

Expand Down

0 comments on commit 462657d

Please sign in to comment.