sources: Fix Arch Linux rootfs
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
parent
afdb386a24
commit
e913333fe4
@ -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
|
// Move everything inside 'root.x86_64' (which was is the tarball) to its
|
||||||
// parent directory
|
// parent directory
|
||||||
files, err := filepath.Glob(fmt.Sprintf("%s/*", filepath.Join(rootfsDir,
|
files, err := filepath.Glob(fmt.Sprintf("%s/*", filepath.Join(rootfsDir,
|
||||||
"root", definition.Image.ArchitectureMapped)))
|
"root."+definition.Image.ArchitectureMapped)))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user