summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* modutils: remove modutilsAnders Darander2011-07-0112-434/+0
| | | | | | | As 2.4 support is being phased out, remove modutils. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bblass: remove get_kernelmajorversionAnders Darander2011-07-011-8/+0
| | | | | | | It is now unused. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* modutils-initscripts: move recipe prior to modutils removalAnders Darander2011-07-013-0/+0
| | | | | Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* modules-init-tools(-cross): update to 3.16Anders Darander2011-07-014-36/+5
| | | | | | | | Update to get support for Linux 3.0. Delete the ignore_arch_directory.patch (as it does not apply to 3.16). Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image|kernel.bblass|module-init-tools: do not use depmod-2.6Anders Darander2011-07-013-12/+6
| | | | | | | | | | Change to only depend on virtual/*/depmod. Change all calls to only use depmod. Do not install depmod as depmod-2.6 Bump PR in module-init-tools-cross. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove support for building 2.4 kernelsAnders Darander2011-07-012-11/+3
| | | | | Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-01122-122/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Start to rework this so specific checks can be easily made ↵Richard Purdie2011-07-011-133/+83
| | | | | | | | | | | | | | | | | | warnings/errors This patch means the warning/error handling can be controlled from local.conf and/or from the distro level and no longer uses numbers but strings instead. The system becomes extensible so that other classes can extend the path QA checks at least. It also removes all th duplicate error message code, we should have *one* good error message. Much work remains including making INSANE_SKIP take the classes of QA test to skip but its a start. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beecrypt: Fix up packaging QA warningsRichard Purdie2011-07-011-0/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Ensure libpython.so ends up in the .dev packageRichard Purdie2011-07-011-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: Fix QA warningsRichard Purdie2011-07-011-6/+2
| | | | | | | This drops the split -dev packaging since it was broken and overcomplex. It ensures .so symlinks end up in the correct package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get ↵Richard Purdie2011-07-011-0/+6
| | | | | | | | packaged This removes a couple of megabytes of QA warnings! Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: Clean up packaging and fix warningsRichard Purdie2011-07-011-29/+15
| | | | | | | | | | | | | There were a number of QA errors being reported when packaging cairo. This patch ensures the debug files go in the -dbg package, the .so development links go into the -dev package, .a files into -staticdev. It also switches back to relying on debian package naming for the library name. Since this is working correctly now the files are in the correct packages, we can simplify the recipe and there is no change in the resulting package names from a package feed perspective. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: sync packaging with OE .devKoen Kooi2011-07-011-12/+14
| | | | | | | This fixes the QA errors and the 2.4.3 vs 2.4.5 copy/paste mistake Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix package qa rpath warnings.Nitin A Kamble2011-07-012-2/+29
| | | | | | | | | | | | Fix these kinds of Package QA warnings before they are converted into fetal errors: WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so This fixes this warning for perl recipe as well as libxml-parser-perl recipe. It is a fix to MakeMaker within perl, so all such perl recipes will get fixed with this perl fix. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* consolekit: Add glib-2.0 to DEPENDSKhem Raj2011-07-011-2/+2
| | | | | | | | | | | | | | | | | Otherwise it ends up with this error | configure: error: Package requirements (dbus-glib-1 >= 0.82 | gobject-2.0 >= 2.14 | gthread-2.0 >= 2.14 | ) were not met: | | No package 'gobject-2.0' found | No package 'gthread-2.0' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd-example: example recipe for using inherit useraddScott Garman2011-07-015-0/+76
| | | | | | | An example recipe for demonstrating/documenting how user and group manipulation is done with 'inherit useradd' Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* useradd.bbclass: new class for managing user/group permissionsScott Garman2011-07-011-0/+156
| | | | | | | This class is to be used by recipes that need to set up specific user/group accounts and set custom file/directory permissions. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* uclibc: Add default uClibc.machine filesKhem Raj2011-07-012-0/+30
| | | | | | | | | | | Add generic machine config file uClibc.machine in topdir should work mostly and odd ones like mips should have a copy of their own as explained Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: update PSEUDO_PASSWD variableScott Garman2011-07-011-1/+1
| | | | | | | | The internal use of PSEUDO_PASSWD adds the /etc path automatically. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Add Realtex rt8192* firmwaresMichael Lippautz2011-06-301-2/+37
| | | | | | | | | | | This patch adds the firmware files for: * rt8192cu * rt8192ce * rt8192su [RP: Changed file modes to 0644] Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Fix bug exposed by udev 168+ for mips architectureKhem Raj2011-06-302-1/+35
| | | | | | | | | | | | | | | newer udev uses sgnalfd + epoll and this exposed a bug in uclibc for mips where SFD_NONBLOCK should be defined with 0200 for mips but was using 04000. This would cause random segfaults in udev during boot process Tested on qemumips/angstrom console-image since angstrom uses udev 171. It worked well when we did not use meta-oe layer because udev in oe-core will then be used which is at version 164. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package.bbclass: Add fixup_permsMark Hatle2011-06-302-10/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new function that is responsible for fixing directory and file permissions, owners and groups during the packaging process. This will fix various issues where two packages may create the same directory and end up with different permissions, owner and/or group. The issue being resolved is that if two packages conflict in their ownership of a directory, the first installed into the rootfs sets the permissions. This leads to a least potentially non-deterministic filesystems, at worst security defects. The user can specify their own settings via the configuration files specified in FILESYSTEM_PERMS_TABLES. If this is not defined, it will fall back to loading files/fs-perms.txt from BBPATH. The format of this file is documented within the file. By default all of the system directories, specified in bitbake.conf, will be fixed to be 0755, root, root. The fs-perms.txt contains a few default entries to correct documentation, locale, headers and debug sources. It was discovered these are often incorrect due to being directly copied from the build user environment. The entries needed to match the base-files package have also been added. Also tweak a couple of warnings to provide more diagnostic information. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* binutils: allow distro to select gold as default linkerPhil Blundell2011-06-302-2/+8
| | | | | | | But ensure that gcc-cross-intermediate always uses ld.bfd since (e)glibc won't build with gold. Signed-off-by: Phil Blundell <philb@gnu.org>
* uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distroKhem Raj2011-06-302-157/+1
| | | | | | | Remove unused uClibc.distro from topdir. It just creates confusion Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATSKhem Raj2011-06-302-0/+30
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj2011-06-301-1/+1
| | | | | | | ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN therefore we tame the superior Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uclibc-config.inc: Fix regexp to determine big-endian armKhem Raj2011-06-301-1/+1
| | | | | | | Without this even arm-*-* was being treated as big endian but normal convention is the arm-*-* is little endian Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uclibc: Remove redundant machine/arch configsKhem Raj2011-06-3014-840/+0
| | | | | | | | | | | | | | | | | | | Big endian counterparts are not needed since we already add the proper endianness to final config as seen in uclibc-config.inc The difference between arm and armv5te configs were also superficial since all it did was select arm926t which made sure that right mtune and march flags were passed to gcc when building uclibc We already do that via passing them in UCLIBC_EXTRA_CFLAGS. Similarly for other architectures the features are really taken care of in config mangler and machine config fragments are no longer needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* shadow-native: fix creation of home directoriesScott Garman2011-06-301-27/+98
| | | | | | | | | | | | Pseudo was recently changed so that when system() calls are made after a chroot(), the host binaries can no longer be found, breaking the system("mkdir -p") approach when useradd creates home directories. Instead, use mkdir(2) to create home directories with a helper function to ensure parent directories get created. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using ↵Jessica Zhang2011-06-301-0/+3
| | | | | | correct libtool 2.4 Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* consolekit 0.4.5: remove patch that forcibly disables consolekitKoen Kooi2011-06-302-22/+3
| | | | | | | | | | Polkit support is actually needed for consolekit to function properly, without you get things like: ** (gnome-panel:547): WARNING **: Could not ask session manager if shut down is available: Timeout was reached Various applications will timeout and less well written ones will crash (e.g. the clock applet). Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* consolekit 0.4.5: add pam support based on distro featuresKoen Kooi2011-06-301-3/+10
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* webkit-gtk: fix packagingKoen Kooi2011-06-301-4/+5
| | | | | | Somewhere in the past webkit changed from webkit-x to webkitgtk-x but the person updating the recipe didn't catch that Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* dbus: update to 1.4.12Koen Kooi2011-06-305-42/+48
| | | | | | | | | | The tmpdir patch has been regenerated and can now be applied with git-am, no functional changes. The biggest improvement is that dbus will log to syslog nowadays: [ 22.238708] <29>dbus[237]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* linux-libc-headers: add 2.6.39Koen Kooi2011-06-301-0/+49
| | | | The 2.6.37.2 version is kept to allow the qemu kernels and libc headers version to match
* ccache: Remove duplicate 'ccache.inc' from 'meta/class/'Wenzong Fan2011-06-301-11/+0
| | | | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* ccache: Add 'ccache' for SDK imagesWenzong Fan2011-06-301-0/+1
| | | | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* ccache: Set CCACHE on a per recipe basisWenzong Fan2011-06-302-1/+2
| | | | | | | | | Set 'CCACHE_DIR' in 'bitbake.conf' and create the dirs for every package before task 'do_configure' started. [RP: Merge dirs variables into one] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Integrate ccache-native to pokyWenzong Fan2011-06-302-0/+24
| | | | | | | Add ccache as a native tool and put its recipe files to: 'meta/recipes-devtools/ccache'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* Add umask task controlMark Hatle2011-06-305-0/+11
| | | | | | | | | | | | | | | | | | | Bitbake now allows the umask to be specified per task. The following tasks will have a umask of 022 set by default: do_configure do_compile do_install do_package do_populate_sysroot do_rootfs do_configure and do_compile need a umask of 022 set because -many- recipes directly copy generated files out of recipe's build directory. Instead of fixing each existing and future recipe, it was shown to be much easier to just set the umask. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-firmware: Fix file permissionsMark Hatle2011-06-301-3/+3
| | | | | | | The firmware was installed 0666 which could have been a security issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* scripts/runqemu: enable btrfsNitin A Kamble2011-06-302-9/+9
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* base-files: add btrfs to /etc/filesystemsNitin A Kamble2011-06-302-1/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* image_types.bbclass: enable btrfs as one of the image typeNitin A Kamble2011-06-301-0/+7
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* image-types.bbclass: get the image size in the whole numberNitin A Kamble2011-06-301-1/+1
| | | | | | Avoid fractions like 80.72 and round them to whole numbers. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* sanity.bbclass: pass the data object to the less frequent test harnessesJoshua Lock2011-06-301-8/+8
| | | | | | | | | By passing the data object to the less frequently run test harnesses (check_sanity_tmpdir_change(), check_sanity_sstate_dir_change() and check_sanity_version_change()) we can run tests against BitBake data here too. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* distro_tracking_field: update recipe maintainerYu Ke2011-06-301-56/+55
| | | | | | reassign Qing's recipe to other team member Signed-off-by: Yu Ke <ke.yu@intel.com>
* btrfs-tools: new recipe for tools to operate on btrfs imagesNitin A Kamble2011-06-3026-0/+4687
| | | | | | | | | | | | | | Added these patches to the recipe to get it to work as desired: Upstream patches from tmp & for-dragonn branches of repository http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs-unstable.git Also included the debian patches. Nitin's patch to make the makefile cross friendly And Xin Zhong's patch to improve mkfs.btrfs Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* kernel: move menuconfig task after configureDarren Hart2011-06-301-1/+1
| | | | | | | | | | | | | Fixes [YOCTO 1136] linux-yocto adds some configure steps that are necessary to prepare the source tree after the do_patch task. This causes a "-c menuconfig" to fail in a clean build tree. Typical use of menuconfig should be to modify the config provided by the recipe being built. It therefor makes sense for the menuconfig task to come after the configure task. This also happens to fix the issue seen with the linux-yocto kernel recipe. Signed-off-by: Darren Hart <dvhart@linux.intel.com>