[Filesystems-devel] Bug#804241: Please update initramfs in postinst (maybe)

Vincent Cheng vcheng at debian.org
Thu Nov 19 11:23:59 UTC 2015


Hi Steve,

On Fri, Nov 6, 2015 at 5:54 AM, Steve McIntyre <steve at einval.com> wrote:
> Source: f2fs-tools
> Version: 1.4.1-1
> Severity: important
> Tags: d-i
>
> Hi!
>
> Since the move to systemd as the default init system, the initramfs
> will attempt to fsck and mount both / and /usr (where applicable). To
> aid this, initramfs-tools will copy necessary filesystem tools into
> the initramfs when it is generated.
>
> To make this work well, all filesystem tools packages for filesystems
> that are likely to be used for / and/or /usr should call
> "update-initramfs -u" in their postinst. This will
>
>  (a) ensure that necesssary fsck tools are included in the initramfs
>      generated by debian-installer (see #801961 for an example failure
>      here); and
>  (b) ensure that bug fixes to fsck tools get included immediately in
>      the initramfs
>
> I've checked your package and I don't see any update-initramfs
> calls. Please add one, if you consider f2fs to be a likely/sensible
> option as a base (/ or /usr) filesystem. If you'd like help doing that
> postinst work, I can supply a patch - just ask!

Yep, this sounds like a valid use case (e.g. my Raspberry Pi uses a
f2fs-formatted root filesystem).

All that's needed here is an unconditional call to "update-initramfs
-u" on postinst and postrm, right? Just to make sure I get this right,
would you be able to point me to another package that does the right
thing here (or even a patch if you have time)? Thanks!

Regards,
Vincent



More information about the Filesystems-devel mailing list