#!/bin/sh -eu tool=$(readlink -e "${0%/*}/..") . "$tool"/host/lib.sh mount | grep -q "^$local_dev_disk_boot " || sudo mke2fs -t ext2 -c -c -m 5 -T small \ -E resize=1G${local_e2fs_extended_options} \ -L ${local_lvm_lv}_boot $local_dev_disk_boot