summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-07-01modules-init-tools(-cross): update to 3.16Anders Darander4
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>
2011-07-01image|kernel.bblass|module-init-tools: do not use depmod-2.6Anders Darander3
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>
2011-07-01Remove support for building 2.4 kernelsAnders Darander2
Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie122
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>
2011-07-01insane.bbclass: Start to rework this so specific checks can be easily made ↵Richard Purdie1
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>
2011-07-01beecrypt: Fix up packaging QA warningsRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01python: Ensure libpython.so ends up in the .dev packageRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01libpcre: Fix QA warningsRichard Purdie1
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>
2011-07-01kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get ↵Richard Purdie1
packaged This removes a couple of megabytes of QA warnings! Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01cairo: Clean up packaging and fix warningsRichard Purdie1
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>
2011-07-01ppp: sync packaging with OE .devKoen Kooi1
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>
2011-07-01perl: Fix package qa rpath warnings.Nitin A Kamble2
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>
2011-07-01consolekit: Add glib-2.0 to DEPENDSKhem Raj1
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>
2011-07-01useradd-example: example recipe for using inherit useraddScott Garman5
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>
2011-07-01useradd.bbclass: new class for managing user/group permissionsScott Garman1
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>
2011-07-01uclibc: Add default uClibc.machine filesKhem Raj2
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>
2011-07-01bitbake.conf: update PSEUDO_PASSWD variableScott Garman1
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>
2011-06-30linux-firmware: Add Realtex rt8192* firmwaresMichael Lippautz1
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>
2011-06-30uclibc: Fix bug exposed by udev 168+ for mips architectureKhem Raj2
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>
2011-06-30classes/package.bbclass: Add fixup_permsMark Hatle2
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>
2011-06-30binutils: allow distro to select gold as default linkerPhil Blundell2
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>
2011-06-30uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distroKhem Raj2
Remove unused uClibc.distro from topdir. It just creates confusion Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATSKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj1
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>
2011-06-30uclibc-config.inc: Fix regexp to determine big-endian armKhem Raj1
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>
2011-06-30uclibc: Remove redundant machine/arch configsKhem Raj14
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>
2011-06-30shadow-native: fix creation of home directoriesScott Garman1
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>
2011-06-30Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using ↵Jessica Zhang1
correct libtool 2.4 Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-06-30consolekit 0.4.5: remove patch that forcibly disables consolekitKoen Kooi2
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>
2011-06-30consolekit 0.4.5: add pam support based on distro featuresKoen Kooi1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-30webkit-gtk: fix packagingKoen Kooi1
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>
2011-06-30dbus: update to 1.4.12Koen Kooi5
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>
2011-06-30linux-libc-headers: add 2.6.39Koen Kooi1
The 2.6.37.2 version is kept to allow the qemu kernels and libc headers version to match
2011-06-30ccache: Remove duplicate 'ccache.inc' from 'meta/class/'Wenzong Fan1
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-06-30ccache: Add 'ccache' for SDK imagesWenzong Fan1
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-06-30ccache: Set CCACHE on a per recipe basisWenzong Fan2
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>
2011-06-30ccache: Integrate ccache-native to pokyWenzong Fan2
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>
2011-06-30Add umask task controlMark Hatle5
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>
2011-06-30linux-firmware: Fix file permissionsMark Hatle1
The firmware was installed 0666 which could have been a security issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-30scripts/runqemu: enable btrfsNitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-30base-files: add btrfs to /etc/filesystemsNitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-30image_types.bbclass: enable btrfs as one of the image typeNitin A Kamble1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-30image-types.bbclass: get the image size in the whole numberNitin A Kamble1
Avoid fractions like 80.72 and round them to whole numbers. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-30sanity.bbclass: pass the data object to the less frequent test harnessesJoshua Lock1
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>
2011-06-30distro_tracking_field: update recipe maintainerYu Ke1
reassign Qing's recipe to other team member Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-06-30btrfs-tools: new recipe for tools to operate on btrfs imagesNitin A Kamble26
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>
2011-06-30kernel: move menuconfig task after configureDarren Hart1
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>
2011-06-30util-linux: Rebase remove-lscpu patch from non-gplv3Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-30gcc-4.6: share work directoriesRobert Yang2
* Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. * Change ${S} to the shared source directory. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-06-30gcc-4.5.1: share work directoriesRobert Yang2
Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>