Skip to content
Snippets Groups Projects
Commit b9d8ccd9 authored by Denis Pynkin's avatar Denis Pynkin Committed by Denis Pynkin
Browse files

Add utilities for ostree-based rootfs check


Need to include `fsck` and `fsck.ext4` utils explicitly since there is
no image and partitioning during `ostree-commit` recipe to trigger the
default mechanism provided by `mkinitramfs` scripts.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
parent db49314f
No related branches found
No related tags found
1 merge request!85Add fsck to images
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment