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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package.bbclass: Fix populate_packages for glob expansion issues

If we put a valid glob like "*/foo/*" into FILES, populate_packages
breaks with a "file exists" message. This is because the glob expansion
does not have "./" prefix however there may already be an entry in
the seen list which does have such a prefix. The easiest/simplest fix
right now is to add the prefix if it doesn't exist which only happens
for certain globs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pcmciautils: Use pkgconfig to set udev variables correctly

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bluez4: Set udev variables using pkg-config

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pulseaudio: Set udev variables using pkg-config

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
udev: Effectively revert the move to /sbin

This effectively reverts the changes made in b49ddeb11c0319b7ece278fd7cef6b0223114ca9
to move udev's libexecdir to sbin. The changes caused too many issues in
other plaves and were not well enough tested this close to a release.

Rather than use base_libdir, the nonarch version is used to try and give some
chance of multilib not being totally broken in the release.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagegroup: Add init-manager sanity check

Currently, you can set VIRTUAL-RUNTIME_init_manager to an init system that
isn't in DISTRO_FEATURES. This leads to head scratching over unbootable images.

This adds a sanity check which ensures more valid systems are built.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>