The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/170
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) === This fixes #167 Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 67be9d8d77f719ebdfcd64cf70cc69d8178a7a62 Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Tue, 23 Apr 2019 12:17:15 +0200 Subject: [PATCH] chroot: Fix error during chroot setup Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- shared/chroot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/chroot.go b/shared/chroot.go index 8f18fb7..2b6aa9d 100644 --- a/shared/chroot.go +++ b/shared/chroot.go @@ -34,7 +34,7 @@ func setupMounts(rootfs string, mounts []chrootMount) error { // Create the target mountpoint if mount.isDir { - err := os.Mkdir(tmpTarget, 0755) + err := os.MkdirAll(tmpTarget, 0755) if err != nil { return err }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel