Minor fixes prompted by !604
- Nov 06, 2023
-
-
Simon McVittie authored
No functional change, just reducing the size of wrap.c a bit. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Trivial refactoring, no functional change other than saving some g_strdup() (and the resulting strings were never freed). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 02, 2023
-
-
Simon McVittie authored
In practice we never call path_mutable_in_container_namespace() for paths below /usr, because its only caller is pv_runtime_make_symlink_in_container() which has a special case for /usr. /usr is certainly not directly modifiable, other than by having a mutable sysroot that is special-cased to be modified in-place. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Historically we completely ignored errors here, so it's possible that there are valid scenarios where this fails; just log a warning instead of stopping the whole runtime setup. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-