Skip to content

Commit

Permalink
Merge pull request #1233 from pranavek/patch-1
Browse files Browse the repository at this point in the history
tools: Fix message in the partition size check condition
  • Loading branch information
tjkirch authored Dec 7, 2020
2 parents e7f8b73 + 6f501bd commit 2f2787d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rpm2img
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ veritysetup_output="$(veritysetup format \
"${ROOT_IMAGE}" "${VERITY_IMAGE}" \
| tee /dev/stderr)"
if ! stat -c %s "${VERITY_IMAGE}" | grep -q '^8388608$'; then
"verity partition is larger than expected (4M)"
echo "verity partition is larger than expected (8M)"
exit 1
fi
VERITY_DATA_4K_BLOCKS="$(grep '^Data blocks:' <<<$veritysetup_output | awk '{ print $NF }')"
Expand Down

0 comments on commit 2f2787d

Please sign in to comment.