Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: src/scripts/emit_gpt_scripts.sh

Issue 1747005: Only search for the gpt tool if we need it. (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/installer/chromeos-common.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/emit_gpt_scripts.sh
diff --git a/src/scripts/emit_gpt_scripts.sh b/src/scripts/emit_gpt_scripts.sh
index 825f511ed2cb4a2fb5d0e8b9965b087bd7f0adb3..b16e4b3a4285e8cc994b78521af4a9bbe8d243af 100755
--- a/src/scripts/emit_gpt_scripts.sh
+++ b/src/scripts/emit_gpt_scripts.sh
@@ -23,6 +23,8 @@ fi
PACK="${DIR}/pack_partitions.sh"
UNPACK="${DIR}/unpack_partitions.sh"
+locate_gpt
+
TMP=$(mktemp)
sudo $GPT -r show -l "$IMAGE" > $TMP
« no previous file with comments | « src/platform/installer/chromeos-common.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698