RPM Community Forums

Mailing List Message of <rpm-users>

Re: functionality opposite to --excludepath

From: Jeffrey Johnson <n3npq@me.com>
Date: Tue 21 Jan 2014 - 17:40:54 CET
Message-id: <BD9794C2-B2A1-44CD-8693-F00C5B10B526@me.com>

On Jan 21, 2014, at 2:21 AM, Rajul Bhavsar <rajulbhavsar@gmail.com> wrote:

> Hi,
> Does rpm5 provides selective installation of files that begins with a certain path?
> e.g. I want to install files beginning with /usr/lib. I am not able to find option for this functionality.

RPM doesn’t provide —include path because the goal is to manage
packages, not files.

Easiest way to extract some files is likely to use cpio(1) options.

	rpm2cpio somepackage.rpm | cpio -dim
will extract all files.


73 de Jeff
> I am aware of --excludepath but the list can become huge in future. 
> Thanks,
> Rajul
Received on Tue Jan 21 17:40:59 2014
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.