Create your own yum repository
This week’s TechMail is Create your own yum repository which pretty much discusses the createrepo tool and how to use it to create your own custom yum repository. Handy little tool; this came about when I was figuring out how to make a yum repository for my Annvix packages.
Rahul Sundaram
createrepo with with -d argument is better because it creates the sqlite database and yum doesn’t have to parse XML everytime. Also you might have covered delta RPM’s. It is a new feature for Fedora 11.
May 12, 2009 @ 15:16:06vdanen
Interesting, I didn’t know about -d. I suppose the sqlite database must be faster than the repo metadata that is normally generated? I’m going to have to look into that.
As for delta rpms… well, I’m not playing with Fedora 11 yet, so have no information/knowledge about them other than they’re coming. Besides, that will make for a good future tip (I have a limited word count for these things!)
May 12, 2009 @ 16:13:05Rahul Sundaram
Yes, createrepo with -d is way more faster. You should add it as a tip. There is no reasons not to use it now.
May 12, 2009 @ 17:23:46vdanen
Thanks, Rahul. I added a note in the original tip about that (I can’t change the tip itself, so the note will hopefully suffice).
May 13, 2009 @ 00:13:58