Skip to content

Commit

Permalink
version.sh: dont wory about build number, it changes
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Mar 6, 2017
1 parent 418ae8d commit 766e672
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tools/version.sh
Expand Up @@ -14,13 +14,7 @@ omap_bootloader () {
if [ "x${test_var}" = "xU-Boot" ] ; then
uboot=$(dd if=${drive} count=32 skip=393248 bs=1 2>/dev/null || true)
uboot=$(echo ${uboot} | awk '{print $2}')
unset test_var
test_var=$(dd if=${drive} count=7 skip=663185 bs=1 2>/dev/null || true)
if [ "x${test_var}" = "xjenkins" ] ; then
build=$(dd if=${drive} count=3 skip=663219 bs=1 2>/dev/null || true)
echo "bootloader:[${drive}]:[U-Boot ${uboot}]:[Build ${build}]"
else
echo "bootloader:[${drive}]:[U-Boot ${uboot}]"
echo "bootloader:[${drive}]:[U-Boot ${uboot}]"
fi
fi
}
Expand Down

0 comments on commit 766e672

Please sign in to comment.