Ensure to have filesystem tools installed
authorMichael Prokop <mika@grml.org>
Fri, 25 Nov 2022 10:48:06 +0000 (11:48 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 25 Nov 2022 10:50:32 +0000 (11:50 +0100)
When installing to an XFS root partition, update-initramfs complains:

| update-initramfs: Generating /boot/initrd.img-5.10.0-19-amd64
| W: /sbin/fsck.xfs doesn't exist, can't install to initramfs

Let's make sure to have the according filesystem package available.

FTR, no need for handling ext* + e2fsprogs, as this is available anyways
due to `Priority: required`.

Also, the "--filesystem jfs" isn't supported by default (as mkfs.jfs
expects user input unless invoked with -q, something we might wanna
automate in the future?), but someone can prepare it manually and
install it to the mounted file system, so let's also handle this.

Thanks: Chris Hofstaedtler for the bug report
Closes: https://github.com/grml/grml-debootstrap/issues/200


No differences found