Skip to content

Commit

Permalink
tests: Use --parent=none rather than deleting the ref
Browse files Browse the repository at this point in the history
This is atomic. Not that it matters for this test, but let's have our tests use
ostree well.
  • Loading branch information
cgwalters committed Oct 4, 2017
1 parent f3c63b6 commit ce5e609
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/vmcheck/overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ fi
rm -vrf vmcheck/usr/etc/selinux/targeted/semanage.*.LOCK
# ✀✀✀ END tmp hack

ostree refs --delete vmcheck || true
ostree commit -b vmcheck --link-checkout-speedup \
ostree commit --parent=none -b vmcheck --link-checkout-speedup \
--selinux-policy=vmcheck --tree=dir=vmcheck
ostree admin deploy vmcheck

0 comments on commit ce5e609

Please sign in to comment.