-
Notifications
You must be signed in to change notification settings - Fork 35
Change all paths from /opt to /usr/share #116
base: develop
Are you sure you want to change the base?
Conversation
Build fails on some unit tests. The message don't immediately mention the paths so it can't be understood to be immediately relevant? I'm not sure if these are expected failures (existed already on develop branch, or not?). As far as I can tell, "develop" is the current branch but it's hard to be sure. |
Develop is indeed the active branch. Last build was passing but that was almost a year ago. I'll poke Travis CI on dev to see if the issue is that some references have gone stale |
Unit tests still pass for |
OK, I'll take another look to see what was missed. |
Analyzing who is writing what and where on the GDP image. It seems that RVI core is writing stuff relative to the install path, meaning it saves logs in When we enable libostree Output from
|
I did a simple search/replace so probably an omission. Probably just update paths /usr/share/rvi_share/log (or whatever it is) to /var/log/rvi_core/. Since we're closing this up, that was split up into a sub ticket GDP-795 |
/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 <[email protected]>
Amended to place logs by default in /run/var/logs. More info in commit. |
(Sorry, I pushed the branch on here instead of on a fork. But that can be cleaned up easily...)
Change all paths from /opt to /usr/share
/opt can't be used in an normal OS-tree compatible layout - program files should now reside under /usr.
/etc/opt/ changed to remove opt which looks odd there anyway: --> /etc/rvi/.