Debian / raspi3-image-spec

contains the files to build the https://wiki.debian.org/RaspberryPi3 image
127 stars 32 forks source link

Unable to built image : error on update-initramfs #31

Closed mgallissot closed 6 years ago

mgallissot commented 6 years ago

Hello, I've try to build the image but it fails with the following log entries Any idea ? Best,

2018-08-09 15:02:10 DEBUG STDOUT: b'Processing triggers for initramfs-tools (0.132) ...\n'
2018-08-09 15:02:11 DEBUG STDOUT: b'update-initramfs: Generating /boot/initrd.img-4.17.0-1-arm64\n'
2018-08-09 15:04:13 DEBUG STDERR: b'qemu: Unsupported syscall: 267\n'
2018-08-09 15:04:13 DEBUG STDERR: b'/bin/sync: '
2018-08-09 15:04:13 DEBUG STDERR: b"error syncing '/boot/initrd.img-4.17.0-1-arm64'"
2018-08-09 15:04:13 DEBUG STDERR: b': Function not implemented\n'
2018-08-09 15:04:13 DEBUG STDOUT: b'Processing triggers for dbus (1.12.10-1) ...\n'
2018-08-09 15:04:13 DEBUG STDERR: b'dpkg: error processing package initramfs-tools (--configure):\n installed initramfs-tools package post-installation script subprocess returned error exit status 1\n'
2018-08-09 15:04:13 DEBUG STDERR: b'Errors were encountered while processing:\n linux-image-4.17.0-1-arm64\n linux-image-arm64\n initramfs-tools\n'
2018-08-09 15:04:14 DEBUG STDERR: b'E'
2018-08-09 15:04:14 DEBUG STDERR: b': '
2018-08-09 15:04:14 DEBUG STDERR: b'Sub-process /usr/bin/dpkg returned an error code (1)'
chschlue commented 6 years ago

Which version of qemu are you using?

mgallissot commented 6 years ago

qemu is version 2.5.0

chschlue commented 6 years ago

Try updating qemu. arm64 syscall 267 is syncfs, which was implemented almost two years ago.

mgallissot commented 6 years ago

thanks, it solved the issue