aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-07-01useradd.bbclass: new class for managing user/group permissionsScott Garman
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 Raj
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 Garman
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 Lippautz
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 Raj
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 Hatle
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 Blundell
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 Raj
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 Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-30uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endianKhem Raj
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 Raj
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 Raj
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 Garman
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 Zhang
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 Kooi
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 Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-30webkit-gtk: fix packagingKoen Kooi
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 Kooi
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 Kooi
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 Fan
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-06-30ccache: Add 'ccache' for SDK imagesWenzong Fan
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-06-30ccache: Set CCACHE on a per recipe basisWenzong Fan
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 Fan
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 Hatle
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 Hatle
The firmware was installed 0666 which could have been a security issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-30base-files: add btrfs to /etc/filesystemsNitin A Kamble
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 Kamble
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 Kamble
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 Lock
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 Ke
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 Kamble
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 Hart
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 Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-30gcc-4.6: share work directoriesRobert Yang
* 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 Yang
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>
2011-06-30Share gcc work directoriesRobert Yang
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>
2011-06-30sanity.conf: Require bitbake version 1.13.2 at a minimumRichard Purdie
2011-06-30glibc-2.12: Add missing PR bumpRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30eglibc-package.bbclass: Ensure localedef is only packaged in one locationRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30eglibc-package.bbclass: Fix unintended code changesRichard Purdie
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>
2011-06-29distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and ↵Dexuan Cui
tcf-agent Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-29lttng-ust: change the patch's Upstream-Status to Accepted.Dexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-29grub: add -fno-reorder-functions into STAGE2_COMPILEDexuan Cui
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>
2011-06-29glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issueDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-29task-base: add 3G into DISTRO_FEATUREDongxiao Xu
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-06-29initscript: Change some order of init scriptsDongxiao Xu
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>
2011-06-29connman-gnome: Add 3G configuration supportDongxiao Xu
Apply 3g.patch which add cellular config option in connman-gnome. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-06-29ofono: upgrade to version 0.50Dongxiao Xu
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-06-29wpa-supplicant: remove the 0.6.10 version.Dongxiao Xu
Remove the 0.6.10 version since now 0.7.3 is the latest stable version. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-06-29connman: Upgrade to version 0.75Dongxiao Xu
Enable ofono plugin. Adopt some logic in meta-oe on connman plugin runtime dependency. Remove the fix-shutdown-ap-disconnect.patch since the original logic no longer exists. Add Upstream-Status information for patches. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>