From d41bbf4fd5572944734195c9ad52761779d83da1 Mon Sep 17 00:00:00 2001 From: Sean O'Connor Date: Fri, 16 Apr 2010 13:50:40 -0700 Subject: [PATCH] devserver support for update images from buildbot. Remove implicit sudo from gpt partition packing scripts. Misc cleanup and fixes included. Review URL: http://codereview.chromium.org/1633018 --- emit_gpt_scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emit_gpt_scripts.sh b/emit_gpt_scripts.sh index 4fea63d175..825f511ed2 100755 --- a/emit_gpt_scripts.sh +++ b/emit_gpt_scripts.sh @@ -45,10 +45,10 @@ sort -n -k 3 $TMP | \ while read start size part x x x label x; do \ file="part_$part" loc="\"\$TARGET\"" - echo "sudo dd if=$loc of=$file bs=512 skip=$start count=$size" \ + echo "dd if=$loc of=$file bs=512 skip=$start count=$size" \ >> "$UNPACK" echo \ - "sudo dd if=$file of=$loc bs=512 seek=$start count=$size conv=notrunc" \ + "dd if=$file of=$loc bs=512 seek=$start count=$size conv=notrunc" \ >> "$PACK" done