From 831633a5bdc208697ae95f13246f18336a7ef424 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 18 Mar 2017 09:21:56 -0400 Subject: [PATCH] vmcheck/overlay: Delete passwd backup files here for now Until we land and it makes its way into all of our streams. Necessary for livefs. --- tests/vmcheck/overlay.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/vmcheck/overlay.sh b/tests/vmcheck/overlay.sh index e0add01357..f9b600592d 100755 --- a/tests/vmcheck/overlay.sh +++ b/tests/vmcheck/overlay.sh @@ -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