From f39054355037382028036bfef74665014066797d Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 16 May 2018 22:04:33 +0200 Subject: [PATCH] e2fsprogs: disarm mount-point checks On Noux, these checks are not needed because there is no notion of mount points. --- repos/ports/ports/e2fsprogs.hash | 2 +- .../src/noux-pkg/e2fsprogs/patches/ismounted.c.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 repos/ports/src/noux-pkg/e2fsprogs/patches/ismounted.c.patch diff --git a/repos/ports/ports/e2fsprogs.hash b/repos/ports/ports/e2fsprogs.hash index e4ec7a3660..61c3e1bad1 100644 --- a/repos/ports/ports/e2fsprogs.hash +++ b/repos/ports/ports/e2fsprogs.hash @@ -1 +1 @@ -a6a76f9f5d81f6ac86c9f43d657be0c25ede843d +a65db85fad26a118b92cccf5ca742c1197809be3 diff --git a/repos/ports/src/noux-pkg/e2fsprogs/patches/ismounted.c.patch b/repos/ports/src/noux-pkg/e2fsprogs/patches/ismounted.c.patch new file mode 100644 index 0000000000..0b6cdd9560 --- /dev/null +++ b/repos/ports/src/noux-pkg/e2fsprogs/patches/ismounted.c.patch @@ -0,0 +1,11 @@ ++++ src/noux-pkg/e2fsprogs/lib/ext2fs/ismounted.c +@@ -352,6 +352,9 @@ + { + errcode_t retval = 0; + ++ /* disarm the mount-point check as Genode has no notion of mount points */ ++ return 0; ++ + if (is_swap_device(device)) { + *mount_flags = EXT2_MF_MOUNTED | EXT2_MF_SWAP; + strncpy(mtpt, "", mtlen);