eac2d7f588
This calls chroot as a non-root user, which will always fail with
EPERM.
This reverts commit ab2d1a31f2
.
Change-Id: Ie674fef694ad66e1ebc22083dec2a0bc34371e7b
10 lines
157 B
Bash
Executable File
10 lines
157 B
Bash
Executable File
#!/bin/bash
|
|
# Do an apt-get clean. This will free some space.
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if ! mount | grep /var/cache/apt/archives; then
|
|
apt-get clean
|
|
fi
|