Embedded Installation Logic for Binary Distributions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
=Overview=
=Overview=


This pattern offers a standard installation procedure for binary distributions.  
This pattern offers a standard installation procedure for binary distributions. It consists in shipping the binary distribution with a "./bin/.install" script that, once executed as a standard installation user, or root, renders the binary distribution into a runnable state. nort assumes the binary distributions it handles follow the pattern and attempts to run the installation logic as part of its [[nort Concepts#The_Install_Sequence|install sequence]].
 
It consists in shipping the binary distribution with a "./bin/.install" script that, once executed as a standard installation user, or root, renders the binary distribution into a runnable state.
 
nort assumes the binary distributions it handles follow the pattern and attempts to run the installation logic as part of its [[nort Concepts#The_Install_Sequence|install sequence]].


=Configure the Project to be Installed with nort=
=Configure the Project to be Installed with nort=

Revision as of 06:49, 2 January 2017

Internal

Overview

This pattern offers a standard installation procedure for binary distributions. It consists in shipping the binary distribution with a "./bin/.install" script that, once executed as a standard installation user, or root, renders the binary distribution into a runnable state. nort assumes the binary distributions it handles follow the pattern and attempts to run the installation logic as part of its install sequence.

Configure the Project to be Installed with nort

Reference Implementation

The reference implementation of the .install file is maintained by the nort project, as::

https://github.com/NovaOrdis/nort/blob/master/release/src/main/bash/.install

TODO

  • Consider usefulness of providing a Java class that encapsulates the installation logic and can be instantiated by reflection.