mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
Only search for the gpt tool if we need it.
Review URL: http://codereview.chromium.org/1747005
This commit is contained in:
parent
cb5f3ebe52
commit
32ddb4282f
@ -23,6 +23,8 @@ fi
|
|||||||
PACK="${DIR}/pack_partitions.sh"
|
PACK="${DIR}/pack_partitions.sh"
|
||||||
UNPACK="${DIR}/unpack_partitions.sh"
|
UNPACK="${DIR}/unpack_partitions.sh"
|
||||||
|
|
||||||
|
locate_gpt
|
||||||
|
|
||||||
TMP=$(mktemp)
|
TMP=$(mktemp)
|
||||||
sudo $GPT -r show -l "$IMAGE" > $TMP
|
sudo $GPT -r show -l "$IMAGE" > $TMP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user