[lxc-devel] [distrobuilder/master] sources: Remove temporary root directory in Arch

monstermunchkin on Github lxc-bot at linuxcontainers.org
Wed Jan 16 13:47:06 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190116/7644a05b/attachment.bin>
-------------- next part --------------
From 586ef9525861be06a62ed2f46be347f8c39a8214 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Wed, 16 Jan 2019 14:45:09 +0100
Subject: [PATCH] sources: Remove temporary root directory in Arch

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 sources/archlinux-http.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sources/archlinux-http.go b/sources/archlinux-http.go
index 4dcefb9..66ca859 100644
--- a/sources/archlinux-http.go
+++ b/sources/archlinux-http.go
@@ -81,6 +81,6 @@ func (s *ArchLinuxHTTP) Run(definition shared.Definition, rootfsDir string) erro
 		}
 	}
 
-	return os.RemoveAll(filepath.Join(rootfsDir, "root",
+	return os.RemoveAll(filepath.Join(rootfsDir, "root."+
 		definition.Image.ArchitectureMapped))
 }


More information about the lxc-devel mailing list