qemu-native: depends on libxext-native when enable sdl

Fixed do_configure error:

ERROR: User requested feature sdl
       configure was not able to find it.
       Install SDL devel

The error message from log.do_configure, and if we check config.log, the
error is:

sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords'

The _XEatDataWords is provided by libX11.so, the dependencies are:

qemu-native -> sdl(from the host) -> libXext.so(maybe host or native) -> libX11.so (maybe host or native)

For example on Ubuntu 12.04 x86_64, the link route is:

qemu-native's do_configure sdl checking:
/usr/lib/x86_64-linux-gnu/libSDL.so --> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 --> /usr/lib/x86_64-linux-gnu/libX11.so

So it is:
host sdl -> sysroot libXext.so.6 -> host X11.so

qemu-native doesn't depend on libxext-native, so the error would happen
if the libx11-native is being rebuilding and the host's libX11.so
doesn't have _XEatDataWords.

Manually reproduce it on Ubuntu 12.04 x86_64:

$ bitbake qemu-native libx11-native libxext-native
$ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native

Note, only qemu-native has this problem since libxext depends on libX11,
and SDL would depend on libxext when x11 is enabled.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_manager.py: enable smart non-interactive mode

package_manager.py: enable smart non-interactive mode

Added --quiet option to smart command line.
Without this option smart 1.4.1 turns into interactive mode, i.e.
start asking questions and expecting answers.

Change-Id: I5b389a0e79b39d702feb46a48ad1f230b697f981
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_manager.py: add rpm v.4 support

package_manager.py: add rpm v.4 support

Detect rpm version by parsing rpm --version output.
Create log and DB_CONFIG only for rpm v.5
Explicitly initialize rpm database by running
rpm --initdb for rpm v.4

Change-Id: I3f98c0bd6a593c771453fe3599517aef1f704bd4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_manager.py: add configuration option RPM_CHECK_SIGNATURES

package_manager.py: add configuration option RPM_CHECK_SIGNATURES

rpm signatures check is enabled by default or if environment
variable RPM_CHECK_SIGNATURES set to 1.
Setting this variable to 0 disables signatures check.
This is done by running config --set rpm-check-signatures=false

Change-Id: I6078b4ba3069c0bfdd6f58c0ec27482e2915cb64
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>