This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
2
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
26e2ec6faa
diskimage-builder
/
elements
/
dpkg
/
finalise.d
/
99-clean-up-cache
8 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Revert "Cleanup apt cache after grub install" This calls chroot as a non-root user, which will always fail with EPERM. This reverts commit ab2d1a31f2177b26aada075201712b0061a1b771. Change-Id: Ie674fef694ad66e1ebc22083dec2a0bc34371e7b
2014-07-24 01:56:35 +00:00
#!/bin/bash
# Do an apt-get clean. This will free some space.
set -eu
set -o pipefail
Cleanup apt cache after grub install Grub installation happens in finalize.d so cleanup should be done after this. This reapplies I6322b8b529e31fd1b7251dd9e07cc85f442f7e81 after the revert, but working. Change-Id: Ie1873e64d407552da37a8dbedc13c3adbf79c085
2014-07-15 17:56:26 +00:00
apt-get clean
Reference in New Issue
Copy Permalink