> I think you'll find you need the -d option to cpio - "cpio -idv".
>
> Of course, if your intention is to modify an existing RPM, the best
> process is to ask for the source RPM for the original package.
What I was after is that I have the original RPM. I modified some of
the source in the dire
On Tue, 21 Jan 2003, Charlie Brady wrote:
>
> On Tue, 21 Jan 2003, Peter Samuel wrote:
>
> > On Tue, 21 Jan 2003, Charlie Brady wrote:
> >
> > > I think you'll find you need the -d option to cpio - "cpio -idv".
> >
> > Depends on your version of cpio. My tests showed it wasn't necessary
> >
>
On Tue, 21 Jan 2003, Peter Samuel wrote:
> On Tue, 21 Jan 2003, Charlie Brady wrote:
>
> > I think you'll find you need the -d option to cpio - "cpio -idv".
>
> Depends on your version of cpio. My tests showed it wasn't necessary
>
> rpm -q rpm cpio
> rpm-4.0.4-7x.18
> cpio-2.4.2-26
H
On Tue, 21 Jan 2003, Charlie Brady wrote:
>
> On Tue, 21 Jan 2003, Peter Samuel wrote:
>
> > You can extract the files in an rpm using rpm2cpio. Then you can use
> > that to build a new tarball.
> >
> > cd /var/tmp
> > mkdir foo-1.1
> > cd foo-1.1
> > rpm2cpio foo-1.1.noarch.rpm
On Tue, 21 Jan 2003, Peter Samuel wrote:
> You can extract the files in an rpm using rpm2cpio. Then you can use
> that to build a new tarball.
>
> cd /var/tmp
> mkdir foo-1.1
> cd foo-1.1
> rpm2cpio foo-1.1.noarch.rpm | cpio -iv
I think you'll find you need the -d option to cpio
On Mon, 20 Jan 2003, Jeremy McNicoll wrote:
> Is there a way to take a existing RPM and group together all the files
> that belong to it into a tar? What I mean is that I have an rpm and I
> changes to the files inside it, can I take the files that the RPM
> contains with path etc and send to tar
On Mon, Jan 20, 2003 at 08:00:30PM -0500, Jeremy McNicoll wrote:
> Is there a way to take a existing RPM and group together all the files
> that belong to it into a tar? What I mean is that I have an rpm and I
> changes to the files inside it, can I take the files that the RPM
> contains with path
Is there a way to take a existing RPM and group together all the files
that belong to it into a tar? What I mean is that I have an rpm and I
changes to the files inside it, can I take the files that the RPM
contains with path etc and send to tar to get the necessary files for
me?
So for example
On Wed, 7 Feb 2001, Justin Funke wrote:
> %post
> /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
> /sbin/e-smith/expand-template /etc/httpd/conf/php.ini
> service httpd restart
>
> %postun
> /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
> /sbin/e-smith/expand-template /etc/