LWN.net Logo

Distribution quotes of the week

Distribution quotes of the week

Posted Jun 1, 2012 8:50 UTC (Fri) by nigelm (subscriber, #622)
In reply to: Distribution quotes of the week by skvidal
Parent article: Distribution quotes of the week

Some people use etckeeper to maintain a log of changes to /etc.

On RH-like systems etckeeper fires a commit as part of a yum package operation (using a yum plugin).

It seems to me that as part of that you could dump the current list of packages - basically the output of 'yum list installed' - into a file within etc (so under etckeeper) which would give you what you were after (you already have the yum repo configuration in the etckeeper repo).

Nigel.


(Log in to post comments)

Distribution quotes of the week

Posted Jun 2, 2012 1:08 UTC (Sat) by bronson (subscriber, #4806) [Link]

In fact, I wrote exactly this, see 10update-packagelist:

http://git.kitenet.net/?p=etckeeper.git;a=tree;f=post-ins...

Joey wasn't a fan and pulled it back out. Owell, I still use it. :)

- Scott

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds