From 330626482ad82b3da2991752cfc4b9934813c99f Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Fri, 21 Sep 2018 14:18:49 -0700 Subject: [PATCH] Fix DIB ubuntu-minimal running on bionic (18.04) Diskimage-builder fails to build ubuntu-minimal images when run on a Ubuntu bionic-beaver (18.04) instance. The user gets "Couldn't create tempfiles for splitting up" when apt-get update is run in the ubuntu-minimal element root.d. The issue is that the /tmp inside the chroot is not getting the proper permissions applied from the base-files package. This is likely because the pip-cache element has already created the directory before the base-files package is installed. This patch changes the order of pip-cache to root.d/11-pip-cache so that it runs after teh base OS root.d elements run. Change-Id: I6fd1cb2a23422206884165eb502b260f0c1e52f7 --- .../elements/pip-cache/root.d/{01-pip-cache => 11-pip-cache} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename diskimage_builder/elements/pip-cache/root.d/{01-pip-cache => 11-pip-cache} (100%) diff --git a/diskimage_builder/elements/pip-cache/root.d/01-pip-cache b/diskimage_builder/elements/pip-cache/root.d/11-pip-cache similarity index 100% rename from diskimage_builder/elements/pip-cache/root.d/01-pip-cache rename to diskimage_builder/elements/pip-cache/root.d/11-pip-cache