Commit Graph

27747 Commits

Author SHA1 Message Date
Corneliu Stoicescu c97d01d5b5 oe-selftest: Patch sstate tests to work with new sstate-cache naming and content
Made modifications to account for:
- .siginfo files present in sstate-cache from non sstate-enabled tasks
- new naming format for sstate files

(From OE-Core rev: d23ad4255ad7465383286fa7805392aa70845ace)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:11 +00:00
Robert Yang 13c016e013 tcl: fix the TCL_INCLUDE_SPEC
We have moved the header files to ${includedir}/tcl${VERSION}, but we
didn't fix the TCL_INCLUDE_SPEC which is still ${includedir}, it should
also be ${includedir}/tcl${VERSION}

Note: this commit modifiey alter-includedir.patch, so it doesn't look
very clear, I only fixed one line in both configure and configure.in:

-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""

The other changes are because I use git to create the patch while the
previous one uses svn.

[YOCTO #5732]

(From OE-Core rev: a263281d9c774a03cce76caa3cc477cc85a9c2a9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:10 +00:00
Richard Purdie 6644dac5d1 opkg/opkg-utils/chkconfig: Clean up u-a-cworth references
Catch some u-a-cworth references that slipped through the move of u-a
to opkg-utils and its rename to -opkg.

(From OE-Core rev: a9ff0bbac5ae0688525c71f0a358f0750a277269)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:10 +00:00
Richard Purdie 11cff9446f update-alternatives: We now use u-a in nativesdk so make sure the dependency is present
When update-alternatives was part of opkg which got built in most nativesdk
scenarios, this missing dependency wasn't an issue. We now need nativesdk-opkg-utils
so we need to ensure the dependency is present in nativesdk cases.

This avoids build failures with the recent u-a move to opkg-utils.

(From OE-Core rev: 7e0adf676da45e49287b7ce6478a6dbfd8fa117f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:10 +00:00
Bruce Ashfield 6ed41e2523 linux-yocto-dev: bump version to 3.13+
(From OE-Core rev: 0e0307a23d50b2a0efd228e7e99baabc980ab9de)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:10 +00:00
Stefan Stanacar bf7383de87 lib/oeqa: allow a layer to provide it's own TEST_TARGET class
Allows a layer to define new classes in <layer>/lib/oeqa/utils/controllers.py
and completely control or extend deployment of a target. (core currently
has QemuTarget and SimpleRemoteTarget).
The value of TEST_TARGET must be the name of the new class.

(From OE-Core rev: 9b81aff0aca42353d448b1e9522f89842e23c7b2)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:09 +00:00
Laurentiu Palcu 650ee5e275 x11vnc: fix CAPS_LOCK issues
Currently, pressing CAPS_LOCK on the viewer changes the lock state on
the server and the key will not change the case.

To fix this, use -skip_lockkeys option to ignore all Caps_Lock,
Shift_Lock, Num_Lock, Scroll_Lock keysyms received from viewers, in
order to leave the lock state on the server side unchanged. However, the
keys will appear correctly on the remote side.

[YOCTO #4149]

(From OE-Core rev: 1e06d5ce83439b5bd75a958f305e6a880d40333d)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:09 +00:00
Andreas Müller fa9f89c1e0 weston: depend on drm for 'launch' packageconfig enabled
configure fails with:

| configure:15654: checking for WESTON_LAUNCH
| configure:15661: $PKG_CONFIG --exists --print-errors "libdrm"
| Package libdrm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libdrm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libdrm' found
| configure:15664: $? = 1
| configure:15678: $PKG_CONFIG --exists --print-errors "libdrm"
| Package libdrm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libdrm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libdrm' found
| configure:15681: $? = 1
| configure:15695: result: no
| No package 'libdrm' found
| configure:15711: error: Package requirements (libdrm) were not met:
|
| No package 'libdrm' found

and configure.ac says:

| if test x$enable_weston_launch == xyes; then
|  PKG_CHECK_MODULES(WESTON_LAUNCH, [libdrm])

(From OE-Core rev: 6d0625a5a2ddd34760b2f85366810f20ad4ea15e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:09 +00:00
Paul Barker c76bf26d31 opkg: No longer PROVIDES update-alternatives
The new provider is the opkg-utils recipe.

(From OE-Core rev: c63d241d15608ac431a1d716ec84ef568928cf85)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:09 +00:00
Paul Barker ab5bea71e2 default-providers: Change update-alternatives provider to opkg-utils
This allows dependencies to be added to the opkg recipe without causing circular
dependency loops. As opkg-utils has minimal dependencies it is the best recipe
to provide update-alternatives.

This partially solves Yocto Project issue 4836. More work is still needed for a
complete solution.

(From OE-Core rev: 2f18289493f9c2c67ba343fb8e16743bf5dfee24)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:08 +00:00
Paul Barker 6de62813bf opkg-utils: Upgrade to latest git HEAD
The latest version of opkg-utils PROVIDES virtual/update-alternatives via a
script copied from opkg, packaged as update-alternatives-opkg.

The nativesdk class is added to the recipe to ensure that
nativesdk-update-alternatives-opkg is built.

(From OE-Core rev: 1e2c38ce13f8e4b25d8656d237343380cbc970aa)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:08 +00:00
Alexandre Belloni cac6f8148a wpa-supplicant-2.0: don't exit in pkg_postinst
Exiting explicitly in pkg_postinst makes it impossible to use the
update-rc.d class in a .bbappend because the link creation is appended
to the pkg_postinst script.

(From OE-Core rev: 758d53d3044f29f3c33ffee3ada88c9edc9f864f)

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:08 +00:00
Ross Burton e036f2af90 glib-2.0: fix mapped file ptest
The mappedfile ptest was attempting to write into directories that may not exist
on a non-Sato image.  Instead, write into TMPDIR.

(From OE-Core rev: 93b4ecc263947826421d5b4fb1f99fe506b24287)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:08 +00:00
Ross Burton 49eaa0fcff glib-2.0: fix the dbus-appinfo test when running outside of X
This test was attempting to connect to a session bus and hanging if it couldn't.
Take a patch from upstream to correctly use a private bus.

[ YOCTO #5696 ]

(From OE-Core rev: 12e30b653899567312a7ec29b6e972c85ba8e25e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:07 +00:00
Robert Yang 6dcc4e7ded bitbake: fetch2/__init__.py: let try_mirror_url return correct value
The fetcher will try:

1) PREMIRROR
2) Upstream
3) MIRROR

If it fails to download from the Upstream, but succeeds from the MIRROR,
and ud.localpath != origud.localpath (for example, the git tarball),
then we will get the error (e.g.: xf86-video-omapfb):

ERROR: Function failed: Fetcher failure for URL: 'xxx'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /path/to/log.do_fetch.28024

It should not show the error and let the build go on since it succeeds.
(e.g.: xf86-video-omapfb)

[YOCTO #5686]

(Bitbake rev: c08ca1e4eeb04f78e1354780cf5a4c3855e49572)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 13:06:21 +00:00
Martin Jansa 5e5a7fc37c bitbake: SignatureGenerator: Add empty implementation for dump_sigs
* bitbake -S throws exception when 'noop' signature handler is used

[YOCTO #5738]

(Bitbake rev: 53352e8d388b7fc4da73f95b93dcc087e76d0426)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-18 23:29:07 +00:00
Richard Purdie 7b580cd25c bitbake: fetch2/gitsm: Use ud.basecmd instead of hardcoding git
This allows FETCHCMD_git to override the fetcher command as the git fetcher does.

[YOCTO #5717]

(Bitbake rev: 23ab943be3a33077d6ad8be68bba53cd1e2270b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-18 23:29:07 +00:00
Martin Jansa a99fa6ded1 bitbake: fetch2: Don't allow '/' in user:pass, fix branch containing '@'
* currently decode_url regexp parses branch=@foo as username so it ends like this:
  - ('git', '', 'foo', 'git.openembedded.org/bitbake;branch=', '', {})
  + ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'})
* http://hg.python.org/cpython/file/2.7/Lib/urlparse.py also assumes
  that there is at least one '/' as separator between netloc and path,
  params, so it looks reasonable to prevent including '/' in username

(Bitbake rev: 2c82742114091cb55055328b54223686816582f2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-18 23:29:07 +00:00
Richard Purdie 19c75e92a1 bitbake: siggen: Remove fsync that is causing performance issues
This fsync was added for belt and braces protection for things like sstate
on NFS. To be honest, it probably doesn't buy much, if the rename isn't
atomic, all bets are off anyway and there are bigger issues to worry about.

The issue is that at the end of every task, the dump_sig() code is triggered
to save out information about the task and this was triggering an fsync(fd).

Whilst it may select the file descriptor, on file systems like ext4, it will
require large parts of the journal to be written out so it can have
significant impact. latencytop showed an average fsync() call overhead of about
2s and if that happens for 5000 tasks, the time mounts up. This blocks the next
task execution by that time.

We therefore drop the fsync since in reality its causing problems and is unlikely
to buy much.

(Bitbake rev: 46fd841319479f6079d850b3813e64bd8c2680a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-18 23:29:07 +00:00
Corneliu Stoicescu cfd1520b4b oe-selftest: separated the SStateBase and SStateTests in different modules
- SStateBase now has its own module to be imported by itself by other modules like sstatetests.py

(From OE-Core rev: 8163854adf87ac42a8f08ee25685d0ce1efb4724)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:18:52 +00:00
Corneliu Stoicescu 9229f25322 oe-selftest: renamed sstate.py module to sstatetests.py
(From OE-Core rev: 91115cf06b009427a444abfd4cf0317ae5215c6b)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:18:52 +00:00
Corneliu Stoicescu 31b8c56033 oe-selftest: New object SStateBase cut off from SStateTests.
- SStateBase object contains basic methods used to run sstate related tests
- SStateTests now contains only sstate-related tests

(From OE-Core rev: 78e929bbcdce1f9a544b230433b93f4fc1f841e2)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:18:51 +00:00
Matthieu Crapet f1f0787cd4 util-linux: add reset.1 manpage in update-alternatives
Adding "doc-pkgs" to IMAGE_FEATURES (in an image recipe) reports a conflict with reset.1 file, present both in util-linux and ncurses-doc packages.

<log>
| Collected errors:
|  * check_data_file_clashes: Package util-linux-doc wants to install file /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/rootfs/usr/share/man/man1/reset.1
|       But that file is already provided by package  * ncurses-doc
|  * opkg_install_cmd: Cannot install package util-linux-doc.
| WARNING: /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/run.do_rootfs.13877:1 exit 255 from
|   opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version install `cat $1`
| ERROR: Function failed: do_rootfs (log file is located at /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/log.do_rootfs.13877)
</log>

Same issue already occured few months ago:
Re: [OE-core] Clashing man pages
https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg38590.html

(From OE-Core rev: 67499dbffd0f7241fd199b7fb94edfe2cebe8a9b)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:49 +00:00
Krzysztof Sywula e917b074d6 initrdscripts: add $CMDLINE to init-live switch_root
init-live.sh: $CMDLINE variable should be provided to switch_root
to let user specify runlevel on grub command line.
Feeding with -c /dev/console as well as busybox switch_root enables that option.

(From OE-Core rev: 5a2f4feeaac4f9278fa0cf808c2f495f0c19324f)

Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:48 +00:00
Richard Purdie e4319b6dd0 package_rpm: Fix a race with package_deb/package_ipk
We have the odd situation where the CONTROL/DEBIAN directory can be removed
in the middle of the walk, the isdir() test would then fail and the walk code
would assume its a file hence we check for the names in files too.

This resolves the autobuilder failure:

error: File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN

RPM build errors:
     File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN

(From OE-Core rev: e38d7702be279d6d6d4c79b3f2379e689a7473d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:48 +00:00
Andrew McDermott fd291d0120 alsa-lib: remove hard-coded /usr/include in dev package
Specify the location of the alsa headers using ${includedir}. Without
this no headers get added to the image when the alsa-lib-dev package is
included.

(From OE-Core rev: 720d30aa5f0745185fc948376ce284cc17f0edb0)

Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:48 +00:00
Saul Wold 527ad1cabb linux-firmware: add firmware for additional iwlwifi devices
(From OE-Core rev: 3654d1383cc71389d84e063baf2ecf505cd8b9a3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:48 +00:00
Laurentiu Palcu f6e170f169 nativesdk-packagegroup-sdk-host: reverse inherit order
Currently, tow successive toolchain builds for different hosts, will
issue a warning:

WARNING: The recipe nativesdk-packagegroup-sdk-host is trying to install
files into a shared area when those files already exist. Those files and
their manifest location are:
   /ssd/work/yp1/build/tmp/deploy/ipk/all/nativesdk-packagegroup-sdk-host_1.0-r11_all.ipk
   Matched in manifest-x86_64-nativesdk-packagegroup-sdk-host.package_write_ipk
Please verify which package should provide the above files.

That's because packagegroup is manually inherited after nativesdk which
is usually a BBCLASSEXTEND operation, done last.

[YOCTO #5396]

(From OE-Core rev: 7621a40d24f3e53b373f233e070894e4afc2b4b2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:47 +00:00
Laurentiu Palcu 63cde72515 allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"
allarch packages shouldn't use these variables.

[YOCTO #5396]

(From OE-Core rev: c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:47 +00:00
Ross Burton e665db7f0f glib: add missing dependencies for ptest
Some of the GLib tests that we run under ptest are missing runtime dependencies.

iochannel-test needs the EUC-JP encoding.

convert needs the ISO-8859-1 and ISO-8859-15 encodings.

contenttype needs shared-mime-info.

Add these to the RDEPENDS so that these tests pass.

[ YOCTO #5696 ]

(From OE-Core rev: 7b6316093ab28782edd45084d43dbd5c309be7c8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:47 +00:00
Andreas Müller e927fdfb04 weston: cleanup mesa depends
* do not depend by default
* depend on virtual/mesa instead of mesa

(From OE-Core rev: d8d02cb15f9d64f0e773223965e3ff6b6ae0874f)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:47 +00:00
Bruce Ashfield e7f8537d5f linux-yocto/3.10: mohonpeak bsp config and scc files
(From OE-Core rev: 9f086987f995729235601281161858d851b8df72)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:46 +00:00
Bruce Ashfield a166c2e035 linux-yocto/3.10: update to 3.10.25
Updating the 3.10 tree to the 3.10.25 korg -stable release.

(From OE-Core rev: 85ec7e0bb1306b3ac3506627a3aa04a42c0ec180)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:46 +00:00
Bruce Ashfield 5d90065858 linux-yocto/3.10: update meta data for media fragments
Updating the meta SRCREV to import the following changes:

   d9cd83c0292b remove old MEDIA config fragments
   06b76256d7e2 common-pc-standard.scc: Enable USB webcam support
   acb8b43837d8 common-pc-64.scc: update as per changes in the media config fragments
   5513fd2ad72a minnow-standard.scc: Enable media features
   172ba799bedc media-all.scc: A feature including all the media features
   1a7e1d3a292e media-platform: A feature for platform media devices
   03c48dacbb9a media-dvb-frontends : A feature for Digital Video Broadcast Devices
   59b92b9d6c72 media-usb-tv: A feature for USB TV media adapters
   5ec0709b1fed media-tuners: A feature for media tuner devices
   356dc83e39f3 media-rc: A feature for remote control media devices
   89d96cf9d574 media-radio: A feature for AM/FM radio devices
   3dd2ebeaf49b media-pci-capture: A feature for PCI media capture devices
   9ee0e95bfc52 media-i2c: A feature for I2C media devices
   28976f4a3e27 media-usb-webcams: A feature for USB media devices
   f8206f4e00b1 media: A feature for media infrastructure
   08bfb248a17f standard.scc: Add firmware loading feature
   e567a3d53593 firmware: A feature for firmware loading support

(From OE-Core rev: f4b00c4ddf1efb2a728b7a08b542c9c7254c787f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:46 +00:00
Ross Burton cea75f9c8c ltp: fix makefile race
There is a Makefile dependency race causing occasional build failures:

*** No rule to make target `.../work/core2-poky-linux/ltp/20130904-r0/git/testcases/kernel/include/linux_syscall_numbers.h.23161.sh', needed by `linux_syscall_numbers.h'.  Stop.

This is due to a bad dependency wildcard that is matching more than the one file
it should match, so replace it with a concrete filename.

(From OE-Core rev: 639ecfb578ff926f5deddb984f4f8600e161e22a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 17:26:50 +00:00
Ross Burton 375ac7268d dbus-ptest: fix incorrect option name
(From OE-Core rev: e27aee379c5f254f47daeb2fcb0a4a177740ea01)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 17:26:17 +00:00
Anders Darander 97d7e8689c systemd-compat-units: remove dnsmasq from sysv disabled list
The dnsmasq recipe in meta-networking ships a dnsmasq.service file, that will
correctly override the SysV init script. Thus, as pointed out by Ross Burton,
we should remove dnsmasq from the list.

(From OE-Core rev: 69a8153c55bf74fa6178d6bd65ac8e761c041a0e)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 12:25:21 +00:00
Chen Qi 21b4548661 shutdown-desktop: use poweroff for the Exec field in the shutdown.desktop
Use 'poweroff' instead of 'halt' for the Exec field in the shutdown.desktop.

The purpose of this patch is to make the 'shutdown' icon on on our sato
images work as expected for both sysvinit and systemd images. Previously,
the Exec field was 'halt'. The `halt' command could poweroff the system
in sysvinit images but it only could halt the system in systemd images.
The difference is due to the different implementations of the `halt' command.

In sysvinit, the `halt' command will effective execute `/sbin/init 0'. This
is for the compatibility with sysvinit 2.4, as stated in the comments of the
source code. In systemd, the `halt' command will effectively execute the
reboot(RB_HALT_SYSTEM).

As the 'shutdown' icon is expected to actually shutdown the system, we should
use poweroff instead of halt for its Exec field.

[YOCTO #4347]

(From OE-Core rev: c87d44a079c13a98734f9f726ec1b55d86793f8c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 12:25:21 +00:00
Ross Burton f5b5edd4d8 dbus-ptest: disable systemd
Explicitly disable systemd support so that it isn't a floating dependency and
libsystemd-login doesn't become a runtime dependency on non-systemd images.

Also don't bother setting the systemd unit directory as we're not installing
anything.

(From OE-Core rev: 4f5d00b551e2ee6056ebfc8365a05a5ca8e5d651)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15 12:25:21 +00:00
Richard Purdie e4c23f7bcb dropbear: Refresh pam patch so it applies against recent version
Patch application failed on the autobuilder for pam, this refresh of the
patch should resolve the build failure.

(From OE-Core rev: c4c5ec52effc2ff97ac17270c1aa7884c808f5a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 21:57:22 +00:00
Richard Purdie 253a58c6f3 eglibc-locale: Fix multilib builds to depend on the correct binutils
(From OE-Core rev: 858c60adbcc5e21c585383fe90f6803d52f0807f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 21:49:38 +00:00
Ross Burton ede5dbf568 python-nose: don't install as an Egg
Nose is installed as an Egg by default which we don't want, so change the
inherit to setuptools from distutils to disable the eggification.

(From OE-Core rev: 47a07c42f5f67dcf69f844531f7a527029e6280e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:59:27 +00:00
Richard Purdie 9209641f6f eglibc-locale: Fix previous dependency change to properly work in nativesdk case
(From OE-Core rev: 7a4f3ee1b137cc8465f0cd9b1e461d3643182a81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:54:42 +00:00
Richard Purdie aafc91a217 python-nose: Add BBCLASSEXTEND for native/nativesdk
Without this, nativesdk-python-numpy doesn't build.

(From OE-Core rev: 78711c887520c88d733182a80edac49650a7e94f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:58 +00:00
Phil Blundell 8069a883bd harfbuzz: Move ancillary binaries to ${PN}-bin
The binaries:

-rwxr-xr-x root/root     21956 2014-01-09 19:39 ./bin/hb-shape
-rwxr-xr-x root/root     21504 2014-01-09 19:39 ./bin/hb-ot-shape-closure
-rwxr-xr-x root/root     36520 2014-01-09 19:39 ./bin/hb-view

are not generally useful on target systems.  Also, their presence in the
same binary package as libharfbuzz.so defeats the debian package autonamer.
Inherit lib_package to move these to ${PN}-bin.

(From OE-Core rev: d716f63d5785fa9239497d25bffc5035a9e58d28)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:58 +00:00
Saul Wold e26908ea5f security_flags: db can't use pie flags from gcc for security build
[YOCTO #5721]

(From OE-Core rev: 0cfe254e7eafed27f512216cccfb7fee76fc0be7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:57 +00:00
Ross Burton cfa396ba66 packagegroup-core-tools-testapps: add Piglit
Respect the OpenGL distro feature and if it's enabled, pull in piglit and
mesa-tools.

(From OE-Core rev: cd61c62ed30694eeb82e88e058a3a3e1bfb06f78)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:57 +00:00
Ross Burton a61beff329 piglit: add (from meta-oe)
Piglit is an OpenGL testing tool.  This recipe is taken directly from meta-oe.

(From OE-Core rev: cab8dad6f3b14f21115a765a4e55d38a0f73f337)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:57 +00:00
Ross Burton 971c2e09c6 waffle: add (from meta-oe)
Waffle is needed for Piglit.  This recipe is based on the recipe in meta-oe,
upgraded to the latest upstream 1.3.0.

(From OE-Core rev: 67228f682cb8acc71dd5f8b44af67f529727f780)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:57 +00:00
Ross Burton 4ec992938a python-numpy: add (from meta-oe)
python-numpy is needed for Piglit.  This recipe is taken directly from meta-oe.

(From OE-Core rev: 9bf355cceaec6ebacdcbcc35f9713ff73e1c85da)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14 17:03:56 +00:00