23c6e2e53a
/etc/ld.so.cache doesn't exist on musl systems, which makes the bwrap command fail. Users will have to remove the "failed generation" cache from ~/.cache/thumbnails/fail/ for nautilus to reattempt thumbnail generation of previously visited directories. Upstream issue: https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/117 Seems to be the direction upstream is moving in as well: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/107 Fixes #29767.
13 lines
566 B
Diff
13 lines
566 B
Diff
diff --git libgnome-desktop/gnome-desktop-thumbnail-script.c libgnome-desktop/gnome-desktop-thumbnail-script.c
|
|
index cfbbad0..efad40b 100644
|
|
--- libgnome-desktop/gnome-desktop-thumbnail-script.c
|
|
+++ libgnome-desktop/gnome-desktop-thumbnail-script.c
|
|
@@ -532,7 +532,7 @@ add_bwrap (GPtrArray *array,
|
|
add_args (array,
|
|
"bwrap",
|
|
"--ro-bind", "/usr", "/usr",
|
|
- "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache",
|
|
+ "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache",
|
|
NULL);
|
|
|
|
/* These directories might be symlinks into /usr/... */
|