The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2283

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
The directory might not exist on a fresh install.
From f6a845a11b26e7fb18a5230080d44b135fd5a5ca Mon Sep 17 00:00:00 2001
From: Felix Abecassis <fabecas...@nvidia.com>
Date: Wed, 18 Apr 2018 14:09:04 -0700
Subject: [PATCH] lxc-oci: mkdir the download directory

---
 templates/lxc-oci.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/lxc-oci.in b/templates/lxc-oci.in
index d4fef193e..2ce1a9385 100644
--- a/templates/lxc-oci.in
+++ b/templates/lxc-oci.in
@@ -264,6 +264,7 @@ if [ "${OCI_USE_CACHE}" = "true" ]; then
 else
   DOWNLOAD_BASE=/tmp
 fi
+mkdir -p "${DOWNLOAD_BASE}"
 
 # Trap all exit signals
 trap cleanup EXIT HUP INT TERM
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to