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

Unified Diff: cros_generate_stateful_update_payload.py

Issue 4882006: Don't allow hardlinks in tarball. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 10 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_generate_stateful_update_payload.py
diff --git a/cros_generate_stateful_update_payload.py b/cros_generate_stateful_update_payload.py
index b8bc1eb65edf113139933a130f0ebe664f432289..a2c170a84e6df299d898c8a65670271d71efd868 100755
--- a/cros_generate_stateful_update_payload.py
+++ b/cros_generate_stateful_update_payload.py
@@ -50,6 +50,7 @@ def GenerateStatefulPayload(image_path, output_directory, logger):
'-czf',
output_gz,
'--directory=%s' % stateful_dir,
+ '--hard-dereference',
'--transform=s,^dev_image,dev_image_new,',
'--transform=s,^var,var_new,',
'dev_image',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698