[Yum] yumdb: utility of from_repo_revision and from_repo_timestamp

James Antill james-yum at and.org
Sat Apr 30 04:38:17 UTC 2011


Daniel Drake <dsd at laptop.org> 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 at and.org


More information about the Yum mailing list