diff --git a/sdk_lib/enter_chroot.sh b/sdk_lib/enter_chroot.sh index 6dd210a65e..a9d12c3f71 100755 --- a/sdk_lib/enter_chroot.sh +++ b/sdk_lib/enter_chroot.sh @@ -273,8 +273,9 @@ function setup_env { fi fi - # Install fuse module. - if [ -c "${FUSE_DEVICE}" ]; then + # Install fuse module. Skip modprobe when possible for slight + # speed increase when initializing the env. + if [ -c "${FUSE_DEVICE}" ] && ! grep -q fuse /proc/filesystems; then sudo modprobe fuse 2> /dev/null ||\ warn "-- Note: modprobe fuse failed. gmergefs will not work" fi