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

Re: RPM: File relocation help...



Mike A Burns wrote:

I have a list of files located under:

  /opt/project_src/root/etc/.......
  /opt/project_src/root/var/.......
  .
  .

and would like to relocate these such that:

/opt/projects_src/root becomes /


I've tried using the 'Prefix: /opt/projects_src/root' tag expecting the prefix to drop-off leaving '/etc/...', but when the package is built, the 'rpm -qpl <filename>' query shows the file paths have not changed. Apparently I'm missing something. Can someone please help?

You probably want BuildRoot: /opt/projects_src/root instead. Prefix is install-time, BuildRoot is build time.

Regards,
Brian







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