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
This commit is contained in:
Sean O'Connor 2010-04-16 13:50:40 -07:00
parent d5c4b17da5
commit d41bbf4fd5

View File

@ -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