aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-09-16debian/_ipk.bbclass: Added multilib support for package_name_hook()Lianhao Lu
[YOCTO #1486] 1. Added multilib support for package_name_hook() so MLPREFIX is kept in the final package name. 2. clean the output of log_check_ipk. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-09-16package.bbclass: fix spurious 'installed but not shipped' warningTom Zanussi
For packages that have files installed that aren't in a subdirectory, the following build WARNING is emitted (this for initramfs-live-boot as an example): WARNING: For recipe initramfs-live-boot, the following files were installed but not shipped in any package: WARNING: init The problem is that the filenames added to the 'seen' array are always added with a path separator at the beginning of the filename, but when the package dir is walked for comparison, any files at the top-level will be missing the beginning path separator and the comparison will fail despite the fact that the file was actually packaged. This because the remainder between the dirname and the dvar base name is used in the path join and in the case of files at the top-level, the remainder is the empty string, where it should be '/' for comparison purposes. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16qemu: Fix reversed BGR values on ARM Versatile emulationRichard Purdie
[YOCTO #1469] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16Prevent IMAGE_FEATURES from contaminating initrdDarren Hart
Set IMAGE_FEATURES="" in core-image-initramfs to prevent the setting of things like EXTRA_IMAGE_FEATURES in local.conf from contaminating the initrd with features meant for the rootfs. Suggested-by: Richard Purdie <richardpurdie@linuxfoundation.org> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16Set an explicit path for the initrd scriptsDarren Hart
If we don't set PATH, then the shell will specify one for us. Busybox adds the sbin dirs, but bash does not. I hit an issue where bash (among other things) ended up in my initrd and the boot scripts failed due to a bad default PATH. While that is a separate issue, we should not be at the mercy of the shell's default PATH. Update the initrdscripts to all specify: PATH=/sbin:/bin:/usr/sbin:/usr/bin Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16eglibc-2.13: Replace oewarn with bbwarnKhem Raj
oewarn does not exist Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16initramfs-live-install: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16grub_1.99: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16ttf-bitstream-vera_1.10: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16liberation-fonts_1.06: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16liberation-fonts_1.04: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16web: Fix SRCREV due to lost commit in web-satoSaul Wold
[YOCTO #1454] This SRCREV fixes the number of parameters Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16distro-tracking: Update package aliasDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15liboil-0.3.17: add upstream Fix-enable-vfp-flag patchBernhard Guillon
Add upstream 1921498bcc06408e8b051a3a9e9ce4182998f748 patch to fix compiling with vfp Without this patch this error occours on arm with vfp and softfloat: | math_vfp_asm.S:273: Error: selected processor does not support `fnegd d12,d4' | math_vfp_asm.S:273: Error: selected processor does not support `fstmiad r0!,{d12,d13,d14,d15}' | math_vfp_asm.S:273: Error: selected processor does not support `fmxr fpscr,lr' | make[3]: *** [math_vfp_asm.lo] Error 1 Signed-off-by: Bernhard Guillon <Bernhard.Guillon@hale.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15subversion: remove neon-detection.patch and --with-neon optionMartin Jansa
* upstream detection seems to be doing its job right now * I don't see how this is supposed to work -- neon_config="$withval/bin/neon-config" -+ neon_config="env env PKG_CONFIG_PATH=${withval}:${PKG_CONFIG_PATH} pkg-config neon" when neon_config should be sysroots/nokia900/usr/bin/crossscripts/neon-config " Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-15task-core-boot: allow distributions to define login and init managerMartin Jansa
* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-15openssh: update init script to create ECDSA keys if neededMartin Jansa
* Starting with openssh-5.8p1, the server will default to a newer key algorithm (ECDSA). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-15cml1/kernel: Update do_menuconfig to use oe.terminal()Richard Purdie
The recent environment fixes broke the menuconfig task since it couldn't access variables like DISPLAY. This patch updates it to use oe.terminal instead allowing it to work again. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15distro-tracking: Update aliasZhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-09-15distro_tracking: update package aliasDongxiao Xu
Update package alias which exist in other two distributions. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-09-15task-core-sdk: change task-core -> task-core-consoleSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-15grub2: new recipeTom Zanussi
This adds the grub-1.98 from meta-intel while upgrading it to 1.99. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-09-15initramfs-live-install: add support for grub2Tom Zanussi
grub2 needs a different set of install steps from grub 0.97. This adds them to init-install.sh and adds an install-time check that determines which version is being used and which steps to use depending on the version of grub selected. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-09-15linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.cBruce Ashfield
Merging the following commit for the -rt machines: [ preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt kernels. Restore the move to non-static from commit 6857336c7fddaf460a13adc0c395698fcf9423ff. Reported-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> ] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-09-15linux-yocto: split e100 and e1000 supportBruce Ashfield
Merging the following meta changes: 12574e5 meta: create seperate feature for 10/100 LAN support c8b37bf meta: Remove 10/100 LAN support. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-09-15linux-yocto: move common tasks to a common locationBruce Ashfield
During the initial development of the linux-yocto recipes there were several additional tasks that needed to be run in any inheriting recipe. At that time, they didn't seem to fire if they were in the include file versus the recipes themselves. As it turns out, these tasks do work fine if placed in the linux-yocto.inc file, and the rest of the recipes can be simplified as a result. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-09-15task-core: split into task-core-console and task-core-x11Paul Eggleton
[YOCTO #1481] Since tasks are referred to almost exclusively via RDEPENDS, and bitbake will build an entire task recipe when only one of its task packages are actually needed, building a console-only image that uses task-core-apps-console (or less directly, has apps-console in its IMAGE_FEATURES) will cause a build of a whole list of X11 applications that aren't needed. Splitting the task-core recipe into X11 and console portions prevents this issue. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-15distro_tracking_field: add distro checking fieldYu Ke
add the missing distro checking field for some recipes Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-09-15qt4: add blacklist-diginotar-certs patchEric Bénard
- this patch comes from Nokia and blacklist all DigiNotar intermediates and root certificates, more details are available here : http://labs.qt.nokia.com/2011/09/07/what-the-diginotar-security-breach-means-for-qt-users-continued/ Signed-off-by: Eric Bénard <eric@eukrea.com>
2011-09-15package_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae buildDexuan Cui
[YOCTO #1070] Currently with deb packaging, we have 2 issues when running "bitbake meta-toolchain-gmae". 1) when MACHINE="qemux86", SDKMACHINE="i686", INSTALL_BASEARCH_DEB is "i686", too. This causes the following ERROR: | E: Couldn't find package task-sdk-host-nativesdk NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed This is becasue: due to the DPKG_ARCH mapping, we create such a deb package tmp/deploy/deb/i686-nativesdk/task-sdk-host-nativesdk_1.0-r10_i386.deb; dpkg can't recoginze the package. We need to map INSTALL_BASEARCH_DEB in the same way. 2) when MACHINE="qemux86", SDKMACHINE="x86_64", INSTALL_BASEARCH_DEB is "x86_64", too. We get such an ERROR: | E: Couldn't find package task-cross-canadian-i586 NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed This is because: dpkg can't recognize the generated package tmp/deploy/deb/x86_64-nativesdk/task-cross-canadian-i586_1.0-r0_i386.deb Here the "i386" suffix is incorrect and should be "x86_64" -- the i386 comes from the line DPKG_ARCH_i586 ?= "i386" in package_deb.bbclass. However, for canadian package, actually here the overriding of DPKG (from "x86-64" to "i386") should not happen -- it accidently happens just because TARGET_ARCH exists in OVERRIDES. We can move the overriding logic to the anonymous python function to work this around. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-09-15Uprev to latest version of prelink_git, fixing TLS issuesMark Hatle
[YOCTO #1473] From the upstream cross prelink respository: Fix printf typecast problem Without this fix the printed TLS(...) information is incorrect, which causes the core prelinker code to incorrectly prelink. This bug triggers primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm targets. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-14core-image-minimal: Add missing POKY_EXTRA_IMAGE variableRichard Purdie
Whilst this needs renaming it at least brings this image into line with the other images and ensures consistent behaviour. Renaming can take place at a future point. This fixes the problem where extra packages could be added to other image types using this varibale but not in the case of the minimal image. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13libzypp: move package-manger to it own packageSaul Wold
[YOCTO #1234] This moves a couple of files to a pkgmgt package so that they will not be installed by default. This removes the Add/Remove Software Icon from rpm based rootfs. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-13dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternativesDexuan Cui
[YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13multilib: Remove recipe from multilib.conf that inherits allarchDongxiao Xu
Recipes like update-rc.d and qemu-config inherit "allarch", thus we shouldn't add multilib BBCLASSEXTEND for them in multilib.conf. Besides, we need to add multilib packages as the RPROVIDER contents for those recipes, in order to avoid the NoProvider error when parsing. [YOCTO #1471] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13base.bbclass: do not expand PREFERRED_PROVIDER for kernel recipeDongxiao Xu
With Richard's commit f9c36392, we only build one kernel for a system, thus we shouldn't extend PREFERRED_PROVIDER for virtual/kernel. [YOCTO #1471] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13Revert "pango: use qemu to generate pango.modules during rootfs construction"Richard Purdie
This reverts commit 62381fd3a135318794f14dc3740b04facd32446e. This commit has issues with the rpm rootfs generation which need resolving before it can be accepted.
2011-09-13opensp: Fix hard path in native nsgmls.Zhai Edwin
This relocation issues caused following bug and introduce one partial fix bb024d: [YOCTO #1440] But the environment val hacking is not working all the time, as nsgmsl may append wrong path in some case. This fix use search directory "-D" as solution. And more important, change the iputils' way to make doc: Use the sysid in current directory instead of parent directory, as "../" is also appended to the search directory then lead searching failure. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> CC: Saul Would <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09shadow: add patch for useradd lossagePhil Blundell
This fixes (or, at least, papers over) a failure in do_install for recipes which inherit useradd.bbclass. Rewinding optind in this way is not entirely portable but in practice it seems to work on GNU-ish build hosts at least. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09bitbake.conf: Default to explicitly setting the variable to disable pseudoRichard Purdie
If we don't do this, sometimes pseudo can end up enabling itself when it isn't required. Setting this value into the environment explicitly ensures that does not happen. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09imagetest-qemu/runqueue: Since we no longer support BUILDDIR, use TMPDIRRichard Purdie
Commit 993672fa2739794a6dd0dbd7bb232fa60522b897 removed the BUILDDIR support from runqueue which broke the imagetest-qemu integration. We now therefore need to set TMPDIR and pass this through the environment to ensure the runqueue script finds the right locations without running bitbake directly. This patch also adds a sleep to the qemu command in the error case so that this remains on the screen for a period of time so the user can see errors more easily. This change unbreaks automated testing failures on the autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09Revert "opensp: Fix sstate relocation issue"Saul Wold
This patch causes the linuxdoc-tools-native to fail, cause it's overriding the SGML_CATALOG_FILES, need to find a better way to set the CATALOG_FILE information for opensp / nsgmls Signed-off-by: Saul Wold <sgw@linux.intel.com> This reverts commit bb024d7a8c771c189b94b1ae177e29f3c318e236. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09terminal.bbclass: Improve environment handlingRichard Purdie
Currently the environment handling for terminals is inconsistent. There are two fixes here: a) Ensure the environment is setup before all oe.terminal call b) Actually set the environment before the spawn calls since we need variables like DISPLAY when the commands are being executed, not just within the terminal environment. If this doesn't happen, DISPLAY can end up not set with the errors that brings with it when trying to run X commands. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-08python-native: add link for python2Saul Wold
Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-08base.bbclass: fix substring matching in COMMERCIAL_LICENSEPaul Eggleton
Previously, if for example you had a package called "mx", and a second package called "libomxil" listed in COMMERCIAL_LICENSE (without mx being listed there), it would match mx as being commercially licensed because mx is a substring of libomxil. Fix the search to ensure it only matches the listed package name exactly. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07avahi: only use gtk if DISTRO_FEATURES includes x11Phil Blundell
Otherwise avahi isn't buildable for an x11-less DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07useradd.bbclass: use correct value for $D in postinst functionsPhil Blundell
This corrects the location of the password file used during package installation. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009183.html and subsequent discussion. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07resolvconf: switch to 1.59 as 1.58 was removed from debian ftpEric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07sstate: Avoid contention between sstate packagesRichard Purdie
If several sstate packages are decompressing at the same time, they can conflict over the "fixmepath". If two packages try to write to this at the same time it results in an error. To avoid this we remove the file once we've finished processing it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07gettext: use included libxml and libcrocoSaul Wold
[YOCTO #1400] By using the included libxml and libcroco, we do not create additional on this core library. There was an ordering issue that when one library was not built, but gettext detected the other library a compliation would fail, this will force it to always use the included libraries. Signed-off-by: Saul Wold <sgw@linux.intel.com>