Old mksquashfs versions don't support the xattr exclusion that was added to prevent harmless warnings getting printed. To support old mksquashfs versions, gate this behind a version check.
How to use
Testing done
I tested ./create_wasmtime_sysext.sh 4.0.0 wasmtime with a 4.6 version, and for an older version it was also tested
Old mksquashfs versions don't support the xattr exclusion that was added to prevent harmless warnings getting printed. To support old mksquashfs versions, gate this behind a version check.
How to use
Testing done
I tested
./create_wasmtime_sysext.sh 4.0.0 wasmtime
with a 4.6 version, and for an older version it was also tested