summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake.conf: We only care about the absolute value of baselibRichard Purdie2012-01-301-0/+1
| | | | | | | | | | | | | | | | The value of baselib can be constructed in several different ways and from a sstate perspective we don't care how it was made up, we only care what the final value is. This uses the new functionality in bitbake to ensure we only include the value of baselib and not any intermediate dependencies. [YOCTO #1583] (From OE-Core rev: c38567894ebc31ac977f2bc89a076d0380bddcf8) (From OE-Core rev: 8b70cfe7a1768b8bf1e5b7e390276518e16f14af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-initial: Ensure symlinks point to the correct location when built ↵Richard Purdie2012-01-301-0/+12
| | | | | | | | | | | | | | | | from sstate cache If the sstate files are installed into a sysroot from the sstate cache, the directory to the main sysroot can change and the symlinks aren't adjusted to account for this. This is a problem specific to the toolchain bootstrap process. This patch adds up a function to recreate the symlinks, hence ensuring they always point at the correct location. (From OE-Core rev: ad0baa7d2f33a865011e0c6afe29f22aa1beea32) (From OE-Core rev: bc8a384c49c60feab9d01f8277e92ac0603c8f93) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cacheMatthew McClintock2012-01-301-1/+1
| | | | | | | | | | | | The method of resolving the patch should not effect the sstate-cache signature. (From OE-Core rev: b64cbe0b511de8d8943ce34cbb4901239d9f0cb0) (From OE-Core rev: 896bd7d1442dcd3f080dc741a72f50ab95d7c38f) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Ensure we expand stamp-extra-infoRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | Without this change we can end up looking for <stamp>.${MACHINE} instead of the expected expanded value. (From OE-Core rev: 9f743b5033177216fe0e1d3e43ba831f356df08e) (From OE-Core rev: de9f47b09d5434642ba925182ae21a8e77e7e429) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: No need to spew out a debug message per file, summarise insteadRichard Purdie2012-01-301-3/+4
| | | | | | | | (From OE-Core rev: c7b02c6e80819e30a0818282ab8d960243a2d0e8) (From OE-Core rev: 6df929c8b58daa19423e5994bbf8bb68c912707f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo_1.8.1p2.bb: Pull patch from upstream to fix parallel build issueMatthew McClintock2012-01-302-1/+17
| | | | | | | (From OE-Core rev: 255588da1834b45325cf6677906aef2687a3b5f6) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: fix toolchain build for SH4Michael Brown2012-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | (From OE-Core rev: da7bf75bcdd5759a0f551dcb7a0326aa2f40921c) (From OE-Core rev: 3c9fd383965f883129cf35d0e307d3bbbd5d4908) Signed-off-by: Michael Brown <Michael_E_Brown@dell.com> Port patch from base openembedded. Since 4.6 already has fixes for config.gcc, the fix only requires a one line change to gcc-cross4.inc. The patch was imported from the OpenEmbedded git server (git://git.openembedded.org/openembedded) as of commit id 3aa8afe97e9cf1340feb9c4442a6ed88b7e32c96. gcc-4.5: Fix toolchain builds for SH4/SH3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libconvert-asn1-perl/libtimedate-perl: Convert to use allarchRichard Purdie2012-01-302-7/+4
| | | | | | | | | | | | | | | Both these recipes generate architecture independent packages. They can safely use the allarch class to ensure they really are indepentent from the target compiler and so forth and hence ensure sstate packages with good dependencies. [YOCTO #1075] (From OE-Core rev: 2856d3f6aca0c20acd40f7f8970ec8590e4889a8) (From OE-Core rev: 676a5c44fb621ae428f8ac1fc466469914cbc864) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnss-mdns: avoid race condition in postinstPhil Blundell2012-01-301-5/+3
| | | | | | | | | | | | | | | Writing to "/tmp/nsswitch.conf" leads to a race condition if two copies of the postinst are running simultaneously. Fix this by modifying /etc/nsswitch.conf in place using sed -i. Also make the same change to the prerm for consistency although the race will not occur here in practice. (From OE-Core rev: 689884653938b98899fb3ba791221fdbe2f40e7f) (From OE-Core rev: 2a2741c12196c34c5e6127488a8eeec7118b2952) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: use PKGSUFFIX for every package to resolve multiple runtime ↵Martin Jansa2012-01-301-8/+11
| | | | | | | | | | | providers from target and nativesdk (From OE-Core rev: 60738953f6fee24de447cd0f9cf81cce6f8966a5) (From OE-Core rev: 4c2a9e410c46fbf52f3d64767baf06c7146d001e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkit-gtk: force arm mode to work around binutils segfaultMartin Jansa2012-01-301-1/+17
| | | | | | | | | | | * this is just work around, would be better to fix in toolchain (From OE-Core rev: 2df59dad90f31aa48113ad8afe1af084b71a6a2c) (From OE-Core rev: 3648cf8f02601ac57787f81cb199677434970b34) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* aspell: force ARM modeMartin Jansa2012-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | * this is just work around for ICE, better fix would be to fix gcc | ./common/fstream.hpp:23:9: note: the mangling of 'va_list' has changed in GCC 4.4 | modules/speller/default/typo_editdist.cpp: In function 'short int aspeller::typo_edit_distance(acommon::ParmString, acommon::ParmString, const aspeller::TypoEditDistanceInfo&)': | modules/speller/default/typo_editdist.cpp:77:3: internal compiler error: in gen_thumb_movhi_clobber, at config/arm/arm.md:5937 | Please submit a full bug report, | with preprocessed source if appropriate. | See <http://gcc.gnu.org/bugs.html> for instructions. | make[1]: *** [modules/speller/default/typo_editdist.lo] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/aspell-0.60.6.1-r0/aspell-0.60.6.1' (From OE-Core rev: eff532ea13a270c0e4ffaf4ab059403d612a3197) (From OE-Core rev: 9fa76ebe080ec729af429cf2a77b4aba814c2b61) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio-0.9.23: force ARM modeMartin Jansa2012-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * this is just work around, should be tested again after upgrade to pulseaudio-1.1 * otherwise build for armv4t (om-gta02) fails with this: | /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CC --mode=compile arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp/sysroots/om-gta02 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../src/modules -I../src/modules -I../src/modules/rtp -I../src/modules/rtp -I../src/modules/gconf -I../src/modules/gconf -I../src/modules/bluetooth -I../src/modules/bluetooth -I../src/modules/oss -I../src/modules/oss -I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop -I../src/modules/raop -I../src/modules/x11 -I../src/modules/x11 -I../src/modules/jack -I../src/modules/jack -I../src/modules/echo-cancel -I../src/modules/echo-cancel -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_BUILDDIR=\"/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src\" -DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.23/modules\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" -DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" -DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\" -DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\" -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c -o libbluetooth_sbc_la-sbc.lo `test -f 'modules/bluetooth/sbc.c' || echo './'`modules/bluetooth/sbc.ci | arm-oe-linux-gnueabi-libtool: compile: arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp/sysroots/om-gta02 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../src/modules -I../src/modules -I../src/modules/rtp -I../src/modules/rtp -I../src/modules/gconf -I../src/modules/gconf -I../src/modules/bluetooth -I../src/modules/bluetooth -I../src/modules/oss -I../src/modules/oss -I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop -I../src/modules/raop -I../src/modules/x11 -I../src/modules/x11 -I../src/modules/jack -I../src/modules/jack -I../src/modules/echo-cancel -I../src/modules/echo-cancel -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_BUILDDIR=\"/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src\" -DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.23/modules\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" -DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" -DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\" -DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\" -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c modules/bluetooth/sbc.c -fPIC -DPIC -o .libs/libbluetooth_sbc_la-sbc.oi | modules/bluetooth/sbc.c: In function 'sbc_synthesize_four': | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c: In function 'sbc_synthesize_eight': | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | {standard input}: Assembler messages: | {standard input}:6997: Error: selected processor does not support Thumb mode `mla r3,r0,ip,r3' | {standard input}:7012: Error: selected processor does not support Thumb mode `mla r3,r1,ip,r3' | {standard input}:7026: Error: selected processor does not support Thumb mode `mla r3,ip,r0,r3' | {standard input}:7215: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3' | {standard input}:7230: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3' | {standard input}:7241: Error: selected processor does not support Thumb mode `mla r3,r0,r7,r3' | {standard input}:7256: Error: selected processor does not support Thumb mode `mla r3,r0,r7,r3' | {standard input}:7267: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3' | {standard input}:7287: Error: selected processor does not support Thumb mode `mla r3,r7,r6,r3' | {standard input}:7301: Error: selected processor does not support Thumb mode `mla r3,r6,r5,r3' | {standard input}:7319: Error: selected processor does not support Thumb mode `mla r3,r0,r5,r3' | {standard input}:7327: Error: selected processor does not support Thumb mode `mla r3,r1,r0,r3' | {standard input}:7594: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7604: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7614: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7624: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7634: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7647: Error: selected processor does not support Thumb mode `mla r3,r2,r5,r3' | {standard input}:7657: Error: selected processor does not support Thumb mode `mla r3,r2,r5,r3' | {standard input}:7815: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3' | {standard input}:7837: Error: selected processor does not support Thumb mode `mla r3,r9,r0,r3' | {standard input}:7853: Error: selected processor does not support Thumb mode `mla r3,r9,r0,r3' | {standard input}:7875: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3' | {standard input}:7891: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3' | {standard input}:7908: Error: selected processor does not support Thumb mode `mla r3,r0,r6,r3' | {standard input}:7931: Error: selected processor does not support Thumb mode `mla r3,r6,r5,r3' | {standard input}:7952: Error: selected processor does not support Thumb mode `mla r3,r0,r5,r3' | {standard input}:7960: Error: selected processor does not support Thumb mode `mla r3,r2,r0,r3' | make[4]: *** [libbluetooth_sbc_la-sbc.lo] Error 1 | make[4]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23' | make: *** [all] Error 2 | + die 'oe_runmake failed' | + bbfatal 'oe_runmake failed' | + echo 'ERROR: oe_runmake failed' | ERROR: oe_runmake failed | + exit 1 | ERROR: Function 'do_compile' failed (see /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/temp/log.do_compile.3404 for further information) (From OE-Core rev: 31a20d50124344dc708ade282677b2c7dda171b0) (From OE-Core rev: 4eaf22dc67c3de9025bae3f24837f569aba91fff) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: inherit perlnativeKhem Raj2012-01-301-1/+1
| | | | | | | | | | | | | | | 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: 1c5cdc8ee9edeafe86ef0fd955ee067ab67c7aa9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomics-ops: force ARM modeMartin Jansa2012-01-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * otherwise ie spitz (armv5te) build fails with: | make[3]: Entering directory `/OE/shr-core/tmp/work/armv5te-oe-linux-gnueabi/libatomics-ops-1.2-r5/libatomic_ops-1.2/src' | arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I. -fPIC -O 2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops.c | arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I. -fPIC -O 2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops_stack.c | arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I. -fPIC -O 2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops_malloc.c | atomic_ops_malloc.c: In function 'msb': | atomic_ops_malloc.c:223:2: warning: right shift count >= width of type [enabled by default] | rm -f libatomic_ops_gpl.a | ar cru libatomic_ops_gpl.a atomic_ops_stack.o atomic_ops_malloc.o | arm-oe-linux-gnueabi-ranlib libatomic_ops_gpl.a | {standard input}: Assembler messages: | {standard input}:286: Error: selected processor does not support Thumb mode `swp r1,r2,[r3]' | {standard input}:329: Error: selected processor does not support Thumb mode `swp r0,r1,[r3]' * this is just work around, proper fix proposed by Henning Heinold hm we should think of reworking this recipe now. Because since gcc 4.5 pulseaudio for arm can use the gcc internal atomicstuff and in oe-core and meta-oe we have 4.5 or 4.6 only. The lib is only needed for mips and it is still the old release, on cvs is a much better version, which supports thumb too, if remember correctly. (From OE-Core rev: 2d34fc0ce21fe06ff97208c8ffb65a718b444de9) (From OE-Core rev: 6b403ff01863cf3788b696a2b45e56cfaca56512) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usableRichard Purdie2012-01-305-70/+57
| | | | | | | | | | | | | | | | | | | The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. (From OE-Core rev: fad496c759066d53bebf9b8cebc63e6478c91d19) (From OE-Core rev: 467af9ae45ce54d6e50041d5134af889ac7cf4d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Move update-passwd into a separate packageRichard Purdie2012-01-301-1/+13
| | | | | | | | | | | | | | update-passwd is the only user of the passwd/group.master files and was never used by OE since it wasn't run. This patch packages this separately and adds an appropriate postinst to make the package useful so people can include it as they wish. (From OE-Core rev: 77ab0f09546c5f6217a8e2f1bc30cf3d4306e3fa) (From OE-Core rev: c26d37b65e0ad69a36e799c56f3c4426ea18f17e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Fix the broken preinst/postinstallRichard Purdie2012-01-301-31/+29
| | | | | | | | | | | | | | | The preinst accesses file which may not yet have been unpacked. The postinst is too late for the creation of these files for at least the opkg backend. This patch therefore encodes the file contents into the preinst, resolving the various issues once and for all. (From OE-Core rev: fc708d88f97e40a5bf929e4e02ed805fb3684ffe) (From OE-Core rev: 0f4156c0735e28812c3f8ab27075d3de5360badb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Ensure we use the uname/gname fields when extracting tarballsRichard Purdie2012-01-302-1/+90
| | | | | | | | | | | | | | When extracting packages onto the target system in particular, we really want to ensure the name fields in the tarball are used over and above the numerical uid/gid values. This patch adds this functionality to opkg and ensures package upgrades work correctly permission wise. (From OE-Core rev: f2316ff39670ed99382411e15ac035550360fbdd) (From OE-Core rev: 56800b9906cf228331083256664407947f831185) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk.bbclass: Ensure bad recommendations persist in the status fileRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | | | | | | | | | Currently bad recommendations are added to the status file with status "ok". After a single opkg command, whilst it will ignore the recommendation, the status changes to "installed" even if the recommended package was not installed. Whilst this is likely a glitch in opkg's logic, the correct way to persist the information in the status file is to set the status to "hold" as deinstall packages with that status remain. With this change the bad recommendations persist accross multiple opkg runs and the system behaves as expected. [YOCTO #1758] (From OE-Core rev: 215ff6b2e9676c8c7dd8acfd696151bcd0f1490f) (From OE-Core rev: 525743f5513feff67fb8fd2e4c7a1a05ae22ddc9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinit: rdepends on util-linux-mcookie to avoid brining whole util-linuxOtavio Salvador2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: a8ed4fcd79f6283c1d45f347dce894d784183900) (From OE-Core rev: 7fc9855421222eb671e414ef7bc190f53521e914) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split mcookie into a packageOtavio Salvador2012-01-302-2/+3
| | | | | | | | | (From OE-Core rev: 3e5b9ddaf3f9492e34967146c42369bcd76ddf03) (From OE-Core rev: 66ac20ea171a5f823b4810975570885c8138d930) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split out mkfs into its own packagePaul Eggleton2012-01-301-2/+3
| | | | | | | | | | | | | | | | | For those external tools such as Webmin that call mkfs to do formatting operations, it is useful to have it in its own package to avoid dragging in the rest of util-linux. (From OE-Core rev: cceee30de96b2389209fc2c9c474ebbd863ff64a) (From OE-Core rev: d5841bc9559d9de4ca1a063ecf40571688d0d147) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> [Merged with head] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add new util-linux-chkdupexe package to avoid making perl a dependecy for ↵Matthew McClintock2012-01-302-3/+6
| | | | | | | | | | | all of util-linux (From OE-Core rev: 57def2a05f4cff77f014c6dfb93c2dcc1b9db61b) (From OE-Core rev: 115f49b2b4b13884be7a4fffc4261cbcb884d428) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux 2.19.1: split blkid out into its own subpackageKoen Kooi2012-01-302-2/+15
| | | | | | | | | | | Recent udev versions require blkid from u-l, not from e2fsprogs. In general all the non fsck related binaries from e2fsprogs are deprecated. (From OE-Core rev: eb048308ae80d779e904951b032dba5b780898e5) (From OE-Core rev: d9afc91bd5bce889dfbcba13b6b59ea07f288cc7) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split fsck* into its own subpackageKoen Kooi2012-01-302-4/+14
| | | | | | | | | | | This will allow systemd to run /sbin/fsck without dragging in all of util-linux (From OE-Core rev: 4c95779fe1297b06adc705de30dca4e3570084ae) (From OE-Core rev: 8b3beaddb5d44efcaa88ea173081c6e0558908ad) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Avoid post install scriptsMark Hatle2012-01-302-8/+3
| | | | | | | | | | | | The post install script was removed, and the install_append updated to ensure the permissions are set correctly. (From OE-Core rev: 463e44ae159da2e03369f9ac14843b479de2e43d) (From OE-Core rev: 52dac3a309f3f1d6a4ee7269b16ca381fd0cdd38) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Generate the shadow files at rootfs constructionMark Hatle2012-01-301-5/+7
| | | | | | | | | | | | | With the recent changes to the shadow-native package support "--root", we can now convert the passwd/group files to their shadow forms while doing the rootfs install, instead of waiting to run on the target. (From OE-Core rev: 662431ace246e9bb35ad8d0ddd0510193f93517d) (From OE-Core rev: 03c366bb36145f7bc1679307e578bb2cf44e3737) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: Avoid blocking the post install script at cross rootfs time.Mark Hatle2012-01-302-3/+3
| | | | | | | | | | | We only want to reload dbus, if we're install on the target -- not on the host. (From OE-Core rev: 1ce23fe7d7c33c196af3ba25b4e97496718328d1) (From OE-Core rev: e9dc54d5c31ef50fa2f929d552e2f61533426dcc) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Turn off script debuggingMark Hatle2012-01-301-1/+1
| | | | | | | | | | | | | Disable script debugging, as the log files become huge and take a long time to process during the log check step. This results in a performance improvement. (From OE-Core rev: a7e70227bac72c4f7d3419f94f6915da4c7e3f43) (From OE-Core rev: 9b6ecd1fd2f6870ace033362e3bb86fd98935bc9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Enable pre and post install scriptsMark Hatle2012-01-304-21/+199
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1755] We change the want the RPM rootfs install works to install pre and post install scripts. The new method uses a script helper that is invoked by RPM outside of the normal chroot. The wrapper is dynamically generated prior to the install starting. It will check the return code of the script. If the script fails, it will store a copy to be executed on the first system boot. This is similar to the previous mechanism. In addition, a line of debug was added to the scripts as written by package_rpm to list which package and which script for later debugging, if necessary. (From OE-Core rev: 3e7120d6a9fd5e46214673d0a6e1085a7314ff42) (From OE-Core rev: 5d74a2bbe036cf586b76aef0d9907ecb3d4a5f1d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinit: Fix `startx` looking for `mcookie` in sysrootPaul Menzel2012-01-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `startx` run on a system based on the demo systemd image [1] and `opkg`-installed packages fails with the following error. /usr/bin/startx: line 139: /OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x68_64-linux/usr/bin/mcookie: No such file or directory Applying commit 443bcc07 [1] from OE-classic Author: Tom Rini <tom_rini@mentor.com> Date: Thu Apr 7 10:36:43 2011 -0700 xinit: Fix mcookie / util-linux-ng dependency xinit just needs to know the runtime path of mcookie so we need to RDEPEND on util-linux-ng and pass the runtime path in via EXTRA_OECONF (From OE-Core rev: 1053a6a8e15851ef139d8aa4683849fc2fc277e1) (From OE-Core rev: a32d9dbc25fce5e8566681f0c7f606eedaaf3933) Signed-off-by: Tom Rini <tom_rini@mentor.com> fixes this issue. Commit 7f6cec6f [2] Author: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Date: Sun Feb 21 18:11:30 2010 +0100 xinit: add dependency on util-linux-ng […] tried to address the same problem but apparently did not help, because Tom still had problems. [1] http://www.angstrom-distribution.org/demo/beagleboard/Angstrom-systemd-image-eglibc-ipk-v2011.11-core-beagleboard.rootfs.tar.bz2 [2] http://git.openembedded.org/openembedded/commit/443bcc0785bc004e471b3750a34d12d2fd2e5dad [3] http://git.openembedded.org/openembedded/commit/7f6cec6f0adb6203a6dbaf8a43c67c2c4f8bf84e Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: refactor configure to avoid configuring widec when disabledDarren Hart2012-01-301-31/+35
| | | | | | | | | | | | | | | | | | | | | | | | | The ENABLE_WIDEC variable can be used to disable ncurses wide character support when your C library doesn't support it. Currently, the do_configure step configures for both narrow and wide characters regardless and only checks ENABLE_WIDEC during compilation. This leads to QA failures with host contamination during configure if the C library doesn't support wide characters. Refactor do_configure with a new ncurses_configure helper function and only configure for wide character support if ENABLE_WIDEC is true. Ensure that configure errors are propogated back through to do_configure. Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586, including basic error injection. V2: INC_PR bump (From OE-Core rev: 8b995deb046469c1c713fa053510d2fe94454133) (From OE-Core rev: 802cd855f1860ef0fbbbbf87b0af7c5dcdc35975) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: blacklist /dev/mdSaul Wold2012-01-302-1/+2
| | | | | | | | | | | | | Do not mount /dev/md by default via udev, this resolved a problem with the sanity test failing due to seeing the error while attempting to mount /dev/md0 (From OE-Core rev: 07a2825c6f4ad3e5e3970cd1a89233bd795c68cf) (From OE-Core rev: 8ea8e41ad7863f57a851f00154e133cd0e550ef8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd: Add missing DEPEND on shadowRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | Without this rootfs generation fails as an RDEPENDS is added but the package might not have bneen built. (From OE-Core rev: bfe70c6446e6686f826f01040ba74c7d7d28bf42) (From OE-Core rev: 30a1f1d3ec763b4929b052ab3388499dfb40b1fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: remove USERADDPNScott Garman2012-01-301-1/+0
| | | | | | | | | | | USERADDPN is no longer used; remove it. (From OE-Core rev: ed7e7a8e4d00cd45c74dc233c8b574d3978755d8) (From OE-Core rev: 2a52444dd464f5dff43424ab18feae43435061ae) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd-example.bb: update example documentation commentsScott Garman2012-01-301-5/+4
| | | | | | | | | | | | Clarify that only packages listed in USERADD_PACKAGES will include the user/group creation code. (From OE-Core rev: 70aaac37968bf2b35d6a536c3f3f69fe3620255c) (From OE-Core rev: 3d0649253cc99b658a2f6576b1d38661d65f3977) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: do not modify -nativesdk packagesScott Garman2012-01-301-4/+5
| | | | | | | | | | | | Exclude the addition of user/group code and RDEPENDS changes for -nativesdk packages. (From OE-Core rev: 2f057dd905ccb497890ce73ac4e4c256edcf0351) (From OE-Core rev: 9acbe80fea3dbd5405030c95d8b6d411689c4911) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: only modify packages in USERADD_PACKAGESScott Garman2012-01-301-26/+16
| | | | | | | | | | | | | | | Previously we injected the user/group preinstall script into all output packages. This fixes that so that only packages listed in USERADD_PACKAGES get modified. It also removes the USERADDPN variable, which is no longer needed. (From OE-Core rev: 2f73466eb5018040a123ccb0e2af8c519525f958) (From OE-Core rev: 424b6447ebce761c9027ffdaf68ecbcd6f28e4ec) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add grep to temporary links during uninstallPaul Eggleton2012-01-302-1/+2
| | | | | | | | | | | | | | In the busybox package prerm we set up some temporary links and modify PATH so that certain utilities are provided for the purpose of running update-alternatives; if grep is not among these then you get errors when removing busybox, so add a temporary link for grep as well. (From OE-Core rev: 013eca09c863862cc6b7ee3bc22923bf8fb42956) (From OE-Core rev: a425305249cdd89ab481310b31ae04970c6ae3be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package_rpm: disable uninstall scripts for upgradesPaul Eggleton2012-01-301-2/+16
| | | | | | | | | | | | | | | | | | | | | | | Our current assumption (based on the behaviour of opkg) when writing recipes is that prerm and postrm do not get called during an upgrade. When using rpm however, these are mapped to the rpm "preun" and "postun" events which occur after postinst for upgrades, and when these contain removal type operations (such as update-alternatives --remove) this causes problems. This patch wraps each preun and postun script for rpm in a check that determines whether or not the script is being called during an upgrade, and skips the entire script if it is, which mimics the behaviour of opkg under the same conditions. Fixes [YOCTO #1760] (From OE-Core rev: 1d3f37dc9a43ba6d6beb7b4530c077f239032b99) (From OE-Core rev: 6e66ecd201760fe418a9884e3605b88a68208776) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>