mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
moby: Log error when the kernel untar fails
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
757905d845
commit
ebc5057839
@ -107,7 +107,7 @@ func build(name string, args []string) {
|
|||||||
buf := bytes.NewBuffer(out)
|
buf := bytes.NewBuffer(out)
|
||||||
bzimage, ktar, err := untarKernel(buf, bzimageName, ktarName)
|
bzimage, ktar, err := untarKernel(buf, bzimageName, ktarName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Could not extract bzImage and kernel filesystem from tarball")
|
log.Fatalf("Could not extract bzImage and kernel filesystem from tarball. %v", err)
|
||||||
}
|
}
|
||||||
containers = append(containers, ktar)
|
containers = append(containers, ktar)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user