diff --git a/overlays/ostree/usr/share/initramfs-tools/hooks/rootfsck b/overlays/ostree/usr/share/initramfs-tools/hooks/rootfsck new file mode 100755 index 0000000000000000000000000000000000000000..f0f2b8b7546527b46fbbbb5cfdac8ae60fbf9045 --- /dev/null +++ b/overlays/ostree/usr/share/initramfs-tools/hooks/rootfsck @@ -0,0 +1,23 @@ +#!/bin/sh + +# Copy utilities for root filesystem check in initramfs + +PREREQ="" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +copy_exec /sbin/fsck +copy_exec /sbin/logsave +copy_exec /sbin/fsck.ext4