[OmniOS-discuss] OmniOS Packaging: override installation PREFIX

Vincenzo Pii piiv at zhaw.ch
Tue Dec 2 11:05:10 UTC 2014


I am trying to package something on OmniOS following the instructions here:

http://omnios.omniti.com/wiki.php/PackagingForOmniOS.

The PREFIX in the config.sh file is set to /usr/local:

    # Default prefix for packages (may be overridden)
    PREFIX=/usr/local

In my build.sh I want to set a different prefix (for this specific package
only), so I am doing something like

    export PREFIX=/opt
    export CONFIGURE_OPTS="--prefix=$PREFIX"

However, this doesn't seem to work, as files are still installed under
/usr/local.

What is the correct way to override the global PREFIX?

Thanks,
Vincenzo.

-- 
Vincenzo Pii
Researcher, InIT Cloud Computing Lab
Zurich University of Applied Sciences (ZHAW)
blog.zhaw.ch/icclab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20141202/a35bc57b/attachment.html>


More information about the OmniOS-discuss mailing list