mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
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:
parent
d5c4b17da5
commit
d41bbf4fd5
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user