From 7aa5f9e538ffe62ca16bb305d3fb5276443817c1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Jun 2011 15:59:59 +0200 Subject: fix remount nfsroot bug --- package/busybox/patches/009-nfs-remount.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/busybox/patches/009-nfs-remount.patch (limited to 'package/busybox/patches/009-nfs-remount.patch') diff --git a/package/busybox/patches/009-nfs-remount.patch b/package/busybox/patches/009-nfs-remount.patch new file mode 100644 index 000000000..e15de1a5a --- /dev/null +++ b/package/busybox/patches/009-nfs-remount.patch @@ -0,0 +1,13 @@ +diff -Nur busybox-1.18.4.orig/util-linux/mount.c busybox-1.18.4/util-linux/mount.c +--- busybox-1.18.4.orig/util-linux/mount.c 2011-03-13 02:45:40.000000000 +0100 ++++ busybox-1.18.4/util-linux/mount.c 2011-05-15 03:12:40.000000000 +0200 +@@ -1129,6 +1129,9 @@ + continue; + case 20: // "addr" - ignore + continue; ++ case -1: // unknown ++ if (vfsflags & MS_REMOUNT) ++ continue; + } + + val = xatoi_positive(opteq); -- cgit v1.2.3