Hi Rick, Rick Thomas <rbtho...@pobox.com> (2017-06-25): > On Feb 10, 2017, at 12:43 PM, Cyril Brulebois <k...@debian.org> wrote: > > Karsten Merker <mer...@debian.org> (2017-02-10): > >> when using the "Guided - use entire disk" option, partman by > >> default clobbers the boot sector and the area after it (where > >> u-boot is located) to make sure that there are no remains of old > >> partition tables. We have code in partman-base that disables > >> this clobbering on systems of which we know that u-boot would be > >> damaged (which includes systems based on Freescale SoCs such as > >> your Cubox-i), but this doesn't work in your case as we currently > >> only disable the clobbering for /dev/mmcblk0 while your SD card > >> shows up as /dev/mmcblk1. I am not 100% sure about that, but IIRC > >> with older kernels the SD card in the cubox-i has shown up as > >> /dev/mmcblk0. > >> > >> The relevant code in partman-base can be seen here: > >> https://anonscm.debian.org/cgit/d-i/partman-base.git/tree/parted_server.c#n1377 > >> > >> The easiest solution would be to check for /dev/mmcblk instead of > >> /dev/mmcblk0. If nobody has objections against this change, I'll > >> modify partman-base accordingly and upload a new version (CCing the > >> partman-base uploaders Max Vozeler, Anton Zinoviev, Colin Watson and > >> Christian Perrier and Kibi as the d-i release manager). > > > > That seems like a fair approach, feel free to go ahead; thanks. > > > > > > KiBi. > > It appears that as of Stretch 9.0.0 this fix has not made it into the > distribution. Is there anything I can do to help make it happen?
I think you just did: I gave Karsten a green light then forgot about this specific bug report… I'm adding a note for 9.x. I think I'll commit the proposed patch, and upload to unstable. As usual (not specific to d-i), this is a prerequisite for getting a package updated in stable. Once that has happened, a confirmation (that the fix uploaded to unstable works as expected) would be most welcome. Thanks! KiBi.
signature.asc
Description: Digital signature