sources: Fix Arch Linux rootfs

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
Thomas Hipp 2018-03-27 16:04:27 +02:00
parent afdb386a24
commit e913333fe4
No known key found for this signature in database
GPG Key ID: 993408D1137B7D51

View File

@ -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
}