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.

Closes: #698
Approved by: jlebon
  • Loading branch information
cgwalters authored and rh-atomic-bot committed Mar 22, 2017
1 parent 8e8c26f commit eaced1b
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 eaced1b

Please sign in to comment.