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 <#693> and it
makes its way into all of our streams.

Necessary for livefs.
  • Loading branch information
cgwalters committed Mar 18, 2017
1 parent c2fb2bb commit efc7437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/vmcheck/overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ fi
cd /ostree/repo/tmp
rm vmcheck -rf
ostree checkout $commit vmcheck --fsync=0
# https://github.com/projectatomic/rpm-ostree/pull/693
rm -f vmcheck/usr/etc/{.pwd.lock,passwd-,group-,shadow-,gshadow-,subuid-,subgid-}
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 efc7437

Please sign in to comment.