Browse code

fix cache-updateinfo in tdnf

Change-Id: I8391e7bce281577d466d4217ba042b541be64901
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2669
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>

Bo Gan authored on 2017/05/11 13:08:59
Showing 2 changed files
... ...
@@ -2,4 +2,4 @@
2 2
 
3 3
 exec > /var/cache/tdnf/cached-updateinfo.txt
4 4
 
5
-tdnf -qC updateinfo
5
+tdnf -q --refresh updateinfo | grep -vE '^Refreshing|^Disabling'
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        dnf/yum equivalent using C libs
5 5
 Name:           tdnf
6 6
 Version:        1.2.0
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 License:        LGPLv2.1,GPLv2
... ...
@@ -148,6 +148,8 @@ systemctl try-restart tdnf-cache-updateinfo.timer >/dev/null 2>&1 || :
148 148
     %{_libdir}/libtdnfcli.so.*
149 149
 
150 150
 %changelog
151
+*   Wed May 10 2017 Bo Gan <ganb@vmware.com> 1.2.0-3
152
+-   Fix cache-updateinfo script
151 153
 *   Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.0-2
152 154
 -   Fix Requires for cli-libs
153 155
 *   Wed May 03 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.0-1