assemblers/tar: fix compression

Commit 283281f broke compression by appending the argument last to the
tar command line. It needs to appear before the file.

Fix that and add a test.

[teg: add minor fix]
This commit is contained in:
Lars Karlitski 2019-12-10 02:39:10 +01:00
parent f0a7b2261e
commit e590dee93b
3 changed files with 22 additions and 6 deletions

View file

@ -21,7 +21,8 @@
"grub2-pc",
"policycoreutils",
"qemu-img",
"systemd"
"systemd",
"tar"
]
}
}