Re: insert a file into a binary rpm - how?
- From: Kill Bill <xbill@xxxxxxx>
- Date: Fri, 30 Jun 2006 14:12:08 GMT
Sam wrote:
Of course I'll play safe, I can always do backup and restore, can't I.If this isn't even possible, can someone at least tell me how I can edit the rpm database (in Berkeley DB format?) so that (1) the new manually added file would appear belonging to the rpm and (2) a "rpm -e" will erase the files as well?
The easiest thing for you to do is to simply create a separate rpm package, that installs the files you want, rather than screwing around with the binary rpm database, and end up hosing your entire system.
The rpm database itself can also be rebuilt. To the worst, I can restore the whole system from backup, can't I. Your wording sounds a bit fear-spreading. :)
Had I have the source (be it the source rpm or the raw source), I knew how to create binary rpm and do upgrade. But the situation is that I don't get hold of the source - and still I want my added files managed by the rpm package system. This actually is what I did when I patched skype for my debian box (rpm downloaded from skype website, converted to deb with alien, and need to be patched to work, so I patched it and created a new deb). Am I expecting too much from rpm format?
KB
--
Let's play my favorite game at http://www.xbill.org/
.
- References:
- insert a file into a binary rpm - how?
- From: Kill Bill
- Re: insert a file into a binary rpm - how?
- From: Sam
- insert a file into a binary rpm - how?
- Prev by Date: Re: Where from Konqueror knows the country I'm in?
- Next by Date: how to mount second sata hard drive?
- Previous by thread: Re: insert a file into a binary rpm - how?
- Next by thread: Problem on installing Grub on (hd0,0)
- Index(es):
Relevant Pages
|
|