From 555c5ee3d08d665203aab443f930877c9cf0d819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 15 Mar 2018 19:49:22 +0100 Subject: [PATCH] base: fix (not) caching deb files The Debian slim variant already disabled the cache, so don't interfere. --- base/rootfs/etc/apt/apt.conf.d/99local | 2 -- base/rootfs/usr/bin/apt-cleanup | 1 - 2 files changed, 3 deletions(-) diff --git a/base/rootfs/etc/apt/apt.conf.d/99local b/base/rootfs/etc/apt/apt.conf.d/99local index eab74dc..a2fba33 100644 --- a/base/rootfs/etc/apt/apt.conf.d/99local +++ b/base/rootfs/etc/apt/apt.conf.d/99local @@ -1,4 +1,2 @@ -Dir::Cache ""; -Dir::Cache::archives ""; APT::Install-Recommends "false"; APT::Install-Suggests "false"; diff --git a/base/rootfs/usr/bin/apt-cleanup b/base/rootfs/usr/bin/apt-cleanup index af92012..1d3d61b 100755 --- a/base/rootfs/usr/bin/apt-cleanup +++ b/base/rootfs/usr/bin/apt-cleanup @@ -1,4 +1,3 @@ #!/bin/sh -rm -f /*.deb rm -rf /var/lib/apt/lists/