<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 12:46 PM, Dominik George <span dir="ltr"><<a href="mailto:nik@naturalnet.de" target="_blank">nik@naturalnet.de</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">Hi,<br>
<span class="gmail-"><br>
On Thu, Feb 16, 2017 at 09:35:48AM +0100, Michael Stapelberg wrote:<br>
> I wrote a Perl script which can be plugged into the boot process to extend<br>
> the root partition and root file system. The result is that the user is<br>
> greeted with a fully extended root file system on first login (see<br>
> screenlog.0).<br>
><br>
> Here’s how to install the script on top of the preview image:<br>
><br>
> sudo dd if=2016-11-24-raspberry-pi-3-<wbr>stretch-PREVIEW.img of=/dev/sdb bs=5M<br>
> pmount sdb2<br>
> sudo cp ~/resizerootfs /media/sdb2/usr/bin/<br>
><br>
</span>> […]<br>
<span class="gmail-">><br>
> Any thoughts/comments? If not, I’ll go ahead and build a new preview image<br>
> with the script included.<br>
<br>
</span>I am *very* much against adding stuff not installed from packages in<br>
Debian into the image. We should really not make the same mistakes as<br></blockquote><div><br></div><div>Where are you getting this from? The script would of course be packaged either in:</div><div>• vmdebootstrap, where I thought our packaging invocation should eventually live as an example script (much like the ones for the cubietrack or beaglebone)<br></div><div>• a separate package, to be created</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">
Raspbian. Instead, we should make very sure that the image is 1:1<br>
reproducible from Debian packages with debootstrap.<br>
<br>
That said, what about cloud-initramfs-growroot, which is in Debian,<br></blockquote><div><br></div><div>Thanks for the tip. I gave it a brief look and find its pages and pages of shell script much more complicated than the 2-pager perl script I proposed. That said, if it works sufficiently well (so that we don’t have to debug it), can easily be integrated into our image and doesn’t increase the image size to an overly large extent, I’m happy to re-use it instead of introducing a custom script.</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">
instead of adding non-Debian code that duplicates existing<br>
functionality?</blockquote><div><br></div><div>I assume by “non-Debian”, you mean code that is not currently packaged in a Debian package, and that my clarification above nullifies that point. If it doesn’t, please explain why code written by a Debian Developer for the Debian project which is found in a (hopefully at some point) official Debian image would not qualify as a “Debian code” :).</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>
Cheers,<br>
Nik<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
--<br>
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17  FD26 B79A 3C16 A0C4 F296<br>
<br>
Dominik George · Hundeshagenstr. 26 · 53225 Bonn<br>
Mobile: +49-1520-1981389 · <a href="https://www.dominik-george.de/" rel="noreferrer" target="_blank">https://www.dominik-george.de/</a><br>
<br>
Teckids e.V. · FrOSCon e.V.<br>
Fellowship of the FSFE · Piratenpartei Deutschland<br>
Opencaching Deutschland e.V. · Debian Maintainer<br>
<br>
LPIC-3 Linux Enterprise Professional (Security)<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div></div>