summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2012-05-06initrdscripts: Update install.sh to work with mmc devicesDarren Hart2
Fixes [YOCTO #2385] The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected asynchronously, it is necessary to add the rootwait kernel parameter to avoid a race condition trying to mount the root device. As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified. Test for an mmcblk device and add the p partition prefix if necessary. Add the rootwait kernel parameter when an mmcblk device is detected. Replace the series of explicit umount commands with a single umount using a wildcard. This will find all the partitions and will not try to unmount non-existant devices. Avoid copy and paste errors by replacing /dev/${device}${pX} references with the previously assigned rootfs, bootfs, and swap variables. These changes have been tested on the FRI2 Sato image which installed to /dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both were successful. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06runqemu: be sh neutralBernhard Reutner-Fischer2
Now runs with dash and busybox' ash as well as with bash Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06runqemu: minor tweaksBernhard Reutner-Fischer1
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06runqemu: add and use error()Bernhard Reutner-Fischer1
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06runqemu: simplify process_filename()Bernhard Reutner-Fischer1
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06runqemu: use modern, single-char name of test(1)Bernhard Reutner-Fischer1
I do not have "[[", just "[". Be gentle to users of legacy-free setups, also by using '=' instead of the double notation. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06runqemu: Use OE_TMPDIRBernhard Reutner-Fischer1
The error message erroneously talked about TMPDIR. Just use OE_TMPDIR everywhere to make the name of the variable obvious. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06gcc-4.6: disable cloog, change syntax to disable pplAndreas Oberritter1
* Backported from 523df15bcc21e1749771cca757613f3520243b8e as suggested by Khem. * Original commit message: If build system has those libraries installed gcc configure will pick them up. We want consistent builds so we disable them since we do not (yet) support them Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06uclibc: Return correct endianness for mips64Khem Raj1
Regular expression did not check for mips64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06terminal.bbclass, oe-buildenv-internal: pass SCREENDIR environment variableJason Wessel2
Some versions of the screen utility provided from the host OS vendor write the socket directory to $HOME/.screen. When using a shared home directory across many servers, one sets the SCREENDIR environment variable to avoid collisions in the shared home directory. This results in problems launching a devshell where it is not entirely obvious what happened because the SCREENDIR environment variable got stripped from the environment prior to setting up the screen in detached mode. Example: % bitbake -c devshell busybox # ...Please connect in another terminal with "screen -r devshell" % screen -r devshell There is no screen to be resumed matching devshell. The temporary work around was to do something like: sh -c "unset SCREENDIR; screen -r devshell" This patch adds SCREENDIR to the white list to ensure screen works properly on systems where a developer needs to use the SCREENDIR with shared home directories. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06conf/machine: Clean up configuration values.Peter Seebach7
This cleans up and/or corrects a few values from machine includes for consistency with future toolchain sanity checks, and also adds the TUNEVALID and TUNECONFLICTS to documentation.conf. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04connman: enable TI shared transport plugin when wifi or bluetooth are requestedKoen Kooi2
This plugin manages the firmware loading for the TI wl12xx series of bluetooth/wifi/fm chips. The double --enable-tist when both bluetooth and wireless are enabled is ugly, but harmless The background on the plugin: https://bugs.meego.com/show_bug.cgi?id=8418 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04busybox: port improvements to simple.script from Debian (udhcpc)Andreas Oberritter2
* Support resolvconf * Avoid bashism $((metric++)) * Use 'domain' instead of 'search' for domain parameter Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04busybox: remove unused patches for simple.script (udhcpc)Andreas Oberritter3
* OE-Core provides its own copy of simple.script. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04gcc-4.6: explicitly disable pplAndreas Oberritter1
* Fixes the following error after a system library upgrade | .../mipsel-oe-linux/4.6.4/cc1: error while loading shared libraries: libppl.so.10: cannot open shared object file: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04buildhistory: fix multiple commit of images and packages at the same timePaul Eggleton1
The echo line here was merging multiple lines into one, and the result was that if both image and package changes had to be comitted then only the image changes were being committed and the package changes could potentially be merged into the next package change. Quoting the variable reference fixes this. Fixes [YOCTO #2411] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03gcc-package-target: add libexec for pluginSaul Wold2
Fixes: ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package: ERROR: /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03kernel.bbclass: move kernel-vmlinux up in PACKAGESChristopher Larson1
If KERNEL_IMAGETYPE is vmlinux, the expectation is most likely that there will be no kernel image package, but we still want a vmlinux package for debugging, so move kernel-vmlinux in front of kernel-image in PACKAGES. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03runqemu: Fix TAP='TUNSETGROUP: Invalid argument' by falling back to tunctl -uJason Wessel2
By default the runqemu script tries to set the group permissions on any tap device it creates. The TUNSETGROUP ioctl is not implemented on some popular host enterprise linux distributions. Internally the script will exit as follows: ++ /opt/qemux86/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tunctl -b -g 100 + TAP='TUNSETGROUP: Invalid argument' + STATUS=1 + '[' 1 -ne 0 ']' + echo 'tunctl failed:' tunctl failed: + echo TUNSETGROUP: Invalid argument This patch implements a fallback to using the userid as the owner of the tap device which is supported by all 2.6 kernels, the default remains to try and use the groupid first. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03qt-4.8.1: fix creating /include directory in build host rootMartin Jansa4
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03qt4: fix compilation issueNitin A Kamble3
gcc 4.7 uncovers a type mismatch in the code. And this commit fixes the issue: | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/gthread.h:58:7: error: 'union' tag used in naming 'struct _GMutex' [-Werror=permissive] | In file included from ./wtf/Platform.h:1217:0, | from ./config.h:30, | from wtf/gobject/GOwnPtr.cpp:19: | wtf/gobject/GTypedefs.h:55:16: note: 'struct _GMutex' was previously declared here NOTE: package qt4-x11-free-4.8.1-r41.1: task do_compile: Failed Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03site/ix86-common, site/x86_64-linux: alignment values for guin32, guin64 and ↵Martin Jansa2
unsigned long These are required to build recent versions of glib-2.0 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03gtk-engines: fix build with glib-2.32Martin Jansa2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03nfs-utils: don't try to unload nfsd moduleAndreas Oberritter2
* When nfsserver get's stopped, "modprobe -r nfsd" may hang indefinitely. As there's no need to unload the module, just remove the call to modprobe. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03pulseaudio: disable tcpwrap by defaultSaul Wold2
This ensures that tcpwrapper usage is always disabled, this was inconsistent because it would test for libwrap and sometimes enable and sometimes not. This ensures consistent build reproducibility. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03builder: Add Please Wait Dialog BoxSaul Wold3
Add dialog box while bitbake starts hob to inform user to please wait for the hob screen to become visible. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03gnutls: Update to 2.12.18Saul Wold7
Change the SRC_URI to use the GNU_MIRROR Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03xauth: Update to 1.0.7Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03bigreqsproto: Update to 1.1.2Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03xkbcomp: Update to 1.2.4Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03mc: Update to 4.8.3Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03util-linux: Update to 2.21.1Saul Wold12
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03cairo: Update to 1.12.2Saul Wold1
Clean up some packaging issues, cairo-sphinx was installed and is a testing tool that does not need to be packaged Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03xhost: Update to 1.0.5Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03xmodmap: Update to 1.0.7Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03libtasn1: Update to 2.12Saul Wold1
Use the GUN_MIRROR correctly Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03resolvconf: Update to 1.65Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03distro-tracking: update as per recent recipe upgradesNitin A Kamble1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03python: upgrade from 2.7.2 to 2.7.3Nitin A Kamble7
bin/python2 link is provided by the python install process, so no need to create it. rebase these patches to the newer code: fix_for_using_different_libdir.patch 04-default-is-optimized.patch remove this patch as it is upstream now: sys_platform_is_now_always_linux2.patch Change default python version to 2.7.3 in the distro config Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03gdb: upgrade from 7.4 to 7.4.1Nitin A Kamble4
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> [Fixed sha256 - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03quilt: upgrade from 0.51 to 0.60Nitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03makedepend: upgrade from 1.0.3 to 1.0.4Nitin A Kamble1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03tcmode-external-csl: use the existing precompiled locale filesChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03libc-package: rework ''precompiled' locale handlingChristopher Larson1
There were a couple problems with the handling of precompiled locales. - it gathered the list of locales from the directories - this breaks due to the naming mismatch, e.g. en_US.UTF-8 vs en_US.utf8. - it retained its hardcoded assumption that the non-suffixed locale (en_US, as opposed to en_US.*) is UTF-8, while the others are otherwise. Hardcoding this is both inflexible and just plain wrong for some toolchains. It's most common in desktop distros for 'en_US' to be non-utf8, and ''en_US.UTF-8' is utf8, and this is the case in some external toolchains as well. The code now uses the SUPPORTED file to hold the knowledge it needs. This file not only holds the list of locales to generate, but also maps the locale names to the charsets they correspond to. The code now uses this to assemble its charset map, falling back to the '.' suffix as charset when the locale is not in the map. For precompiled, it now uses the locale->charset knowledge it has, thereby allowing non-utf8 non-suffixed locale names, whereas for non-precompiled, it reverts to the previous assumption, renaming the utf8 locale and forcibly suffixing the others. So, a person maintaining an external toolchain recipe is responsible for ensuring that the SUPPORTED file they provide matches up with the compiled locales in the toolchain, if they want to utilize precompiled locales. I believe in the long term the compiled case should do the same thing precompiled does, and use SUPPORTED or a similar mechanism to encode the knowledge, and if people want all the non-suffixed names to be utf8, they can change that file to do so. This would avoid the hardcoded assumption in the code, as well as consolidating the behavior between the compiled and precompiled cases. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03tclibc-eglibc: drop hardcoded locale-base-en-us/en-gbChristopher Larson1
This is handled by IMAGE_LINGUAS, so hardcoding it here is at best unnecessary duplication. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: update SUPPORTED to match toolchainChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: cleanup, simplify, use base_libdirChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: silence .a/.debug QA warningsChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: split out a libstdc++-staticdev packageChristopher Larson1
This silences one of the QA warnings. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03csl-versions.inc: capture version in signaturesChristopher Larson1
We want to ensure that changing external toolchain version will change the metadata checksums of target recipes. This will do so via ensuring that any variable which references TOOLCHAIN_OPTIONS also pulls in the toolchain version variables. Signed-off-by: Christopher Larson <kergoth@gmail.com>