[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Re: yumdb: utility of from_repo_revision and from_repo_timestamp

Daniel Drake <dsd@xxxxxxxxxx> writes:

> 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?

 I'm pretty sure that'll be safe ... but given they should all the new
versions should have the same value why don't you just call "hardlink"?

James Antill -- james@xxxxxxx
Yum mailing list

[Home]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

  Web www.spinics.net