build_library: Remove inode look up table feature from squashfs mounts

This changes adds the "-no-exports" option to squashfs mounts in Chrome
OS. This circumvents a change where a gLinux workstation with kernel
5.10.xx < 5.10.27 would fail to mount squashfs mounts due to "unable to
read inode lookup table". The issue has been fixed with kernel commit
c1b2028315c6 ("squashfs: fix inode lookup sanity checks"), but the
workstations are still waiting for a kernel version with this commit.
Since this table is only needed if we need to expose the mount via NFS,
we can safely remove this feature and re-add if required.

BUG=b:186436472
TEST=Build board=tatl would fail before this change.

Change-Id: I18974cab9be0778c7c0b5d262ca6de6c0910d7d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2861972
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Sarthak Kukreti <sarthakkukreti@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Abhishek Bhardwaj <abhishekbh@chromium.org>
Tested-by: Sarthak Kukreti <sarthakkukreti@chromium.org>
Tested-by: Abhishek Bhardwaj <abhishekbh@chromium.org>
Auto-Submit: Abhishek Bhardwaj <abhishekbh@chromium.org>
2 files changed