summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* python: improve packagingMartin Jansa2011-11-073-57/+55
| | | | | | | | | | | | | | | * move 2to3 to separate package and include lib2to3 (was in python-misc) * fix pattern for python-unittest (was in python-misc because it's in subdirectory now) * add pydoc_data to python-pydoc (was in python-misc) * add more stuff to smtpd, audio, codecs, ctypes, html, io, json, mime, pickle, stringold, xmlrpc * move all FILES_ details from python recipe to manifest generator so it's in one place * added manual line break in FILES_${PN}-core, because git send-email doesn't like too long lines $ git send-email -1 dfaae65839f0ab23e5b2ae2a68df0f370bca84d2 fatal: /tmp/k8zbDajUNP/0001-python-improve-packaging.patch: 64: patch contains a line longer than 998 characters Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* distro_tracking_fields: updates for sudo, mtools, grep, and opensshScott Garman2011-11-071-16/+16
| | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* image_types bbclass: use 4k bytes per inode so we don't run out of space ↵Koen Kooi2011-11-071-7/+7
| | | | | | | | immediately genext2fs only creates the minimum number of inodes, after this patch it will scale with the rootfs size Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libcense.bbclass: fix OpenSSL mappingMartin Jansa2011-11-072-2/+2
| | | | | | | | | | [YOCTO #1712] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Fixed YOCTO bug format and location Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tslib: fix the bug with loading libts-1.0.soDmitry Cherukhin2011-11-072-1/+59
| | | | | | | | Touchpad did not work in the qtdemoE if the library libts-1.0.so was not loaded manually using the LD_PRELOAD variable. This problem was fixed in the tslib mainline https://github.com/kergoth/tslib after the 1.0 release. We just import the patch. Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
* udev-164: Update init script to do an explicit add actionKumar Gala2011-11-072-3/+3
| | | | | | | | | | | With udev 152 or greater the default action for 'udevadm trigger' was modified to be 'change' instead of 'add. To ensure initial coldplug events at boot are seen be scripts the are expecting them as 'add' events we invoke udevadm with an explicit '--action=add'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* buildstats: Fix for buildstats on tmpfsElizabeth Flanagan2011-11-071-11/+26
| | | | | | | | | | | | | | | | | | | tmpfs/encryptfs/(and most likely, but not confirmed)ramfs TMPDIRs cause diskstats to choke. No device entry ends up in /proc/diskstats for these fs types, which ends up causing the failure. The short term solution is to exclude these fs types from diskstat collection. Longer term we will want to see if we can collect meaningful diskio for each of these, and other, use cases, but for this cleans up Bug 1700. [YOCTO #1700] Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Corrected YOCTO bug location and format Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dtc: Add patch to correctly install shared libraries and linksSaul Wold2011-11-072-1/+17
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dtc: update to latest git versionMatthew McClintock2011-11-074-82/+9
| | | | | | | | Also remove patches that are no longer needed, as well as use the installation that is provided by the Makefile. Put all the extra stuff in a new dtc-misc package Signed-off-by: Matthew McClintock <msm@freescale.com>
* cogl: COPYING file Updated FSF AddressSaul Wold2011-11-071-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* scripts/combo-layer: skip empty commitsPaul Eggleton2011-11-071-12/+15
| | | | | | | | | If a commit is empty (for example, commits brought over from svn where only properties were changed) then attempting to apply it with "git am" will result in the error "Patch format detection failed", so skip it instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: improve some messagesPaul Eggleton2011-11-071-8/+8
| | | | | | Fix some grammar. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: auto-commit updated config filePaul Eggleton2011-11-071-0/+12
| | | | | | | | | | | | | If the config file is tracked within the combo-layer repository and it is updated at the end of the "update" operation (because last_revision has been changed), then automatically commit the file. This ensures that multiple people can perform updates on different machines without the last revision information going missing. (If the file is outside the repository or is masked via .gitignore, this will do nothing.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: fix dirty repo checkPaul Eggleton2011-11-071-6/+2
| | | | | | | Fix the dirty repository check to detect any changes, including untracked files and uncommitted changes in the index. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: make component repo branch configurablePaul Eggleton2011-11-071-8/+14
| | | | | | | Add an optional per-component branch setting to allow specifying the branch instead of always using master. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: tidy up config examplePaul Eggleton2011-11-072-51/+19
| | | | | | | Move all example configuration to the example config file, tidy up a few long lines and fix some grammar. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: make init set up initial component dataPaul Eggleton2011-11-072-4/+23
| | | | | | | | | | The "init" subcommand will now copy the current state of each component repository into the combo layer repository, set last_revision for each component, and then use "git add" to set up the initial commit (but will not actually make the initial commit - that is left up to the user). Also take the opportunity to bump the version number. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* scripts/combo-layer: ignore merge commitsPaul Eggleton2011-11-071-1/+1
| | | | | | | | | | | The combo-layer tool had trouble handling merge commits as they were included in the revision list but not the patches; these are now excluded from the revision list. Note however that this will not handle merge commits that resolved a conflict; since "git format-patch" cannot construct a linear change history over such merges there is nothing we can currently do with these. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* bitbake.conf: Drop remaining TERMCMD pieces and document OE_TERMINAL usage ↵Richard Purdie2011-11-043-41/+4
| | | | | | | | | instead Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Yes, this one is against meta-yocto, I'll fix it to apply the same change to OE-Core's local.conf.sample in the final version]
* patch: Convert to use oe_terminalRichard Purdie2011-11-042-12/+9
| | | | | | | | | Unfortunately we can't access oe_terminal directly from patch.py so we have to pass in the correct terminal function pointer. [YOCTO #1587] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Ensure we fully reautoconf the recipes so site data is usedRichard Purdie2011-11-043-8/+14
| | | | | | | | This ensures bug 487 (missing job control functionality) really gets fixed. [YOCTO #487] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: update to 0.83Koen Kooi2011-11-041-6/+10
| | | | | | | Fetch from github, kernel.org uri is gone Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk bbclass: special-case base-passwd preinst to run firstKoen Kooi2011-11-041-0/+6
| | | | | | | Preinst are run alphabetically which breaks when e.g. avahi-daemon needs /etc/passwd present. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix useradd race conditionKoen Kooi2011-11-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Avahi doesn't work at boot because of: + sh /OE/../rootfs/var/lib/opkg/info/avahi-daemon.preinst Running useradd commands... grep: /OE/../rootfs/etc/passwd: No such file or directory That is due to: Package: avahi-daemon Version: 0.6.30-r9.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), libexpat1 (>= 2.0.1) After this patch: Package: avahi-daemon Version: 0.6.30-r10.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), shadow, libexpat1 (>= 2.0.1), base-passwd This also changes ${PN}-daemon to avahi-daemon to be consistent with the PACKAGES/FILES lines below Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: glib-2.0: don't apply qsort_r test removable patch for native versionSimon Busch2011-11-021-2/+5
| | | | | | | | | | | | | | On some buildhosts with an older version of native glib-2.0 installed (in this case 2.16.6) the qsort_r test removable patch leads to a compilation error: | ./.libs/libglib-2.0.so: undefined reference to `qsort_r' | collect2: ld returned 1 exit status This patch fixes this so the patch gets only applied for the native version of this recipe. Signed-off-by: Simon Busch <morphis@gravedo.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Switch to disabling nls and reducing -native build dependencies to ↵Richard Purdie2011-11-026-1/+699
| | | | | | | | | | | | | | | | | | | | | | | | | | | a set of pre built m4 macros When analysing our build performance, its apparent that binutils-cross takes an age to get built. This is due to its dependencies on flex-native and bison-native which in turn depend on gettext-native. gettext-native is problematic as it has a significant dependency chain of its own and takes an age to build. What is worse is that we never care about the native language support in -native and -cross packages since we always force the C locale. This patch therefore disables nls for all -native packages (its already disabled for -cross) and adds a new gettext-minimal-native package which contains the m4 macros to keep autoconf/automake happy. This means we gain a significant build time speedup by the removal of gettext-native from most dependency chains (only being part of gettext for the target now). For now the LICENCE field says GPLv3, the macros are actually under a FSF MIT like licence so we need to update this part of the patch in due course. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lame: add SRC_URI checksumsMartin Jansa2011-11-021-0/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxslt: use Copyright in LIC_FILES_CHKSUM instead of COPYINGMartin Jansa2011-11-021-2/+2
| | | | | | | | | | | | | | | * COPYING is replaced by symlink to Copyright during do_configure (see configure.in), then we end with link to nonexistent file like this: OE om-gta02@shr ~/shr-core $ ll tmp/deploy/licenses/libxslt/ total 40 drwxr-xr-x 2 bitbake bitbake 4096 Nov 2 00:27 ./ drwxr-xr-x 818 bitbake bitbake 32768 Nov 2 00:27 ../ lrwxrwxrwx 1 bitbake bitbake 9 Nov 2 00:27 COPYING -> Copyright lrwxrwxrwx 1 bitbake bitbake 52 Nov 2 00:27 generic_MIT -> /OE/shr-core/tmp/deploy/licenses/common-licenses/MIT Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: Update the Month to 'MMM'Wenzong Fan2011-11-021-4/+4
| | | | | | | Use format 'MMM' instead of spell out a Month. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: ensure that the useradd shell is set to /bin/falseSaul Wold2011-11-021-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* connman: Use useradd to add the xuser for DBusSaul Wold2011-11-022-2/+7
| | | | | | | | | | | | | Connmand needs to start as the xuser as defined in the dbus configuration and needs to share this with rootless X. Since it's possible for connmand to run on a sytem without rootless X we still need to create the user here. Useradd will fail gracefully if the user already exists. Fixes: [YOCTO #1699] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* xserver-nodm-init: Use useradd to add the xuser for rootless XSaul Wold2011-11-021-18/+10
| | | | | | | | | This also address an issue with dbus and connman, since connmand needs to start as the xuser in the rootless X situation. Fixes: [YOCTO #1699] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* avahi: use useradd to create avahi user for avahi-daemonSaul Wold2011-11-021-7/+9
| | | | | | | | | | | | DBus was failing to start correct since the avahi user was not setup. Keep the dbus reload since this could still be installed as a package an would require a dbus restart. Fixes: [YOCTO #1699] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Fix HOMEPAGE values in libzypp and sat-solver .bb filesRobert P. J. Day2011-11-012-2/+2
| | | | | | | | | Fix obvious typoes in .bb files for libzypp and sat-solver packages, and update the HOMEPAGE for sat-solver to refer to the sat-solver home page itself, rather than the libzypp home page. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-macros: Drop unneeded dependenciesRichard Purdie2011-11-011-4/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: remove older recipesBruce Ashfield2011-11-012-14/+0
| | | | | | | | | | The default libc-headers is v3.1 and building against the new headers but booting an older kernel has been shown to work. Older 2.6 based header builds can easily be reproduced, but having all the old recipe iterations available is not required. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: provide 3.0.x and 3.1 headersBruce Ashfield2011-11-014-5/+28
| | | | | | | | | | | | Provide both a 3.0.x and a 3.1 set of headers to the toolchain. Compatibility is maintained with older 2.6 headers by creating a new variable that changes the SRC_URI based on the major version number of the kernel. Built and booted with 2.6.37.2, 3.0.8 and 3.1 linux-libc-headers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Split out consolekit and udev-aclHolger Hans Peter Freyther2011-11-012-1/+7
| | | | | | | | | | | This can safe another megabyte on the tar.bz2 of the minimal image. udev-acl is linking to glibc which will pull in libglib, libgio, libgthread, libgmodule, libgobject. 2.0M 2011-07-02 01:57 after.tar.bz2 3.0M 2011-07-02 01:52 before.tar.bz2 Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
* udev: Fix the packaging of libgudevHolger Hans Peter Freyther2011-11-012-3/+3
| | | | | | | Make the libgudev so go to the libgudev package, this is already fixed in meta-oe. Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
* linux-libc-headers: factor common code into linux-libc-headers.incBruce Ashfield2011-11-013-95/+49
| | | | | | | | | Each time a new linux-libc-headers is created the same code is cloned. Placing the common functionality in the .inc file simplies each recipe and make maintenance easier. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Ensure localstatedir is added to the packageRichard Purdie2011-11-012-3/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix various problemsRichard Purdie2011-11-011-6/+27
| | | | | | | | | | | | | | | | | | Before this change: a) Ownership and permissions of files copied from packages to package-split could get lost during the copy process. This change ensures they are preserved. b) Ownership and permissions of directories could also get lost. Most of the complexity in this patch is addressing this problem ensuring newly created directories match the source ones being copied. c) There was no warning about directories being created but not shipped by any package. This patch fixes all of the above issues. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Use $D not ${D} in the postinstallRichard Purdie2011-11-011-1/+1
| | | | | | | We need to do this as we don't want bitbake to expand the variable but use the shell variable instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_ipk: There is no longer any need to force owners/groups to rootRichard Purdie2011-11-012-4/+3
| | | | | | | | | Since the packaging process is run under pseudo, the default user is now root so there is no longer any need to hardcode this. Also take this opportunity to move the variable to package_ipk.bbclass since this is the only user of it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: Add missing glib-2.0 dependencyRichard Purdie2011-11-011-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Add missing PR bumpRichard Purdie2011-11-011-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/terminal: add support for XFCE's terminal emulatorJoshua Lock2011-11-011-0/+23
| | | | | | | | That's Terminal on Fedora and xfce4-terminal on Ubuntu/Debian... This could get interesting! Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields.inc: standardize date formatScott Garman2011-11-011-298/+298
| | | | | | | | | Convert date formats to strftime format %b %d, %Y (e.g, Jan 01, 1970) Note: dates posted as MM/YYYY (without day info) were converted to become the first of the month. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* connman: add xtables_version to fix xtables API changeDongxiao Xu2011-11-012-1/+66
| | | | | | | | | | After upgrade iptables to a newer version, some of its API are changed. Therefore we add related fixes to the current connman. Currently we don't upgrade connman since kernel.org still doesn't work and we could not fetch the newer sources. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* iptables: upgrade to version 1.4.12.1Dongxiao Xu2011-11-011-7/+9
| | | | | | | | | | | | Change do_configure_prepend() since some m4 file is needed when doing configuration. Define correct FILE for iptables and iptables-dbg packages. License checksum changed (not essential part), and the license is still GPLv2. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>