busybox: fix mount issue
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 17 Apr 2013 13:52:32 +0000 (16:52 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Apr 2013 23:37:57 +0000 (00:37 +0100)
commitd4cadb252610d8f3e8c1c053212de6247f463822
treecbdbd605f9741ff476027e24595634274c19ac9d
parent5393cf7a9b0c84ad23218f595126997e4c6f471e
busybox: fix mount issue

When the mount command is not given the filesystem type to mount, then
it will try all the known filesystems. However, when a filesystem is not
supported by the kernel, the mount function call will return ENODEV.

The following patch, ecd90bc6aa63da2aef2513ac090d4b426b2b719c,
introduced a problem because it bailed out on ENODEV too. Instead it should
have only bailed out on ENOMEDIUM.

[YOCTO #4308]

(From OE-Core rev: 82320d2074572477f26887eddc51dc2a1dfea403)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch