summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* util-linux: Rebase remove-lscpu patch from non-gplv3Saul Wold2011-06-302-58/+64
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc-4.6: share work directoriesRobert Yang2011-06-302-1/+84
| | | | | | | | | * 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>
* gcc-4.5.1: share work directoriesRobert Yang2011-06-302-0/+58
| | | | | | | 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>
* Share gcc work directoriesRobert Yang2011-06-304-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patched is derived from Richard, make gcc use the shared source directory during the different building: 1) Make gcc-cross, gcc-cross-initial, gcc-cross-intermediate and gcc-runtime share the same source directory. 2) The source directory is ${TMPDIR}/work-shared/gcc-${PV}, for example: tmp/work-shared/gcc-4.5.1 3) Fix do_clean to clean the shared source directory and stamps 4) gcc uses sed and creates config files against ${S} which means the directory should not be shared. Change the way to make it work: * The configure option --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} can replace the sed command, see the code in configure: if test "x$with_headers" != x; then glibc_header_dir=$with_headers This has the same effect as the sed command: sed -i 's:^\([ ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\": ... so add the --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} to gcc-configure-cross.inc( not add to gcc-configure-common.inc, since not all the gcc building need this, the one which has its own do_configure doesn't need it). * Move t-oe from ${T} to ${B}/gcc, so that the patched Makefile.in can read it easily, please see the commit for gcc-4.5.1 and gcc-4.6.0. * Use the defaults.h in ${B}/gcc instead of ${S}/gcc, and the patched configure.ac(configure) can read it correctly, please see the commit for gcc-4.5.1 and gcc-4.6.0. * The gcc-crosssdk.inc used sed to edit ${S}/config/*/linux*.h to change the GLIBC_DYNAMIC_LINKER, which made the source incompatible. To make the source compatible: - Use: sed -i ${S}/gcc/config/*/linux*.h -e \ 's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#' so entries in the files that look like: #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" would become #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2" and we define SYSTEMLIBS_DIR in defaults.h. NOTE: #define GLIBC_DYNAMIC_LINKER64 (SYSTEMLIBS_DIR "/ld-linux-x86-64.so.2") doesn't work in in the following define: #define LINUX_DYNAMIC_LINKER \ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) so use #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR"/ld-linux-x86-64.so.2" 5) Add do_configure_prepend to gcc-configure-common.inc and remove the one in gcc-crosssdk.inc, this makes it easy to share the source, otherwise we need do extra changes in gcc-configure-sdk.inc. 6) Use "cat > file <_EOF" to replace the "echo > file" Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* sanity.conf: Require bitbake version 1.13.2 at a minimumRichard Purdie2011-06-301-1/+1
|
* glibc-2.12: Add missing PR bumpRichard Purdie2011-06-301-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.bbclass: Ensure localedef is only packaged in one locationRichard Purdie2011-06-301-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package.bbclass: Fix unintended code changesRichard Purdie2011-06-302-6/+14
| | | | | | | | Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted some code changes it shouldn't have done leading to continued eglibc packaging issues. This patch corrects that damage. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and ↵Dexuan Cui2011-06-291-1/+2
| | | | | | tcf-agent Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* lttng-ust: change the patch's Upstream-Status to Accepted.Dexuan Cui2011-06-291-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* grub: add -fno-reorder-functions into STAGE2_COMPILEDexuan Cui2011-06-292-2/+34
| | | | | | | | This is used to work around a gcc-4.6's bug about the option. [YOCTO #1099] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issueDexuan Cui2011-06-295-5/+5
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* task-base: add 3G into DISTRO_FEATUREDongxiao Xu2011-06-292-2/+16
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* initscript: Change some order of init scriptsDongxiao Xu2011-06-294-7/+7
| | | | | | | | | Move udev script to execute ealier since module autoload needs it to create device nodes. Also move sysfs before udev which has dependency on it. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>