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

Unified Diff: make_factory_package.sh

Issue 6261003: crosutils/make_factory_package.sh: support full SSD image as target outside chroot (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Created 9 years, 11 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 | « lib/cros_image_common.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: make_factory_package.sh
diff --git a/make_factory_package.sh b/make_factory_package.sh
index 71233fb09c4172007921878d4bde7ff9a7a76f25..0b6898ea161e3daa53ba998816eb5bd2d171130e 100755
--- a/make_factory_package.sh
+++ b/make_factory_package.sh
@@ -110,9 +110,10 @@ prepare_img() {
fi
# Create GPT partition table.
+ locate_gpt
install_gpt "${outdev}" 0 0 "${pmbrcode}" 0 "${force_full}"
# Activate the correct partition.
- cgpt add -i 2 -S 1 -P 1 "${outdev}"
+ sudo "${GPT}" add -i 2 -S 1 -P 1 "${outdev}"
}
prepare_omaha() {
« no previous file with comments | « lib/cros_image_common.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698