summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* python: skip setup.py 'import check' when cross-compilingTom Zanussi2012-01-302-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build_extension() in setup.py, as part of the build process, does an 'import check' on the built extension. The import check in turn dlopen()'s the shared library associated with the extension, which isn't something that makes sense if that library was cross-compiled for a different architecture. This was noticed with an x86_64 target that was compiled with avx support, because it caused 'illegal instruction' exceptions: | /bin/sh: line 1: 14575 Illegal instruction ... -E ./setup.py -q build For other target architectures, it doesn't necessarily cause illegal instruction exceptions, but still fails. For example, on arm, the failure pathway causes this warning: *** WARNING: renaming "cmath" since importing it failed: .../cmath.so: wrong ELF class: ELFCLASS32 This patch to setup.py and the associated recipe changes allow the whole 'import check' logic to be skipped when cross-compiling. (From OE-Core rev: 25fae81538a92e15eab3fc169ebce44505f67839) (From OE-Core rev: d83e4ac25cca788d2b102c2072ccb367c0cab284) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libzypp: fix mishandling of hyphenated archesTom Zanussi2012-01-301-4/+4
| | | | | | | | | | | | | Several hyphen-to-underscore translations were missing, causing compiler errors trying to build arches with hyphens in their names. This adds the missing translations. (From OE-Core rev: 5be9785f344ec4d7580f7ec68e29dba9fceb0a0a) (From OE-Core rev: 69f45c6e9f28aae2ba84aea87a6ed096800ed685) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CCTom Zanussi2012-01-301-1/+2
| | | | | | | | | | | | | | | | | | CC_FOR_BUILD was compiling the test programs using the target's compile options and executing those on the host, causing errors such as: /bin/sh: line 1: 15032 Illegal instruction ./gen-bases table 64 0 > mpn/mp_bases.c /bin/sh: line 1: 15033 Illegal instruction ./gen-bases header 64 0 > mp_bases.h Export CC_FOR_BUILD using BUILD_CC to fix the problem. (From OE-Core rev: 68cca5ca15cbdd53748ec130fb6f20cbb3fb5072) (From OE-Core rev: 6ce3482c0f50b95d1d60d3c9250a9ab38fca76fe) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files/device_table-minimal.txt: add /dev/kmsgOtavio Salvador2012-01-301-0/+1
| | | | | | | | | (From OE-Core rev: 1a340471694204937981513dee4cc24bc2dc6f7e) (From OE-Core rev: 535f7e52b02b6434fca5265eba8d366f483ce33c) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: fix sstate for native packageOtavio Salvador2012-01-302-4/+13
| | | | | | | | | | | | The 'lib' option needs to be given on target and native builds otherwise it installs the binaries at ${libdir}64 when host is 64bit. (From OE-Core rev: f768ef66c107410d4e81a69543d41910bbc6a26e) (From OE-Core rev: 76be81b5b0f56536dd36e800bc3f597aeea6d8ef) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: handle nativesdk caseEric Bénard2012-01-301-3/+9
| | | | | | | | | | | | | | | | | * without this patch, building dbus-nativesdk leads to a missing dependency on 'base-passwd-nativesdk' This was added by commit 46e6c3fa8034b12d178d605f3f5d7efe69671a13 * this patch handle the nativesdk case in the class useradd * close bug 1702 http://bugzilla.pokylinux.org/show_bug.cgi?id=1702 * v2 from Scott Garman with Richard Purdie's tricks (From OE-Core rev: 140a3507fb5c14cd9bcebe4304f491aa1c5c47a2) (From OE-Core rev: 79d5ce46b4d73e5ed39c509ce872e99e6bcb94ee) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Drop MULTILIB_IMAGE_INSTALLDongxiao Xu2012-01-306-41/+42
| | | | | | | | | | | | | | | | | There should just be a single IMAGE_INSTALL variable. If the package backends need this split into different multilib components they should be responsible for doing this, not the user. This commit removes the MULTILIB_IMAGE_INSTALL variable. [YOCTO #1564] (From OE-Core rev: 7736862a74c92fe1afe42e170822be13117575c2) (From OE-Core rev: 4889865934d590bf18d9f8f8ec3b63ce992cd4c5) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* contacts: fix packaging of iconsJoshua Lock2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: 1f4028337d5e288e239f44ef34e1d707b785273e) (From OE-Core rev: 8bc45d72d3211df9ca846c775524176308027aea) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gypsy: fix packagingJoshua Lock2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: 3c272ce9df811281029d028e96ab6bc644645592) (From OE-Core rev: 28c22b7d7cdbea39fca5867f14c22f75f7749183) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcanberra: add libvorbis to DEPENDSJoshua Lock2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: 531151fdeba3779ba6f0976fc08aa8da483600f7) (From OE-Core rev: 05f10a527099d22eb87614013e01c420bdafaf16) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: fix install for virtclass-nativesdkEric Bénard2012-01-301-0/+4
| | | | | | | | | | | | | | | | * 46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install which now fails for nativesdk (chown messagebus leads to no such user) * tested by building meta-toolchain-qte and running the generated sdk (From OE-Core rev: 5818a885df489f4bc9579d17c6b0efa7777f5ccc) (From OE-Core rev: 7984cc2fec3179da2e1f8f3bbffca9e7e21a3788) Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: fix how RDEPENDS is setupScott Garman2012-01-301-1/+5
| | | | | | | | | | | | | | Fix bug where only packages named PN included base-passwd in RDEPENDS. This fixes [YOCTO #1727] (From OE-Core rev: 2c55d51afd71d708a54afc8377e10c4f80f810e3) (From OE-Core rev: 213d31f24d911a10132ddcd75f50363a80c4dc2e) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded usersMartin Jansa2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: 2260b18590416940eec26aaf3d68e510ceff8d31) (From OE-Core rev: 3aa933cf91cf788246f13966471a9be6e0bc1931) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: split to more packages, as meta-openembedded doesMartin Jansa2012-01-301-1/+5
| | | | | | | | | (From OE-Core rev: 8720e063c7b43c278b3bb406b45390ed03f8ac96) (From OE-Core rev: 0f495eca8737a71ade6e1b5ca0fcbddf3b22181a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: add patch from meta-openembedded to fix pkg-config fileMartin Jansa2012-01-302-0/+18
| | | | | | | | | (From OE-Core rev: 72227178bc74d6e2e24f8df6176c3d45b640e860) (From OE-Core rev: 64aab9609e23cdaa662cf544a31de5e879958e31) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and ↵Martin Jansa2012-01-303-37/+8
| | | | | | | | | | | merge with fix-makefile.patch (From OE-Core rev: a4882cd6f98c5b3df80ba96536d94d9f556f77a2) (From OE-Core rev: 69701f7eaec6405fe2208d2412aebaf2db5ce606) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types bbclass: use 4k bytes per inode so we don't run out of space ↵Koen Kooi2012-01-301-5/+5
| | | | | | | | | | | | | immediately genext2fs only creates the minimum number of inodes, after this patch it will scale with the rootfs size (From OE-Core rev: c31cb0bdc5a61d2d9f21a2cea34c3d8ac3b47cb9) (From OE-Core rev: 41d1091e6b821404eeb73a7c363537c2835558d3) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcense.bbclass: fix OpenSSL mappingMartin Jansa2012-01-302-2/+2
| | | | | | | | | | | | | | | [YOCTO #1712] (From OE-Core rev: 56799ebcb5c55a7fc75458fc2be2e69a67e8fd21) (From OE-Core rev: efb4527ff527d3e465df2a21fdfda110542b70b5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Fixed YOCTO bug format and location Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tslib: fix the bug with loading libts-1.0.soDmitry Cherukhin2012-01-302-1/+59
| | | | | | | | | | | | | Touchpad did not work in the qtdemoE if the library libts-1.0.so was not loaded manually using the LD_PRELOAD variable. This problem was fixed in the tslib mainline https://github.com/kergoth/tslib after the 1.0 release. We just import the patch. (From OE-Core rev: 0ba6d91dc527908740890c896b834e7216b0d2fb) (From OE-Core rev: cf9fbfcb65c09d70613eb6ab87e0b9121cfcc34c) Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-164: Update init script to do an explicit add actionKumar Gala2012-01-302-3/+3
| | | | | | | | | | | | | | | | With udev 152 or greater the default action for 'udevadm trigger' was modified to be 'change' instead of 'add. To ensure initial coldplug events at boot are seen be scripts the are expecting them as 'add' events we invoke udevadm with an explicit '--action=add'. (From OE-Core rev: eacafd21999ab37b60af29dc3e626c441716ef66) (From OE-Core rev: c90e1c91efc721eb6910cd3244b7671b63a341b6) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildstats: Fix for buildstats on tmpfsElizabeth Flanagan2012-01-301-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | tmpfs/encryptfs/(and most likely, but not confirmed)ramfs TMPDIRs cause diskstats to choke. No device entry ends up in /proc/diskstats for these fs types, which ends up causing the failure. The short term solution is to exclude these fs types from diskstat collection. Longer term we will want to see if we can collect meaningful diskio for each of these, and other, use cases, but for this cleans up Bug 1700. [YOCTO #1700] (From OE-Core rev: 2b14046c12855b6f484ba5bd6bc0a8022de6873e) (From OE-Core rev: e0d26e0e1dfb9d35d71f20488c16f3cea3da862e) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Corrected YOCTO bug location and format Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Ensure we fully reautoconf the recipes so site data is usedRichard Purdie2012-01-302-7/+13
| | | | | | | | | | | | This ensures bug 487 (missing job control functionality) really gets fixed. [YOCTO #487] (From OE-Core rev: 08b78066bd5a9ff2819a42eb4263ee0a78cddb97) (From OE-Core rev: cf9d3140a9dae5bdc6145ae04a729f4775ae66a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk bbclass: special-case base-passwd preinst to run firstKoen Kooi2012-01-301-0/+6
| | | | | | | | | | | Preinst are run alphabetically which breaks when e.g. avahi-daemon needs /etc/passwd present. (From OE-Core rev: d6793165feb26c51b5f19ad1e6d1a4099878e879) (From OE-Core rev: 0485c362ac6ee0a3e310de078d7a202b961fed11) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix useradd race conditionKoen Kooi2012-01-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avahi doesn't work at boot because of: + sh /OE/../rootfs/var/lib/opkg/info/avahi-daemon.preinst Running useradd commands... grep: /OE/../rootfs/etc/passwd: No such file or directory That is due to: Package: avahi-daemon Version: 0.6.30-r9.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), libexpat1 (>= 2.0.1) After this patch: Package: avahi-daemon Version: 0.6.30-r10.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), shadow, libexpat1 (>= 2.0.1), base-passwd This also changes ${PN}-daemon to avahi-daemon to be consistent with the PACKAGES/FILES lines below (From OE-Core rev: f01fbc17b5d9bf9a227d64fe858014376cd19432) (From OE-Core rev: 9d0b21f0723fda0e0d287788eb79d3a70b12f949) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: ensure that the useradd shell is set to /bin/falseSaul Wold2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: 899efe6bf17a31d842ff2f65704d4858892496d4) (From OE-Core rev: 7d6ba259603ebcb1c08c1ac7b77f8b482e77b6d5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Use useradd to add the xuser for DBusSaul Wold2012-01-302-2/+7
| | | | | | | | | | | | | | | | | | | | | | Connmand needs to start as the xuser as defined in the dbus configuration and needs to share this with rootless X. Since it's possible for connmand to run on a sytem without rootless X we still need to create the user here. Useradd will fail gracefully if the user already exists. Fixes: [YOCTO #1699] (From OE-Core rev: 8139ac9284031e00d6b268210b04b57670d9268a) (From OE-Core rev: 835ab34adb6acf562e37db99a1dd24f7b8bd95ec) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-connectivity/connman/connman_0.75.bb
* xserver-nodm-init: Use useradd to add the xuser for rootless XSaul Wold2012-01-301-18/+10
| | | | | | | | | | | | | | This also address an issue with dbus and connman, since connmand needs to start as the xuser in the rootless X situation. Fixes: [YOCTO #1699] (From OE-Core rev: 6823a32035de5d0bcd82a3b41a6ad536aaddbc58) (From OE-Core rev: 26573a84583793f64979100c2b89a95146d38dd1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: use useradd to create avahi user for avahi-daemonSaul Wold2012-01-301-7/+9
| | | | | | | | | | | | | | | | | DBus was failing to start correct since the avahi user was not setup. Keep the dbus reload since this could still be installed as a package an would require a dbus restart. Fixes: [YOCTO #1699] (From OE-Core rev: f0bfecc8a0af1c4c76a37a9c88f334ab6ae7e7ef) (From OE-Core rev: 925c7cd5c3ff44a4d0f2c71d0029998bfd00db48) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix the packaging of libgudevHolger Hans Peter Freyther2012-01-302-3/+3
| | | | | | | | | | | | Make the libgudev so go to the libgudev package, this is already fixed in meta-oe. (From OE-Core rev: 43ac43d7c7245e9aa2bfc8572c2620074d1e2a25) (From OE-Core rev: 3890186dda8db3978f18c05099a6f327c122cc1d) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Ensure localstatedir is added to the packageRichard Purdie2012-01-302-2/+4
| | | | | | | | (From OE-Core rev: dc0d004fd23f686591281eb1d700327ea15d1c54) (From OE-Core rev: 3de19d01402aa7fdee28df2e1066987c14c17a78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix various problemsRichard Purdie2012-01-301-6/+27
| | | | | | | | | | | | | | | | | | | | | | Before this change: a) Ownership and permissions of files copied from packages to package-split could get lost during the copy process. This change ensures they are preserved. b) Ownership and permissions of directories could also get lost. Most of the complexity in this patch is addressing this problem ensuring newly created directories match the source ones being copied. c) There was no warning about directories being created but not shipped by any package. This patch fixes all of the above issues. (From OE-Core rev: 6021e309e69d823e1467648aee12a32182945569) (From OE-Core rev: 5f9228b32c243ae499398763ce7c90b776dc9d24) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Use $D not ${D} in the postinstallRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | We need to do this as we don't want bitbake to expand the variable but use the shell variable instead. (From OE-Core rev: 509a8a9ea428debf3ff2115fcff0aa89d0239ced) (From OE-Core rev: dcf118e9dfd15f7cf535c9918a6fcad9f9121ff4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: Add missing glib-2.0 dependencyRichard Purdie2012-01-301-2/+2
| | | | | | | | (From OE-Core rev: c367a2d2f4b817211b6bd200e49b49355cd67fe2) (From OE-Core rev: f4555a27bcc2174d30c1ea4ab7785325766b7c4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/terminal: add support for XFCE's terminal emulatorJoshua Lock2012-01-301-0/+23
| | | | | | | | | | | | That's Terminal on Fedora and xfce4-terminal on Ubuntu/Debian... This could get interesting! (From OE-Core rev: 162b70a36388ac44fc1b39e172cd53579707bff3) (From OE-Core rev: 149cc418dbcbe014225c86d16b5ef696496e3a39) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: fix QA Packaging issuesSaul Wold2012-01-301-1/+3
| | | | | | | | | (From OE-Core rev: d756b85565820f0caef17af4c4aee2bf29ea6794) (From OE-Core rev: 58231521f9f20fb5606efc84f779612834225b7d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomics-ops: fix QA Packaging issuesSaul Wold2012-01-301-1/+5
| | | | | | | | | (From OE-Core rev: dfddbffc48e86cb0a6d07da6727782e3b17535e1) (From OE-Core rev: 33fe21a3d446f562fde9730e3755ae99fd50e1ae) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix QA Packaging issuesSaul Wold2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: b3840f88f004c9ef371a075f1800052c66c91759) (From OE-Core rev: 5da0710659d671e7e9494feb546fbad950b0c644) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man: fix QA Packaging issuesSaul Wold2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: 2f597288c141c910b945e63e8b31436984ad536b) (From OE-Core rev: cb3cdb9da4866539ac84df811076c4ddad89e47a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at: fix QA Packaging issuesSaul Wold2012-01-301-1/+3
| | | | | | | | | (From OE-Core rev: f3487717ae3b7f9256a3e3cc78be331e424ec457) (From OE-Core rev: e9b469fb19c69dffc0aedf777dc58d41f6e1815e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: fix QA Packaging issuesSaul Wold2012-01-302-2/+4
| | | | | | | | | (From OE-Core rev: 1f55db4936b43e2fd3e50f99815b547e3c5e8010) (From OE-Core rev: b84c1d5854052af3351f853f42c6a0e4b9918dd8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxslt: Fix packaging of xsltConf.shJoshua Lock2012-01-301-2/+2
| | | | | | | | | | | xsltConf.sh is installed to libdir not bindir, fix pacakging. (From OE-Core rev: 27b438df0b937180263346cbf68f1641abcdb068) (From OE-Core rev: 82ff9739d7b95775636d1b9ac7aa4fb5576eccd9) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add readline as dependecy for gdb-cross-canadianMatthew McClintock2012-01-302-2/+2
| | | | | | | | | | | | Got errors that we were unable to find -lreadline, this fixed the issue (From OE-Core rev: ddc9a58b8553599d2328ac1c4449b41681ae45d1) (From OE-Core rev: c50f8d83749d755e58fcd159b8e4dab33fbd9036) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Give coreutils a chance to build the df utilityJulian Pidancet2012-01-303-1/+7
| | | | | | | | | | | | | | | | | | The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. (From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b) (From OE-Core rev: 5be987aeb5e34bb1277f86a7f294607a6d935a19) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: inherit perlnativeKhem Raj2012-01-301-3/+3
| | | | | | | | | | | | | | | manpage generatition uses xmltoman utility which inturn uses xml-parser. So we add libxml-parser-perl-native to DEPENDS and also inherit perlnative so it does not use the one from build host (From OE-Core rev: 51f6a683ec1d740adf09d808671c7098dc3f83e2) (From OE-Core rev: c2ccc9a294cab3f41cab35eee64f8a464ac8ad9f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Backport fix for PR32219Khem Raj2012-01-302-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is needed for gold to work. Otherwise connman fails to build since it used hidden weak symbols. See http://gcc.gnu.org/bugzilla/PR32219 http://www.cygwin.com/ml/binutils/2008-02/msg00239.html The fix proposed to gcc had reviews which were not addressed hence the patch is not yet applied to gcc upstream. connman can also have workaround by changing the visibility of these symbols to be default __attribute__ ((weak, visibility("hidden"))) to __attribute__ ((weak, visibility("default"))) in include/plugin.h (From OE-Core rev: 3cb2b003db7371b3a47d02c08352a262e1e419b4) (From OE-Core rev: 9a160921a16c9c37e07e4b5cb30e37348ecd205b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: use useradd class to allow use in read-only filesystemsOtavio Salvador2012-01-301-27/+21
| | | | | | | | | | | | Move creation of required user/groups to useradd class thus allowing use with read-only filesystems and booting the initial boot. (From OE-Core rev: 46e6c3fa8034b12d178d605f3f5d7efe69671a13) (From OE-Core rev: a115b657ed3df1c9b26b016151881a6c9c26ac2b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: move initial criation of group and passwd to preinstOtavio Salvador2012-01-301-1/+18
| | | | | | | | | | | | | To allow use and manipulation of users and groups at rootfs building time, the '/etc/passwd' and '/etc/group' needs to be available as soon as possible. (From OE-Core rev: 0395eba96d6f37f323f5b76564809a44d7ceb103) (From OE-Core rev: 73452afe344b66c6dd8e4e120e61ac9fce8652e3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: check if a group already exists manuallyOtavio Salvador2012-01-301-1/+7
| | | | | | | | | | | | | | The use of groupadd -f makes much more difficult to figure when a group is not add. This was the case of the class not working for our usage and this being caused by the lack of '/etc/group' file but unnoticed as groupadd wasn't failing according. (From OE-Core rev: 82933a1ff921fd0836f03e6f379fd8536cdc0a30) (From OE-Core rev: e3e8f15176107fa26248e878af548835692d3068) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-sdk: Point sysroot to correct locationKhem Raj2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: c9883733fed9267b1a936c08500a4caf8dc52d3d) (From OE-Core rev: 1cffc4c39f897ae1db30825364ff809ce40f512b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Point sysroot to correct locationKhem Raj2012-01-302-2/+2
| | | | | | | | | (From OE-Core rev: b8dad4ab77f5516bc6929e2ed094fdc62a5a52db) (From OE-Core rev: 065b65f8835304a0ba7fe751a132b684a41b08ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>