Re: RPM and files installed

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

 



On Wednesday 17 January 2007 15:26, Daniel Yek wrote:
> How do I make sure that files created during rpm installation are being
> recorded as belonging to the package? I'm not sure, but I think if rpm
> %post install script created some symbolic links, they might not be
> recorded as installed by the rpm package. (Or are they?)
>
> How RPM keeps track of files created by scripts? Does it trap system calls
> to record all created files and symbolic links? If not, what one needs to
> do to make sure that all files and symbolic links created are being
> accounted for properly?

Simple.  Don't create files in %post.  They aren't tracked.  If you need a 
symlink, do it in %install and then track the symlink in %files.

-- 
Jesse Keating
Release Engineer: Fedora

Attachment: pgpfUQTbwmbM1.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux