summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* useradd.bbclass: remove hardcoded reference to /usr/binPhil Blundell2011-09-021-2/+2
| | | | | | | | Otherwise the class doesn't work if ${bindir} is set to a different value; likewise for /var vs ${localstatedir}. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix multilib baselib confusionRichard Purdie2011-09-022-9/+55
| | | | | | | | | | | | | Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use baselib for the compiler location. This is fine as long as baselib happens to match the platform multilib definition which is enabled at the time. This patch fixes things so that gcc will honour whatever ${base_libdir} is set to re-allowing suitable customisation of the system layout. [YOCTO #1362] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Only build one kernelRichard Purdie2011-09-023-27/+53
| | | | | | | | | | | | | | | For a given system we only want one kernel to be built. This change makes the main kernel recipe provide all of the provides of the various enabled multilibs hence allowing it to fulfil all the appropriate dependencies. To make this work a global multilib class file needed to be created. This patch also enables this multi provider functionality for "allarch" packages. [YOCTO #1361] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: extend multilib prefix for libsdlDongxiao Xu2011-09-021-0/+1
| | | | | | libsdl is required by sato image, so extend it for multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib: Using different sysroot for multilib recipesDongxiao Xu2011-09-021-0/+3
| | | | | | | | | | | | | | | | | | Thinking of the senario that, if we already built out a 64bit image along with the full toolchain bootstrapped, then we need to build some 32bit libraries, which needs lib32 versions of gcc and eglibc. These toolchain recipes will bootstrap again in the same sysroot, resulting that lib32-gcc-cross-initial will find some macros owned by eglibc have already been defined and thus it includes non-existed headers that provided by later lib32-eglibc. The solution for the above issue is to use different sysroot for multilib recipes, here we add ${MLPREFIX} in front of the machine specific sysroot directory name. [YOCTO #1372] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* rootfs_rpm: setting DEFAULTTUNE for multilib archsDongxiao Xu2011-09-021-0/+3
| | | | | | | | To get the MULTILIB_PACKAGE_ARCHS, we need to get the corresponding DEFAULTTUNE value. This fixes the multilib arch directory missing issue in solvedb-ml_archs.conf. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* hal: Remove build time dependency of virtual/kernelDongxiao Xu2011-09-021-4/+3
| | | | | | | | | | | hal has runtime dependency on kernel, but not build time. Remove it from "DEPENDS" list. Also fix a wrong PACKAGE_ARCH setting when building multilib lib32-hal, because ":=" will be extended immediately which is not the right value. Using TUNE_PKGARCH instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* dropbear: add missing filesKoen Kooi2011-09-022-0/+22
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode: Update to 2011iSaul Wold2011-09-022-7/+7
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sato recipes: Update PR because of libowl conversion to gitSaul Wold2011-09-029-9/+9
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold2011-09-0219-106/+108
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: fix packaging of readprofileJoshua Lock2011-09-022-2/+2
| | | | | | | | We rename readprofile to readprofile.util-linux so we need to use that binary name in the FILES entry for the readprofile package. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Show sensible warning messages if expected binaries don't existRichard Purdie2011-09-026-12/+40
| | | | | | [YOCTO #1438] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Don't show errors from which ifconfig failingRichard Purdie2011-09-013-3/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix powerpc term and provide more template for different archesJessica Zhang2011-08-311-1/+14
| | | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang2011-08-313-17/+4
| | | | | | | | template for installation" This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: only enable pam if DISTRO_FEATURES requests itPhil Blundell2011-08-312-3/+4
| | | | | Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Fix rpm failed dependencies when installZhai Edwin2011-08-311-1/+6
| | | | | | | | | | There are some links become invalid after rename, so that failed dependencies detected when install rpm package. This commit update links to resolve it. [YOCTO #1158] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Change the path to find configuration file and add a configuration ↵Xiaofeng Yan2011-08-311-1/+11
| | | | | | | | | | | | | | | | file for dropbear dropbear will check "/etc/pam.d/sshd" which comes from package "openssh" \ When enabling pam supporting. But if we only install dropbear \ package without package "openssh", then "dropbear" will not \ find a configuration file. The changes are as follow for fixing this bug: - Change the path to find configuration file (/etc/pam.d/sshd --> /etc/pam.d/dropbear) - Add a configuration file "/etc/pam.d/dropbear" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-demo-init: Fix bug 999Xiaofeng Yan2011-08-312-0/+74
| | | | | | | | | [YOCTO #999] qt4e-demo-image needs qt-demo-init when starting qtdemoE. qt-demo-init was pulled from Openembeded. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: Fix WiFi security display issueDongxiao Xu2011-08-312-2/+44
| | | | | | | | | | | Latest connman-0.75 change the WiFi security type, causing the incompatibility of connman-gnome. Fix connman-gnome accordingly to show the correct security informtion. [YOCTO #1343] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Further S vs. PV fixupsRichard Purdie2011-08-313-1/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm: Disable dbus-wait as it causes users too much confusionRichard Purdie2011-08-312-3/+4
| | | | | | | | | | In the event the xserver fails to start the dbus-wait has to time out and this causes many users a lot of confusion. If we wish to reinstate this, we need to find a safer mechanism to do it where X failing to start cancels the timeout (sends a dbus event at that point?) The comments are left in the file as an example in case some user does wish to enable is. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Clean up various MACHINE checksRichard Purdie2011-08-311-37/+50
| | | | | | | | | | | | | | | | | | [YOCTO #1398] Firstly we should start checking if MACHINE is set. It if isn't lets make this a sanity warning since its very hard to successfully build without setting one (and anyone wanting to do that can disable the sanity checks easily enough anyway). Some of the checks depend on a MACHINE being specified. This change moves those checks to a separate function so they only run if MACHINE has been set correctly. Both these issues combine to ensure the user sees a sane message and avoids the nasty tracebacks in the bug report referenced above. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Fix broken whitespaceRichard Purdie2011-08-311-6/+6
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Fix broken indentation leading to code being skipped ↵Richard Purdie2011-08-311-19/+19
| | | | | | unintentionally Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Ensure task's variable dependencies are correctly caputred ↵Richard Purdie2011-08-312-1/+16
| | | | | | | | | | | in the sstate checksum [YOCTO #1388] This change is needed to correctly add the dependencies for the do_package task which bitbake is unable to automatically detect itself. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* intltool: Fix perl pathsRichard Purdie2011-08-313-2/+45
| | | | | | | | | | Currently in the native case we have a path that can easily exceed the interpretor limit so use "env nativeperl" in that case. This patch also fixes up the target version's interpretor path but to do this we need to bypass the configure checks. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package: restore correct mangling behavior for locale namesPhil Blundell2011-08-311-2/+2
| | | | | | | | | | This reverts 19fb07bf337e1d724798e2eb4479c35fc45b1941 and restores the behaviour of the code to the way it was prior to 561d875404ef1783f94f37314b6e756766db8411. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/007407.html and subsequent messages. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Fix broken source directoryRichard Purdie2011-08-311-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan2011-08-302-20/+20
| | | | | | | | | | | | | | | | | and eglibc-charmps to variable PACKAGE There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \ and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \ eglibc-locale.inc is to make the above variables to take effect. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: upgrade from 7.3 to 7.3aSebastian Krzyszkowiak2011-08-304-3/+3
| | | | | | | * because 7.3 archive is not fetchable anymore Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libidn_1.22: add SRC_URI checksumsSebastian Krzyszkowiak2011-08-301-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: use ${TARGET_PREFIX}depmodChris Larson2011-08-301-1/+1
| | | | | | | | | | Currently it uses ${TARGET_SYS}-. This is inconsistent, as the recipe and kernel bbclass both use the prefix. While there aren't many cases where the two differ, it is harmless to ensure that we are behaving consistently. Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types_uboot: fix a number of issuesChris Larson2011-08-301-13/+12
| | | | | | | | | | | | - Don't use a variable reference in the IMAGE_DEPENDS - Inherit kernel-arch to get UBOOT_ARCH - Don't include the .bz2 variants, since the base types aren't in oe-core - Add the new types to IMAGE_TYPES - Inherit image_types, to be certain we load after it Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: add ext4 types from OEChris Larson2011-08-301-1/+26
| | | | | Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: update binutils to 2.21.1aPaul Eggleton2011-08-291-3/+3
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* tcmode-default: update binutils versionPaul Eggleton2011-08-291-1/+1
| | | | | | binutils is now at version 2.21.1a. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* binutils: update to 2.21.1aPaul Eggleton2011-08-294-3/+6
| | | | | | | | 2.21.1 has disappeared upstream. There is no ChangeLog information for 2.21.1a, however diff reports only the addition of some cpu/opc files in cgen/ subdirectory; the source code is otherwise identical. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* kernel.bbclass: Find the kernel consistently.Mike Crowe2011-08-261-3/+3
| | | | | | | Use KERNEL_OUTPUT variable to find the generated kernel image rather than duplicating the existing path. This also means it can be overridden simply. Signed-off-by: Mike Crowe <mac@mcrowe.com>
* pango: make x11 support conditional on DISTRO_FEATURESPhil Blundell2011-08-262-5/+7
| | | | | | | This allows pango to build on DISTROs which don't enable x11. Also adjust the SECTION since pango isn't really an X library. Signed-off-by: Phil Blundell <philb@gnu.org>
* opkg-utils: ignore packages disapperaring filelist generationDmitry Eremin-Solenikov2011-08-262-1/+18
| | | | | | | | Package files disappearing during index generation don't cause a fatal error. Make package file disappearing during filelist generation also a non-fatal error. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5Martin Jansa2011-08-263-4/+4
| | | | | | | | * gconv is directory so test -f was always false as reported by Phil Blundell in http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html * -e used also for localedef which is file, just to be more consistent Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* multilib.bbclass: add renaming for INITSCRIPT related variablesDongxiao Xu2011-08-261-1/+2
| | | | | | | | | | Initscripts are missing in target image in multilib case. This commit adds the renaming logic for the related variables in multilib.bbclass. This fixes the no response of mouse/keyboard in target system due to the missing of udev startup script. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elementsDongxiao Xu2011-08-261-1/+1
| | | | | | | Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes missing post install/rm scripts in target image. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etcDongxiao Xu2011-08-261-10/+8
| | | | | | | | | | | | | | | | | | In the orignal logic, the renaming will not work for "FILES_" if defined variables as: PACKAGES = "${PN}" FILES_abc = "/usr/include/abc.h" It is because ${PN} is "lib64-abc" so it will not be contained in pkgrename. This commit enumerates all element in PACKAGES, getting the original packages and multilib packages, then doing renaming for "FILES_", "RDEPENDS_", etc. This fixes a lot of missing files and incorrect dependencies. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* bitbake.conf: Use BPN in FILES pathsDongxiao Xu2011-08-261-2/+2
| | | | | | Use BPN instead of PN in FILES path to support multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* base-passwd: Use BPN in FILES pathsDongxiao Xu2011-08-261-5/+5
| | | | | | | Use BPN instead of PN in FILES paths. This fixes the login issue by /etc/passwd missing in multilib images. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* qt4e-demo-image: Fix bug 999Xiaofeng Yan2011-08-262-0/+75
| | | | | | | | [YOCTO #999] Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform. This image was tested on qemuarm and can run program "qtdemoE". Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* linux-yocto-rt: qemumips: fix boot panicBruce Ashfield2011-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1392] Updating the SRCREVs to pickup: [ mips/rt: convert cascade interrupt non threaded The preempt_rt kernel forces all irq interrupts to be threaded, but special interrupts can be excluded from this conversion. The cascade interrupt should be part of these exceptions. In this case, irq2 is initialized before "kthreadd" task, which converts irq interrupt to threaded. If this irq is threaded, the kernel calls "try_to_wake_up" function to wake up "kthreadd" task, but at that moment, "kthreadd" task has no been initialize and try_to_wake_up wakes up a NULL task. Signed-off-by: Liming Wang <liming.wang@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>