[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Signaling a file will be edited at post installation
- From: Eric Backus <ericjb wolfenet com>
- To: rpm-list redhat com
- Subject: Re: Signaling a file will be edited at post installation
- Date: Thu, 03 Jan 2002 00:24:44 -0800
José Romildo Malaquias wrote:
> Hello.
>
> What is the best way to tell RPM that an installed file will be
> edited by a post install script, therefore it will not verify
> correctly because its contents and timestamps will have been
> changed.
>
> This situation arises in a relocatable package I am building, where
> there is a script file (which can be relocated) which references another
> file of the package that can be relocated. The installed script file
> uses a special word (@PREFIX@) to indicate the relocation prefix when
> refering to the other file and a post install script just substitutes
> the @PREFIX@ word by the prefix used at installation time. This changes
> some properties of the script file, making later RPM verification
> failure.
I think someone else already told you how to do what you asked. As an
alternative, you could consider doing the @PREFIX@ substitution during the
build process, so that the file which RPM installs really is the correct
file.
--
Eric Backus <eric_backus@agilent.com>
PGP: B6 CC EC B2 CD A4 79 A8 1C BF 19 96 69 EE E5 CC
GPG: 1567 EB6E D580 7CCD 13FB 34EC A51C C498 7F7F 9944
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]