Re: insert a file into a binary rpm - how?
- From: Kill Bill <xbill@xxxxxxx>
- Date: Fri, 30 Jun 2006 09:01:46 GMT
Kill Bill wrote:
Hi, Group,
I am asking this question because I would like to insert several pre-prepared files into a binary rpm, and I know this is possible for the debian packages (since .deb can be manipulated with standard unix facilities such as ar, tar, gzip). Also I know how to extract a specified file within a rpm using rpm2pico and pico. Just the other way around I don't know.
And I am thinking a possible work around for this issue:
1) use alien to convert the original rpm into a deb;
2) use ar, tar, gzip to decompose the deb;
3) add prepared files in;
4) use md5sum, tar, gzip ar, etc to re-assemble a new deb;
5) use alien again, to convert the deb to a new version of rpm.
The potential danger of this work around is the compatibility issue. I haven't try it but it is likely the final rpm doesn't work on the original platform.
Does anyone have any suggestion?
Thanks,
KB
--
Let's play my favorite game at http://www.xbill.org/
.
- Follow-Ups:
- References:
- insert a file into a binary rpm - how?
- From: Kill Bill
- insert a file into a binary rpm - how?
- Prev by Date: insert a file into a binary rpm - how?
- Next by Date: Re: insert a file into a binary rpm - how?
- Previous by thread: insert a file into a binary rpm - how?
- Next by thread: Re: insert a file into a binary rpm - how?
- Index(es):
Relevant Pages
|