mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Fix bug introduced by http://codereview.chromium.org/520004 in archive_build.sh step.
Review URL: http://codereview.chromium.org/525014
This commit is contained in:
parent
afc9c8d0b9
commit
de3f4d64b4
@ -191,6 +191,8 @@ sudo APT_CONFIG="$APT_CONFIG" apt-get --force-yes \
|
|||||||
# TODO: The cache was populated by debootstrap, not these installs. Remove
|
# TODO: The cache was populated by debootstrap, not these installs. Remove
|
||||||
# this line when we can get debootstrap to stop doing this.
|
# this line when we can get debootstrap to stop doing this.
|
||||||
sudo rm -f "${ROOT_FS_DIR}"/var/cache/apt/archives/*.deb
|
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
|
# List all packages installed so far, since these are what the local
|
||||||
# repository needs to contain.
|
# repository needs to contain.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user