summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* bitbake.conf: drop STAGING_PYDIRMartin Jansa2011-11-011-1/+0
| | | | | | | * seems unused in oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking: polkit, libsndfile, etcDongxiao Xu2011-10-311-33/+33
| | | | | | | | | | | | | | polkit libsndfile1 neon netbase libogg telepathy-idle telepathy-glib telepathy-mission-control iptables Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* telepathy-mission-control: Upgrade to version 5.9.3Dongxiao Xu2011-10-311-2/+2
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* telepathy-glib: upgrade to version 0.16.0Dongxiao Xu2011-10-311-2/+2
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* telepathy-idle: upgrade to version 0.1.10Dongxiao Xu2011-10-311-2/+2
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* libogg: upgrade to version 1.3.0Dongxiao Xu2011-10-311-2/+2
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* netbase: upgrade to version 4.46Dongxiao Xu2011-10-3112-3/+3
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* neon: upgrade to version 0.29.6Dongxiao Xu2011-10-312-3/+3
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* libsndfile1: upgrade to version 1.0.25Dongxiao Xu2011-10-311-3/+3
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* polkit: upgrade to latest 0.102Dongxiao Xu2011-10-313-4/+4
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* wget: Remove pointless codeRichard Purdie2011-10-311-4/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation-audit.sh: script for auditing documentation build statusScott Garman2011-10-311-0/+92
| | | | | | | | | | | | | | | This script is used to enumerate which recipes are building documentation. It does this by checking that a -doc package gets generated and contains files. The script works by building each recipe using the output from bitbake -s. It will generate several report files, listing which recipes include documentation, which are missing documentation, and which did not successfully build at all. Signed-off-by: Scott Garman <scott.a.garman@intel.com>