Permalink
Browse files

sign_image: two unnecessary (but harmless) lines of code (from previo…

…us tests) removed
  • Loading branch information...
PeterPawn committed Sep 22, 2018
1 parent 11b6f3f commit e990b884de6f6c541f272d2074cf219fdf4b3a8a
Showing with 0 additions and 2 deletions.
  1. +0 −2 signimage/sign_image
View
@@ -139,7 +139,6 @@ checksum()
printf "%d" $sum
}
sum=0
cp "$1" /var/tmp/savedheader
cmp -l -- "$1" /dev/zero 2>/dev/null | read_values
}
####################################################################################
@@ -371,7 +370,6 @@ mkdir -p "$tmp/var"
# needed #
# #
####################################################################################
fill_blocks=0
if [ $(( ( copy_blocks + 2 ) % 20 )) -eq 0 ]; then
echo -ne "Repeating first entry as filler ... " 1>&2
"$YF_SIGNIMAGE_DD" if="$image_file" of="$tmp/filler.bin" bs=512 count=1 status=none 2>/dev/null

0 comments on commit e990b88

Please sign in to comment.