xref: /freebsd/sys/contrib/openzfs/.github/workflows/scripts/qemu-prepare-for-build.sh (revision d2a8fad3579763bd288260c8c465ab9eb448d465)
1#!/usr/bin/env bash
2
3# Helper script to run after installing dependencies.  This brings the VM back
4# up and copies over the zfs source directory.
5echo "Build modules in QEMU machine"
6sudo virsh start openzfs
7.github/workflows/scripts/qemu-wait-for-vm.sh vm0
8rsync -ar $HOME/work/zfs/zfs zfs@vm0:./
9