Mailinglist Archive: zypp-commit (545 mails)

< Previous Next >
[zypp-commit] r8889 - /trunk/sat-solver/tools/repo_rpmdb.c
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Sat, 23 Feb 2008 17:00:46 -0000
  • Message-id: <20080223170046.A4F1E36A86@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Sat Feb 23 18:00:46 2008
New Revision: 8889

URL: http://svn.opensuse.org/viewcvs/zypp?rev=8889&view=rev
Log:
integrate the installsize in the @system, so that
zypper won't claim I need additional 4GB to update
to Factory

Modified:
trunk/sat-solver/tools/repo_rpmdb.c

Modified: trunk/sat-solver/tools/repo_rpmdb.c
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_rpmdb.c?rev=8889&r1=8888&r2=8889&view=diff
==============================================================================
--- trunk/sat-solver/tools/repo_rpmdb.c (original)
+++ trunk/sat-solver/tools/repo_rpmdb.c Sat Feb 23 18:00:46 2008
@@ -38,6 +38,7 @@
#define TAG_SUMMARY 1004
#define TAG_DESCRIPTION 1005
#define TAG_BUILDTIME 1006
+#define TAG_SIZE 1009
#define TAG_VENDOR 1011
#define TAG_GROUP 1016
#define TAG_ARCH 1022
@@ -688,6 +689,10 @@
u32 = headint32(rpmhead, TAG_BUILDTIME);
if (u32)
repodata_set_num(repodata, entry, id_time, u32);
+ u32 = headint32(rpmhead, TAG_SIZE);
+ if (u32)
+ repodata_set_num(repodata, entry, id_installsize, u32);
+
}
return 1;
}

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages