[lxc-devel] [distrobuilder/master] sources: Fix Arch Linux rootfs

monstermunchkin on Github lxc-bot at linuxcontainers.org
Tue Mar 27 14:24:49 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 363 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180327/1965aa5b/attachment.bin>
-------------- next part --------------
From e913333fe460df671e22a3539e4f77e4a17d1626 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 27 Mar 2018 16:04:27 +0200
Subject: [PATCH] sources: Fix Arch Linux rootfs

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 59fdc79..6ca7d51 100644
--- a/sources/archlinux-http.go
+++ b/sources/archlinux-http.go
@@ -68,7 +68,7 @@ func (s *ArchLinuxHTTP) Run(definition shared.Definition, rootfsDir string) erro
 	// Move everything inside 'root.x86_64' (which was is the tarball) to its
 	// parent directory
 	files, err := filepath.Glob(fmt.Sprintf("%s/*", filepath.Join(rootfsDir,
-		"root", definition.Image.ArchitectureMapped)))
+		"root."+definition.Image.ArchitectureMapped)))
 	if err != nil {
 		return err
 	}


More information about the lxc-devel mailing list