From 7d0b2479f5d9730ed84586c2b7208526cf73e86f Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 4 Sep 2015 00:54:50 +0000 Subject: [PATCH] filter out tar time wrap warnings using grep https://phabricator.whonix.org/T401#6634 --- dom0-updates/qubes-dom0-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 963b277..cb1028d 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -131,7 +131,8 @@ echo "Using $UPDATEVM as UpdateVM to download updates for Dom0; this may take so # Start VM if not running already qvm-run $QVMRUN_OPTS -a $UPDATEVM true || exit 1 -tar c /var/lib/rpm /etc/yum.repos.d /etc/yum.conf 2>/dev/null | qvm-run -p "$UPDATEVM" 'tar x -C /var/lib/qubes/dom0-updates' +tar c /var/lib/rpm /etc/yum.repos.d /etc/yum.conf 2>/dev/null | \ + qvm-run -p "$UPDATEVM" 'LC_MESSAGES=C tar x -C /var/lib/qubes/dom0-updates 2>&1 | grep -v -E "s in the future"' qvm-run $QVMRUN_OPTS --pass-io $UPDATEVM "/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui $ALL_OPTS" RETCODE=$?