diff options
author | Kali Kaneko <kali@leap.se> | 2014-07-01 01:48:50 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-07-01 01:48:50 -0500 |
commit | 44a3896a86c33cbca4d239c8bd0fe65c0e83b9d0 (patch) | |
tree | a2e0c6b0163c6c54e518c8e620e431d3784d8b6c /pkg/linux/README.rst | |
parent | b2a00d0ce2db905fe79cf9e7c33411f4f37bb943 (diff) | |
parent | 1e456b0fff46001641a736bc5932314e9d00b1bc (diff) |
Merge branch 'develop' into deb-0.5.3
Diffstat (limited to 'pkg/linux/README.rst')
-rw-r--r-- | pkg/linux/README.rst | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/pkg/linux/README.rst b/pkg/linux/README.rst index 220565ff..f89842d3 100644 --- a/pkg/linux/README.rst +++ b/pkg/linux/README.rst @@ -3,8 +3,38 @@ Files In GNU/Linux, we expect these files to be in place:: - update-resolv-conf -> /etc/leap/update-resolv-conf - resolv-update -> /etc/leap/resolv-update - bitmask-root -> /usr/sbin/bitmask-root polkit/se.leap.bitmask.policy -> /usr/share/polkit-1/actions/se.leap.bitmask.policy + +Bundle +====== + +The bundle will ask for permission to install to a different path. This search +path will be used if the flag ``--standalone`` is set:: + + bitmask-root -> /usr/local/sbin/bitmask-root + polkit/se.leap.bitmask.bundle.policy -> /usr/share/polkit-1/actions/se.leap.bitmask.bundle.policy + +When running with ``--standalone`` flag, the openvpn binary is expected in the following path:: + + leap-openvpn -> /usr/local/sbin/leap-openvpn + +The bundle will use the script ``leap-install-helper.sh`` to copy the needed +files. If you ever want to use it manually to update the helpers or bins, it +needs a ``--from-path`` parameter to be passed to it. This points to a folder +from where all the needed binaries and scripts can be found. + + +Binary hashing +============== + +To be able to update the binaries when needed, the bundles distribute with the +sha256 hash of the packaged binaries for each release. This info can be found +in:: + + src/leap/bitmask/_binaries.py + +That file is generated during the bundling process, by issuing the following +command from the root folder:: + + python setup.py hash_binaries |