mirror of
https://github.com/Kron4ek/Conty
synced 2024-11-16 19:50:06 +01:00
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:
parent
c740c83372
commit
2cef946680
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue