Use squashfuse instead of squashfuse_ll

This revert commit 9d73f302f8

squashfuse_ll causes some weird filesystem access issues. For example, some applications are unable to access /usr/share/alsa when the squashfs image mounted with squashfuse_ll.
This commit is contained in:
Kron4ek 2021-04-23 16:29:44 +05:00 committed by GitHub
parent c740c83372
commit 2cef946680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ export working_dir=/tmp/"$(basename "${script}")"_"${USER}"_"${script_md5}"
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
# The size of this script
scriptsize=13785
scriptsize=13776
# The size of the utils.tar archive
# utils.tar contains bwrap and squashfuse binaries
@ -125,7 +125,7 @@ fi
mkdir -p "${working_dir}"
if [ -z "${USE_SYS_UTILS}" ]; then
sfuse="${working_dir}"/utils/squashfuse_ll
sfuse="${working_dir}"/utils/squashfuse
bwrap="${working_dir}"/utils/bwrap
if [ ! -f "${sfuse}" ] || [ ! -f "${bwrap}" ]; then
@ -146,7 +146,7 @@ else
exit 1
fi
if ! command -v squashfuse_ll 1>/dev/null && [ -z "${SUDO_MOUNT}" ]; then
if ! command -v squashfuse 1>/dev/null && [ -z "${SUDO_MOUNT}" ]; then
echo "USE_SYS_UTILS is enabled, but squshfuse is not installed!"
echo "Please install it and run the script again."
echo "Or enable SUDO_MOUNT to mount the image using the regular"
@ -157,7 +157,7 @@ else
echo "Using system squashfuse and bwrap"
sfuse=squashfuse_ll
sfuse=squashfuse
bwrap=bwrap
fi