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

replacing files via rpm



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

For a project I want to replace some files from packages with my own in
some FC6 boxes. I run my own repositories, but all boxes yum updates
from the official mirrors.

For a test run I want to replace the grub loading pic and the default
desktop wallpaper.

What way would you suggest?

* I could simply create a rpm which contains the new files
Pro: simple
Con: get's overwritten each time the package containing the original
files gets updated

* I can find out, which package contains the files and put one with the
same name but a higher major release into my own repository. This new
one should contain its original contents with just the files replaced I
want to.
Pro: Can't get "overupdated"
Con: May break dependencies

* I can create a package containing my new files and new config files,
referring to the new files instead of the original ones.
Pro: Seems to be a rather "clean" attempt.
Con: May get overwritten by updated original packages. Produces lots of
work merging my config with the original one of new packages

* I could have all boxes syncing to my own repos and include fedora
core, extras, livna, etc. every repo which contains packages I want
files to be replaced and just replace the files in those packages.
Pro: Really, really "clean" attempt
Con: lots, lots of work for me and my servers.

Any other ideas?

Kind regards,
Thomas
- --

*****************************************************************
* Thomas Widhalm                             Unix Administrator *
* University of Salzburg                       ITServices (ITS) *
* Systems Management                               Unix Systems *
* Hellbrunnerstr. 34                     5020 Salzburg, Austria *
* widhalmt unix sbg ac at                     +43/662/8044-6774 *
* gpg: 6265BAE6 	   http://www.users.sbg.ac.at/~widhalmt *
*****************************************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFF3BMekbjs3GJluuYRArSeAKChk4FwMnM/4/qCWPjqJBllAKf8DQCcCU16
poHixxbp5sY0sufy/1SPuME=
=FGmw
-----END PGP SIGNATURE-----


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