Skip to content

Commit

Permalink
vmcheck/overlay: Delete passwd backup files here for now
Browse files Browse the repository at this point in the history
Until we land <coreos#693> and it
makes its way into all of our streams.

Necessary for livefs.
  • Loading branch information
cgwalters committed Mar 22, 2017
1 parent 8463ec3 commit 831633a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/vmcheck/overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ fi
cd /ostree/repo/tmp
rm vmcheck -rf
ostree checkout $commit vmcheck --fsync=0
# ✀✀✀ BEGIN hack for https://github.com/projectatomic/rpm-ostree/pull/693 ✀✀✀
rm -f vmcheck/usr/etc/{.pwd.lock,passwd-,group-,shadow-,gshadow-,subuid-,subgid-}
# ✀✀✀ END hack for https://github.com/projectatomic/rpm-ostree/pull/693 ✀✀✀
rsync -rlv /var/roothome/sync/insttree/usr/ vmcheck/usr/
# ✀✀✀ BEGIN hack for https://github.com/projectatomic/rpm-ostree/pull/642 ✀✀✀
ostree admin unlock || true
Expand Down

0 comments on commit 831633a

Please sign in to comment.