diskimage-builder/elements/dpkg/finalise.d/99-clean-up-cache
Endre Karlson ccce52fd21 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-30 15:04:12 +01:00

8 lines
102 B
Bash
Executable File

#!/bin/bash
# Do an apt-get clean. This will free some space.
set -eu
set -o pipefail
apt-get clean