Merge pull request #1312 from fewtarius/dev

Fix systemd build failure - thanks to @CoreELEC for the patch.
This commit is contained in:
fewtarius 2023-04-22 18:15:12 -04:00 committed by GitHub
commit fa3e37111f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,14 @@
ignore sdcardfs from Android Linux
--- a/src/basic/check-filesystems.sh 2022-02-01 21:47:06.181142404 +0100
+++ b/src/basic/check-filesystems.sh 2022-02-01 21:45:58.760989671 +0100
@@ -23,7 +23,8 @@ for fs in $($cpp -dM $includes - </dev/n
# STACK_END_MAGIC doesn't refer to a filesystem
# mtd_inode was removed in 2015
# futexfs was removed in 2018
- if [[ "$fs" =~ ^(STACK_END_MAGIC|MTD_INODE_FS_MAGIC|FUTEXFS_SUPER_MAGIC)$ ]]; then
+ # sdcardfs is Android fs
+ if [[ "$fs" =~ ^(STACK_END_MAGIC|MTD_INODE_FS_MAGIC|FUTEXFS_SUPER_MAGIC|SDCARDFS_SUPER_MAGIC)$ ]]; then
continue
fi
echo "Filesystem found in kernel header but not in $(basename "$filesystems_gperf"): $fs";