#!/usr/bin/env bash set -eux set -o pipefail if ! command -v systemd-repart &>/dev/null; then echo "no systemd-repart" >/skipped exit 0 fi export SYSTEMD_LOG_LEVEL=debug export PAGER=cat rm -f /var/tmp/testsuite-58.img /var/tmp/testsuite-58.2.img /tmp/testsuite-58.dump mkdir -p /tmp/testsuite-58-defs/ # First part: create a disk image and verify its in order cat >/tmp/testsuite-58-defs/esp.conf </tmp/testsuite-58-defs/usr.conf </tmp/testsuite-58-defs/root.conf </tmp/testsuite-58-defs/esp.conf </tmp/testsuite-58-defs/usr.conf </tmp/testsuite-58-defs/root.conf </testok exit 0