diff options
author | Gunnar Andersson <gandersson@genivi.org> | 2018-05-30 16:19:10 +0200 |
---|---|---|
committer | Gunnar Andersson <gandersson@genivi.org> | 2018-07-27 16:33:10 +0200 |
commit | 90f8589f899e924e3c1a9f167897d1f1c2440b49 (patch) | |
tree | 2cc7651727901de6037f2f1c377ee610830781ad /scripts/rvi_install | |
parent | d63dd1c7c9659a2d99a7f1a4f47906a01f5619ae (diff) | |
download | rvi_core-90f8589f899e924e3c1a9f167897d1f1c2440b49.tar.gz |
Change all paths from /opt to /usr/shareinstall_to_usr
/opt can't be used in an normal OS-tree compatible layout - program
files should now reside under /usr.
/etc/opt/<rvi config files> changed to remove opt which looks
odd there anyway: --> /etc/rvi/<config files>.
Also moved default log location to /run/log/rvi_core because
${target_dir}/log is not adequate when the installation (target) dir
is read-only. Note that /run is non-persistent, so /var/log might be
preferred later.
Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
Diffstat (limited to 'scripts/rvi_install')
-rwxr-xr-x | scripts/rvi_install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/rvi_install b/scripts/rvi_install index 886caa3..ca6990c 100755 --- a/scripts/rvi_install +++ b/scripts/rvi_install @@ -63,9 +63,9 @@ $0 -r root_cert -d device_cert -c credentials \\ Install a built RVI system into a target directory NOTE: The last component of 'taget_dir' must be named 'rvi_core' - Example: /opt/rvi_core + Example: /usr/share/rvi_core --l log_dir - Log directory. Default: ${target_dir}/log. +-l log_dir - Log directory. Default: /run/log/rvi_core (not permanent) -s prefix_strip - See below. Default: nil. @@ -178,7 +178,7 @@ EXAMPLE INSTALLATION -r priv/certificates/insecure_root_cert.crt \\ -d priv/certificates/insecure_device_cert.crt \\ -c priv/credentials/insecure_credential.jwt \\ - /opt/rvi_core + /usr/share/rvi_core WARNING: This example installation will provide no protection @@ -307,7 +307,7 @@ done # if [ -z "${LOG_DIR}" ] then - LOG_DIR=${TARGET_DIR}/log + LOG_DIR=/run/log/rvi_core fi # Wipe old target dir. |