[Git-commits] [grml/grml-debootstrap] 4c49de: Ensure to have filesystem tools installed

Michael Prokop noreply at github.com
Fri Nov 25 14:33:04 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: 4c49de9d47fef1e743d87bd7bd08fd4ac7d36f9c
      https://github.com/grml/grml-debootstrap/commit/4c49de9d47fef1e743d87bd7bd08fd4ac7d36f9c
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  Ensure to have filesystem tools installed

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


  Commit: befae5ad7c117765183e66cad89c554c49435e75
      https://github.com/grml/grml-debootstrap/commit/befae5ad7c117765183e66cad89c554c49435e75
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  Use "errors=remount-ro" fstab option only within supported filesystems

Also XFS doesn't support the errors=remount-ro option, but instead of
disabling the option for file systems that don't support it, let's
only enable it for the once that support it (according to linux's
source).

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


  Commit: 73829b0497532dfff79a0c23c3f39c7bfb83ea05
      https://github.com/grml/grml-debootstrap/commit/73829b0497532dfff79a0c23c3f39c7bfb83ea05
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/pr/201'


  Commit: 7bab80c89ec11649062162119e0ba28d18e9fa58
      https://github.com/grml/grml-debootstrap/commit/7bab80c89ec11649062162119e0ba28d18e9fa58
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/pr/202'


Compare: https://github.com/grml/grml-debootstrap/compare/8b44fbbb3430...7bab80c89ec1


More information about the Git-commits mailing list