From f6c147b9ae7d2d62cf765c0b91514a052209b591 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Mon, 22 Oct 2018 15:01:58 +0200 Subject: Create dir needed for live-build to crete symlinks --- tools/cloud-init/99-walinuxagent.chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cloud-init/99-walinuxagent.chroot b/tools/cloud-init/99-walinuxagent.chroot index f8848a2c..1de525cf 100755 --- a/tools/cloud-init/99-walinuxagent.chroot +++ b/tools/cloud-init/99-walinuxagent.chroot @@ -11,6 +11,7 @@ sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' /etc/dhcp/dhclient.conf rm -f /etc/ssh/ssh_host_* rm -f /var/log/waagent.log rm -r /var/cache/apt/* +mkdir -p /var/cache/apt/archives rm -r /var/lib/apt/lists/* # prevent systemd message flooding -- cgit v1.2.3