diff --git a/tests/vmcheck/overlay.sh b/tests/vmcheck/overlay.sh index 27575b7f..d858a09a 100755 --- a/tests/vmcheck/overlay.sh +++ b/tests/vmcheck/overlay.sh @@ -13,8 +13,7 @@ if test -z "${INSIDE_VM:-}"; then set -x - topdir=$(git rev-parse --show-toplevel) - cd ${topdir} + cd ${topsrcdir} rm insttree -rf make install DESTDIR=$(pwd)/insttree vm_rsync diff --git a/tests/vmcheck/sync.sh b/tests/vmcheck/sync.sh index dc765746..f063c1cd 100755 --- a/tests/vmcheck/sync.sh +++ b/tests/vmcheck/sync.sh @@ -14,8 +14,7 @@ if test -z "${INSIDE_VM:-}"; then set -x - topdir=$(git rev-parse --show-toplevel) - cd ${topdir} + cd ${topsrcdir} rm insttree -rf make install DESTDIR=$(pwd)/insttree vm_rsync @@ -28,5 +27,6 @@ else set -x ostree admin unlock || : rsync -rv /var/roothome/sync/insttree/usr/ /usr/ + restorecon /usr/libexec/rpm-ostreed systemctl restart rpm-ostreed fi