<div dir="ltr">Thanks for your mail. Answers inline:<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 26, 2018 at 3:53 PM, Ludovic Brenta <span dir="ltr"><<a href="mailto:ludovic@ludovic-brenta.org" target="_blank">ludovic@ludovic-brenta.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
First of all thank you for the pioneering work you've done<br>
for Debian on the Raspberry Pi 3.  I am myself a Debian Developer<br>
and I just purchased a Pi and I wanted to install Debian on it.<br>
Not wanting to be just a "passenger" and downloading your image,<br>
I tried to make my own with a few changes:<br>
<br>
- 5% instead of 20% for the vfat partition (the firmware blob is<br>
  only 20 MiB installed, so a 75 MiB partition is more than enough)<br>
- ext2 instead of ext4 for the root partition (SD cards are slow<br>
  and do not need a journalling file system which would only slow<br>
  them down even more, I think).<br></blockquote><div><br></div><div>Do you have any benchmarks/measurements supporting this claim? This is the first time I hear about it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The other change is that python3.6-minimal has been upgraded from<br>
3.6.4-3 in your latest image to 3.6.5~rc1-1 (testing) and 3.6.5-3<br>
(unstable).  And this package is giving me the following headache:<br>
<br>
qemu: uncaught target signal 11 (Segmentation fault) - core dumped<br>
<br>
while executing the post-installation script of python3.6-minimal.<br>
As a consequence, all subsequent invocations of apt install will<br>
also fail as they notice the package is unconfigured and re-execute<br>
the postinst script.<br>
<br>
I think this may be due to the lack of support for threading in<br>
qemu, combined with the use of pipes in the postinst script.<br></blockquote><div><br></div><div>I would be surprised if qemu did not support threading. Have you searched for bug reports about this symptom?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Have you encountered this before?<br></blockquote><div><br></div><div>No. It might be good to open an issue on <a href="https://github.com/Debian/raspi3-image-spec/issues">https://github.com/Debian/raspi3-image-spec/issues</a>, so that interested people can chime in with additional details/ideas. I’ve also cc'ed the pkg-raspi-maintainers@ list in case anyone else knows anything about this.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
My plan is to:<br>
- apt install python3.6-minimal<br>
- let it fail<br>
- sed 's/set +e/exit 0/' the postinst script so it does nothing<br>
- continue with the other packages<br>
- after booting the raspberry pi, restore the postinst script<br>
  and dpkg-reconfigure python3.6-minimal outside of qemu<br>
<br>
Is that sensible?</blockquote><div><br></div><div>I’d say any approach that works is sensible as a workaround :).</div></div><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div></div>