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

Unified Diff: src/scripts/install_packages.sh

Issue 525014: Fix bug introduced by http://codereview.chromium.org/520004 in archive_build.sh step. (Closed)
Patch Set: foobar Created 10 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/install_packages.sh
diff --git a/src/scripts/install_packages.sh b/src/scripts/install_packages.sh
index 155e6aeaab23509462bfc84b5cee6e79ef671e58..6e99204f0583393e155b3bd142d03e73eaea32f2 100755
--- a/src/scripts/install_packages.sh
+++ b/src/scripts/install_packages.sh
@@ -191,6 +191,8 @@ sudo APT_CONFIG="$APT_CONFIG" apt-get --force-yes \
# TODO: The cache was populated by debootstrap, not these installs. Remove
# this line when we can get debootstrap to stop doing this.
sudo rm -f "${ROOT_FS_DIR}"/var/cache/apt/archives/*.deb
+# Need to rm read-only created lock files in order for archiving step to work
+sudo rm -rf "$APT_CACHE_DIR"
# List all packages installed so far, since these are what the local
# repository needs to contain.
« 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