Re: yumdb: utility of from_repo_revision and from_repo_timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-04-29 at 17:14 +0100, Daniel Drake wrote:
> Hi,
> 
> OLPC has a custom OS update system based on rsync of differences of 1
> filesystem image to the next.
> 
> To make this as quick and efficient as possible, we have an interest
> in reducing needless delta between the old version and the 2.
> 
> Currently, every time we do a new build, there are huge differences in
> the yumdb, even if the set of installed packages didn't really change
> between the 2  builds. This is because the from_repo_revision and
> from_repo_timestamp files change under each db entry.
> 
> We'd save time if we could avoid changes in those files.
> 
> So, my question is: what is the utility of those files? I see that
> they get displayed with the "yumdb info" command. Anything else?
> If I were to set the value 0 in all of those
> from_repo_revision/from_repo_timestamp files, meaning that they
> wouldn't change from build-to-build, would there be any obvious side
> effects?
> 

those are mainly used for history and comparisons of the pkgs.

so you can tell that a pkg installed from the base repo on June 12 2007
is not necessarily the same as the base repo from june 12 2009.

since often times the repo doesn't change name even when you bump the
version.

I think you will be safe by setting it all to 0  but, of course, test,
test, test.

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux