Fix wwclient for compressed overlay stream

This commit is contained in:
Gregory Kurtzer
2021-04-24 17:26:27 -07:00
parent ed4c0ea91b
commit 0419892e6a

View File

@@ -85,7 +85,7 @@ func main() {
}
log.Printf("Updating system\n")
command := exec.Command("/bin/cpio", "-iu")
command := exec.Command("/bin/sh", "-c", "gzip -dc | cpio -iu")
command.Stdin = resp.Body
err := command.Run()
if err != nil {