[Pkg-raspi-maintainers] RFC: extending the root partition/file system on first boot
Dominik George
nik at naturalnet.de
Fri Feb 17 11:46:32 UTC 2017
Hi,
On Thu, Feb 16, 2017 at 09:35:48AM +0100, Michael Stapelberg wrote:
> I wrote a Perl script which can be plugged into the boot process to extend
> the root partition and root file system. The result is that the user is
> greeted with a fully extended root file system on first login (see
> screenlog.0).
>
> Here’s how to install the script on top of the preview image:
>
> sudo dd if=2016-11-24-raspberry-pi-3-stretch-PREVIEW.img of=/dev/sdb bs=5M
> pmount sdb2
> sudo cp ~/resizerootfs /media/sdb2/usr/bin/
>
> […]
>
> Any thoughts/comments? If not, I’ll go ahead and build a new preview image
> with the script included.
I am *very* much against adding stuff not installed from packages in
Debian into the image. We should really not make the same mistakes as
Raspbian. Instead, we should make very sure that the image is 1:1
reproducible from Debian packages with debootstrap.
That said, what about cloud-initramfs-growroot, which is in Debian,
instead of adding non-Debian code that duplicates existing
functionality?
Cheers,
Nik
--
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296
Dominik George · Hundeshagenstr. 26 · 53225 Bonn
Mobile: +49-1520-1981389 · https://www.dominik-george.de/
Teckids e.V. · FrOSCon e.V.
Fellowship of the FSFE · Piratenpartei Deutschland
Opencaching Deutschland e.V. · Debian Maintainer
LPIC-3 Linux Enterprise Professional (Security)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-raspi-maintainers/attachments/20170217/94a8a597/attachment.sig>
More information about the Pkg-raspi-maintainers
mailing list