summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* Various: Switch to GNOME_MIRRORTom Rini2011-03-239-9/+9
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* net-tools: Switch to using DEBIAN_MIRRORTom Rini2011-03-231-2/+2
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alphaKhem Raj2011-03-232-4/+10
| | | | | | | | | | | | | | | | Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and /lib/${arch}-linux-gnu so we need that to be added to glibpth in Configure. Currently we set LD=ld in environment for recipes inheriting native class. This overrides the LD settings in the Makefiles of perl and it tries to link by calling ld which does not work since its using -l<x> on commandline and ubuntu linker seems not to look into the new location for these libraries. Its better to use gcc for linking here anyway [With tweak from Tom Rini to use CCLD, not LD] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lib/oe/patch.py: Cosmetic change to avoid bitbake warningKhem Raj2011-03-211-1/+1
| | | | | | bb.mkdirhier should be bb.utils.mkdirhier Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oe.utils: add inherits (sync from OE)Chris Larson2011-03-211-0/+4
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.path: sync up with current OEChris Larson2011-03-211-7/+14
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.patch: add missing importsChris Larson2011-03-211-0/+2
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.utils: add bb, bb.data importsChris Larson2011-03-211-0/+2
| | | | | | | While the metadata can and should rely on bb always being available, this needn't necessarily be the case for imported python modules. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* native: empty PACKAGES_DYNAMIC the way we do PACKAGESChris Larson2011-03-211-0/+2
| | | | | | | | | Without this, as a specific example, one has both gtk+-native and gtk+ runtime providing gdk-pixbuf-loader-*, and you can get bitbake preference conflicts as a result if you have preferences specified for both gtk+ and gtk+-native for other things. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OEMartin Jansa2011-03-211-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie2011-03-2115-15/+16
| | | | | | | | | | | | | | | | | | | There is a problem with the current PACKAGE_EXTRA_ARCHS implementation since its impossible to control which extra architectures sort higher than TARGET_ARCH and which sort lower. In the x86 case for example, TARGET_ARCH might be "i586", i486 should be lower than this and i686 should be higher. There are also complications where its easy to inject duplicate entries into the variable. I tried various versions of this patch and concluded that it was simplest just to force the tune files to include TARGET_ARCH in the list in the right place if they're planning to customise it themselves. Other approaches with appends and prepends just complicated the code for no good reason. The TARGET_ARCH definitions should also move to the tune files but I'll leave this for a separate patch. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel/bbclass: rework kernel and module classes to allow for building ↵Darren Hart2011-03-213-64/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-tree modules The existing infrastructure uses an external build tree which references the kernel source in the work dir. If run with rm work, building external modules will fail. This patch places a configured source tree in sysroots. Striking a balance between minimal size and minimal maintenance is difficult. A fully configured tree is about 500MB after a clean. This version leans on the side of caution and removes only the obviously unecessary parts of the source tree to conserve space, resulting in about 170MB. The arch directories would be some additional pruning we could do. Given examples from the devel package from distributions, I suspect this size could be reduced to 75MB or so, but at the cost of a much more complex recipe which is likely to require a great deal more maintenance to keep current with kernel releases. Care is also taken to clean the hostprogs in scripts, and the modules are responsible for building them as needed. Although it is unclear to me if this is really necessary, especially considering that modules put these bits back as soon as they compile. If we are not generating an sstate package, I suspect we can ignore these. Please try this with your modules and let me know how it does. I tried to take non linux-yocto kernel recipes into account, but I have only tested with linux-yocto and the hello-mod recipe so far. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Acked-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* msmtp: add link sendmail for lsb command checkKang Kai2011-03-211-2/+7
| | | | | | | | | LSB command check will test the exist of sendmail, so make sendmail link to msmtp using update-alternatives class in order to pass the test. Related to [YOCTO #520] Signed-off-by: Kang Kai <kai.kang@windriver.com>
* qemu: enabling the alsa driver needs alsa in DEPENDS, add itKoen Kooi2011-03-211-1/+1
| | | | | | | | | | | | This fixes: | + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370 | | Error: alsa check failed | Make sure to have the alsa libs and headers installed. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: extend to -native for qemu-nativeKoen Kooi2011-03-211-0/+2
| | | | | | | Qemu-needed is needed for the qemu* machines to build, but needs alsa-lib Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: Mark as machine specific after recent rootless X changesRichard Purdie2011-03-191-1/+1
| | | | | | | | Fix summplied by ke.yu@intel.com [YOCTO #906] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Ensure a clean removes setscene stamps as well as the main task stampsRichard Purdie2011-03-191-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* db: Fix path of arm-thumb patchMark Hatle2011-03-182-5/+8
| | | | | | | | | | | Newer versions of patch, such as in Fedora 14, don't like ".." within the middle of the file to be patched path. In order to fix the issue we have to hand apply the patch instead of using the normal mechanisms. Only flaw with the os.system(...) approach is if it fails we don't get any notification or a resolver failure. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* initscripts: Make umountfs a bit more robust, bump PRTom Rini2011-03-182-4/+4
| | | | | | | | Avoids error messages on shutdown. Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* nfs-utils: fix "sh: bad number" error on start/stop of nfsserverPaul Eggleton2011-03-181-1/+1
| | | | | | | | Adds a test to avoid the "sh: bad number" error message during service start or stop of nfsserver when there is no NFS_SERVERS value set in /etc/default/nfsd. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* busybox: enable unmount all featurePaul Eggleton2011-03-182-2/+2
| | | | | | This allows "umount -f -a -r" in our initscripts to actually do something. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* sstate.bbclass: Turn absolute symbolic links into relative ones for sstate ↵Richard Purdie2011-03-181-1/+28
| | | | | | packages Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Increase image overhead factor to account for rpm/zypper ↵Richard Purdie2011-03-181-1/+1
| | | | | | database size Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: check for duplicates in PACKAGE_ARCHSJoshua Lock2011-03-181-0/+13
| | | | | | | | Duplicate entries in PACKAGE_ARCHS causes problems with rootfs generation. For example multiple architecture entries in opkg.conf will confuse the opkg package manager. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* util-linux: Setup for GPLv2 RecipeSaul Wold2011-03-183-9/+137
| | | | | | | | | * add task to remove the GPLv3 lscpu code * Add patch to remove the reference to lscpu in Makfiles Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils-6.9: fix man page building for the gplv2 recipeNitin A Kamble2011-03-182-3/+90
| | | | | | | | | | | Added a new patch: coreutils-6.9/fix_for_manpage_building.patch And the target recipe now depends on the native recipe for the manpage generation. Similar fix may be needed to the GPLv3 version of this recipe. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.Lianhao Lu2011-03-183-2/+4
| | | | | | | [YOCTO #908] Added CPPFLAGS into the environment file and added --sysroot to it. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* slang: specify --x-includes to pass qa sanity checkKevin Tian2011-03-181-1/+2
| | | | | | | | | | slang by default hardcodes a list of host dirs to search for X header files, which may break qa sanity check. Use --x-includes to specify sysroot as the fix. Fix [YOCTO 907] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* bitbake.conf: add POKYBASE to BB_HASHBASE_WHITELISTKevin Tian2011-03-181-1/+1
| | | | | | | | | | or else do_populate_lic varies its checksum when using different source directory, and thus further impact do_package sstate reuse. Fix [YOCTO 894] Possibly Fix [YOCTO 903] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* gettext: Upgrade GPLv2 version to 0.16.1Saul Wold2011-03-1712-577/+666
| | | | | | | | This adds a couple of new patches for handling various autoconf and autolocal issues. It also hardcodes a GETTEXT_MACRO_VERSION to 0.17 to match the native gettext. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* poky.conf: remove gnome-common from WHITELIST_GPLV3Saul Wold2011-03-171-1/+1
| | | | | | | This was due to task-poky-extended pulling in qemu-config for non-GPLv3 poky-image-basic Signed-off-by: Saul Wold <sgw@linux.intel.com>
* poky.conf: add additional Libraries to the LGPLv2 WhitelistSaul Wold2011-03-171-1/+1
| | | | | | | | The ligcc and gcc-runtime both are LGPLv2 libraries although they are part of the large GCC GPLv3 code. There is clearly called out exceptions for these libraries. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* poky-image-basic: remove POKY_BASE_INSTALLSaul Wold2011-03-171-1/+3
| | | | | | | | Removing POKY_BASE_INSTALL and replacing it with task-poky-boot, effectively removes task-poky-extended which was pulling unwanted recipes. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* extended tasks: move binutils from basic to lsbSaul Wold2011-03-172-4/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gnome-vfs: Force acl to be disabled since its not a dependencyRichard Purdie2011-03-171-4/+7
| | | | | | | | | | Without this patch, if acl was build beforehand, the build could find the library resulting in a non-deterministic build. Sadly there is no --disable or --without option available so this approach is the only mechanism available. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ADT: bug fix for nameing and do_patch sequenceLiping Ke2011-03-173-9/+12
| | | | | | | This patch is for fixing the x86-64 image name bug and also, do_patch must be done before do_deploy. Signed-off-by: Liping Ke <liping.ke@intel.com>
* gnu-config: Use perl from the environment, not a hardcoded pathRichard Purdie2011-03-172-3/+3
| | | | | | | | | | | | Using the hardcoded perl binary can cause conflict between the files in the native sysroot and those of the build system perl. By using perl from the environment we can at least ensure a consistent perl environment. Patches taken from OE.dev commits: be21179c5321bd0afb9221f020ac12ad75c86a3b gnu-config: use /usr/bin/env perl instead of /usr/bin/perl in gnu-configize.in edcdefbf6e0675c1bcc1fc4f464f654223380e50 gnu-config: update also bindir change to replace /usr/bin/env instead of /usr/bin/perl Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.incDarren Hart2011-03-171-4/+0
| | | | | | | | | | | Now that the FULL_OPTIMIZATION for gtk+ has been enabled in the core tune-atom.inc, it is no longer necessary to do so for every atom based bsp. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Ke Yu <ke.yu@intel.com> CC: Richard Purdie <richard.purdie@intel.com>
* atom-pc: work around gcc bug for core2Darren Hart2011-03-171-0/+4
| | | | | | | | | | | | Fixes [YOCTO #853] Without these added optimization flags, the matchbox-panel (and possibly other) applications would segfault. This patch applies the changes to all machines derived from atom-pc.conf. [Tweaked by RP to apply to gtk+ only] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4: bring back GPLv2 version 1.4.9 of m4 recipeNitin A Kamble2011-03-173-0/+105
| | | | | | | Note: Downgrading of m4 would require rebuilding of the autoconf Fixed circular depedency with the newer autoconf Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* bison: bring back GPLv2 version 2.3 of bison recipeNitin A Kamble2011-03-172-0/+625
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* sanity: detect if bitbake wrapper is not being used or pseudo is brokenPaul Eggleton2011-03-171-1/+24
| | | | | | | | | | | | * Shows a warning during sanity checking if the scripts/bitbake wrapper is not being used * Check to see if pseudo is working during sanity checking, and if it isn't an error occurs (if we are using the wrapper script and pseudo has been built; otherwise it is a warning). Fixes [YOCTO #653] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* sat-solver: Fix solution DB generation and general cleanupMark Hatle2011-03-176-139/+78
| | | | | | | | | | | Uprev sat-solver to the latest git version. This corrects the solv db generation with RPM5. Refactor the patches for RPM5 support, cleaning up components of the cmake.patch for submission upstream. (Also fix a problem remaining in the upstream with a mismatched function name.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* openjade-native: Run make depend to ensure dependencies are correct and ↵Richard Purdie2011-03-161-0/+6
| | | | | | | | avoid parallel make failures [YOCTO #877] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix missing debug src filesMark Hatle2011-03-161-1/+1
| | | | | | | The previous change used egrep instead of fgrep. We need to use fgrep because there are expression like syntaxes in some file names, we need exact matches. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Disable repackage on upgrade/erasure by defaultMark Hatle2011-03-161-1/+2
| | | | | | | | | | | [YOCTO #787] Disable the repackage on upgrade/erase by default. This removes the warning message: error: cannot create %_repackage_dir /var/spool/repackage/1298783317 Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sat-solver: Add workaround for RPM 5 db constructionMark Hatle2011-03-162-1/+32
| | | | | | | | | | | | | | | | | The first time the database is created on an RPM5 system it works correctly. However any subsequent rebuilds cause an empty database to occur. The following is from Michael Schroeder <mls@suse.de>: > rpmdb2solv contains a hack that makes it use the unchanged already > converted packages. To do this, it needs to get the database id > for every installed packages by reading the "Name" index. This > somehow doesn't seem to work with rpm5. > > As a workaround you can add a "ref = 0;" line at the top of the > repo_add_rpmdb() function in ext/repo_rpmdb.c. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sat-solver: uprev to the latest versionMark Hatle2011-03-162-22/+18
| | | | | | | Upgrade to the latest git version. Also update the cmake.patch to enable debugging in all configurations. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* libzypp: Fix release queryMark Hatle2011-03-162-1/+23
| | | | | | | | | | Libzypp is looking for the "redhat-release" file and using that version number to help adjust the system version. This ensures that there is something on the system that returns a correct value. This patch is likely not necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rootfs_rpm.bbclass: Add additional system configuration to RPM spaceMark Hatle2011-03-161-0/+26
| | | | | | | | | | | The additional configuration should have been there from the beginning. The purpose of these config files is to have a consistent Berkeley DB configuration even if the underlying RPM version changes -- or the RPM macros change. This likely would not cause any problems until we attempted an upgrade of either BDB or RPM. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>