[Spacewalk-list] change package install location

Robert Paschedag robert.paschedag at web.de
Tue Apr 2 15:43:21 UTC 2019


Am 2. April 2019 17:06:49 MESZ schrieb "Peirce, Dean" <Dean.Peirce at cengage.com>:
>Hi all,
>I’ve got a bit of a head scratcher…
>
>I have a third party rpm to install on all my centos servers. Not a big
>deal. But I’ve been directed to install it in a non-default location
>/foo/bar. The package is relocatable, so adding the –prefix solves that
>requirement.
>
>How can I add this package to spacewalk2.7 and have it install into the
>/foo/bar path automagically? The solution will need to be able to
>handle package updates too.
>
>Thanks in advance!

I doubt SW can do this. You should execute a remote command on all clients and give the needed parameters and options to "zypper", "dnf" or "apt". But I also think this is a one time run. So if you want to upgrade, you would have to run this again.

Another solution is to rebuild the rpm and specify another --prefix.

There is a tool for this. Have to search for it again. Have it not on my mind right now.

Robert

>
>Dean


-- 
sent from my mobile device




More information about the Spacewalk-list mailing list