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

Unified Diff: src/scripts/build_image

Issue 2075019: Cleanup of adding pristine image and fixing of symlinks in developer image. (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: Created 10 years, 7 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
Index: src/scripts/build_image
diff --git a/src/scripts/build_image b/src/scripts/build_image
index 4723ed22be3729f442f2a452b1ad9a2b98f2f789..a4a24d5050ab4806fd2d502002b3902605d725b6 100755
--- a/src/scripts/build_image
+++ b/src/scripts/build_image
@@ -231,6 +231,7 @@ create_developer_image() {
trap - EXIT
$SCRIPTS_DIR/mount_gpt_image.sh -u -r "$root_fs_dir" -s "$stateful_dir"
+ sudo rm -rf "$root_fs_dir" "$stateful_dir"
echo "Developer image built and stored at $output_img"
}

Powered by Google App Engine
This is Rietveld 408576698