[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

Mantis Bug Tracker noreply at opencsw.org
Tue Aug 27 16:54:09 CEST 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5102 
====================================================================== 
Reported By:                yann
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   5102
Category:                   regular use
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2013-08-16 17:13 CEST
Last Modified:              2013-08-27 16:54 CEST
====================================================================== 
Summary:                    Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
====================================================================== 

---------------------------------------------------------------------- 
 (0010560) bonivart (manager) - 2013-08-27 16:54
 https://www.opencsw.org/mantis/view.php?id=5102#c10560 
---------------------------------------------------------------------- 
Did you test your patch on a normal Solaris system? I ran it on Solaris 10
and pkgadd/pkgrm are not found. You only added /opt/csw/bin to the path but
some pkg tools are found in /usr/sbin.

Couldn't you accomplish the same thing by placing your pkg tools in the
normal Solaris paths?



More information about the bug-notifications mailing list