update_kernel.sh: Remove trailing p in bootonce cgpt command

Passing --bootonce to update_kernel.sh fails with the following error:

    ERROR: cgpt add: Can't open /dev/mmcblk0p: No such file or directory

Removing the trailing p from FLAGS_device fixes the problem.

BUG=none
TEST=manual
Run update_kernel.sh with --bootonce and see that it completes
successfully.

Change-Id: I0cca4e1ad0d94ae40a4a392599bddc0bd6289b26
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/198432
Reviewed-by: Olof Johansson <olofj@chromium.org>
1 file changed