diff --git a/live-build/auto/build b/live-build/auto/build index c9598d34..6bc025af 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -259,7 +259,7 @@ EOF if [ "${PROJECT}:${SUBPROJECT:-}" = "ubuntu-base:minimized" ]; then # Save even more size by removing apt lists (that are currently removed # downstream anyway) - rm -f chroot/var/lib/apt/lists/* + rm -rf chroot/var/lib/apt/lists/* fi if [ -f config/oem-config-preinstalled ]; then