Skip to content

thumbnail: Handle non-usrmerged systems and non-existing directories

Iain Lane requested to merge wip/iainl/non-usrmerge into master

On systems where /usr-merge hasn't been carried out, /bin (etc) won't point to /usr/bin. In that case we should --ro-bind the directory instead of --symlinking it.

This implements the suggestion from Simon McVittie on https://bugzilla.gnome.org/show_bug.cgi?id=787072.

It also handles source directories not existing, which for example /lib64 won't on 32-bit systems.

Closes: #4 (closed) Closes: #89 (closed)

Edited by Iain Lane

Merge request reports