From de3f4d64b453ea98847ff3b11c223a57dfae7c0b Mon Sep 17 00:00:00 2001 From: David McMahon Date: Mon, 4 Jan 2010 15:30:13 -0800 Subject: [PATCH] Fix bug introduced by http://codereview.chromium.org/520004 in archive_build.sh step. Review URL: http://codereview.chromium.org/525014 --- install_packages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_packages.sh b/install_packages.sh index 155e6aeaab..6e99204f05 100755 --- a/install_packages.sh +++ b/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.