Re: Creating relocatable packages

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

 



On Wed, 2004-10-20 at 09:47 +0000, Shiva Varma wrote:

> Prefix: /usr/src
> 
> In the files list i have mentioned the files
> %files
>    /usr/src/redhat/sources/test
>    /home/varma/test1
> 
> Ideally i should get an error message since /home/varma does not match prefix. 

> However i am not getting any error message and the package is getting build properly.
> 
> Any clues what the problem could be....

RPM does not force everything under prefix for relocatable packages

Prefix is a hint to the person that is installing the package that
relocation is supported, it is not used by rpmbuild for enforcement of
file paths.

Paul

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux