summaryrefslogtreecommitdiff
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
...
* base-passwd: Fix the broken preinst/postinstallRichard Purdie2011-11-151-31/+29
| | | | | | | | | | | The preinst accesses file which may not yet have been unpacked. The postinst is too late for the creation of these files for at least the opkg backend. This patch therefore encodes the file contents into the preinst, resolving the various issues once and for all. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split mcookie into a packageOtavio Salvador2011-11-112-2/+3
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions ↵Martin Jansa2011-11-101-2/+4
| | | | | | to use different set of initscripts or no initscripts at all Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-toolsMartin Jansa2011-11-101-0/+5
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kbd: import from meta-oeMartin Jansa2011-11-101-0/+19
| | | | | | * replaces console-tools used in keymaps Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ncurses: refactor configure to avoid configuring widec when disabledDarren Hart2011-11-101-31/+35
| | | | | | | | | | | | | | | | | | | | The ENABLE_WIDEC variable can be used to disable ncurses wide character support when your C library doesn't support it. Currently, the do_configure step configures for both narrow and wide characters regardless and only checks ENABLE_WIDEC during compilation. This leads to QA failures with host contamination during configure if the C library doesn't support wide characters. Refactor do_configure with a new ncurses_configure helper function and only configure for wide character support if ENABLE_WIDEC is true. Ensure that configure errors are propogated back through to do_configure. Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586, including basic error injection. V2: INC_PR bump Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* libxml2: use Copyright in LIC_FILES_CHKSUM instead of COPYINGMartin Jansa2011-11-102-2/+2
| | | | | | | | * COPYING is replaced by symlink to Copyright during do_configure (see configure.in), then we end with link to nonexistent file * same issue as libxslt had http://patchwork.openembedded.org/patch/14195/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-1011-36/+36
| | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: blacklist /dev/mdSaul Wold2011-11-102-1/+2
| | | | | | | | Do not mount /dev/md by default via udev, this resolved a problem with the sanity test failing due to seeing the error while attempting to mount /dev/md0 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINEMatthew McClintock2011-11-101-0/+10
| | | | | | | | | | | Just define additional serial consoles like so: SERIAL_CONSOLES="115200;ttyS0 115200;ttyS1 ... 115200;ttySN" Also be sure to remove SERIAL_CONSOLE (lacking the S) from your machine as they can conflict. Signed-off-by: Matthew McClintock <msm@freescale.com>
* busybox: add grep to temporary links during uninstallPaul Eggleton2011-11-092-1/+2
| | | | | | | | | In the busybox package prerm we set up some temporary links and modify PATH so that certain utilities are provided for the purpose of running update-alternatives; if grep is not among these then you get errors when removing busybox, so add a temporary link for grep as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* dbus: fix install for virtclass-nativesdkEric Bénard2011-11-081-0/+4
| | | | | | | | | | | | * 46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install which now fails for nativesdk (chown messagebus leads to no such user) * tested by building meta-toolchain-qte and running the generated sdk Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal-initramfs: force IMAGE_FSTYPESPaul Eggleton2011-11-071-0/+1
| | | | | | | | | | | | | If the user has set their own value for IMAGE_FSTYPES, they may have disabled the cpio.gz image type, preventing the initramfs from being produced in the format that image-live.bbclass expects; so force IMAGE_FSTYPES to cpio.gz within the initramfs image recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Prepend cpio.gz instead Signed-off-by: Saul Wold <sgw@linux.intel.com>
* udev-164: Update init script to do an explicit add actionKumar Gala2011-11-072-3/+3
| | | | | | | | | | | With udev 152 or greater the default action for 'udevadm trigger' was modified to be 'change' instead of 'add. To ensure initial coldplug events at boot are seen be scripts the are expecting them as 'add' events we invoke udevadm with an explicit '--action=add'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* meta: glib-2.0: don't apply qsort_r test removable patch for native versionSimon Busch2011-11-021-2/+5
| | | | | | | | | | | | | | On some buildhosts with an older version of native glib-2.0 installed (in this case 2.16.6) the qsort_r test removable patch leads to a compilation error: | ./.libs/libglib-2.0.so: undefined reference to `qsort_r' | collect2: ld returned 1 exit status This patch fixes this so the patch gets only applied for the native version of this recipe. Signed-off-by: Simon Busch <morphis@gravedo.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Switch to disabling nls and reducing -native build dependencies to ↵Richard Purdie2011-11-023-0/+693
| | | | | | | | | | | | | | | | | | | | | | | | | | | a set of pre built m4 macros When analysing our build performance, its apparent that binutils-cross takes an age to get built. This is due to its dependencies on flex-native and bison-native which in turn depend on gettext-native. gettext-native is problematic as it has a significant dependency chain of its own and takes an age to build. What is worse is that we never care about the native language support in -native and -cross packages since we always force the C locale. This patch therefore disables nls for all -native packages (its already disabled for -cross) and adds a new gettext-minimal-native package which contains the m4 macros to keep autoconf/automake happy. This means we gain a significant build time speedup by the removal of gettext-native from most dependency chains (only being part of gettext for the target now). For now the LICENCE field says GPLv3, the macros are actually under a FSF MIT like licence so we need to update this part of the patch in due course. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: ensure that the useradd shell is set to /bin/falseSaul Wold2011-11-021-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* udev: Split out consolekit and udev-aclHolger Hans Peter Freyther2011-11-012-1/+7
| | | | | | | | | | | This can safe another megabyte on the tar.bz2 of the minimal image. udev-acl is linking to glibc which will pull in libglib, libgio, libgthread, libgmodule, libgobject. 2.0M 2011-07-02 01:57 after.tar.bz2 3.0M 2011-07-02 01:52 before.tar.bz2 Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
* udev: Fix the packaging of libgudevHolger Hans Peter Freyther2011-11-012-3/+3
| | | | | | | Make the libgudev so go to the libgudev package, this is already fixed in meta-oe. Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
* dbus: Ensure localstatedir is added to the packageRichard Purdie2011-11-012-3/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Use $D not ${D} in the postinstallRichard Purdie2011-11-011-1/+1
| | | | | | | We need to do this as we don't want bitbake to expand the variable but use the shell variable instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Add missing PR bumpRichard Purdie2011-11-011-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: upgrade to version 4.46Dongxiao Xu2011-10-3112-3/+3
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* util-linux: split out mkfs into its own packagePaul Eggleton2011-10-311-2/+3
| | | | | | | | | | | | For those external tools such as Webmin that call mkfs to do formatting operations, it is useful to have it in its own package to avoid dragging in the rest of util-linux. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> [Merged with head] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dbus: remove unused initscriptPaul Eggleton2011-10-312-0/+6
| | | | | | | We already install an appropriate init script to /etc/init.d, we do not need an additional one in /etc/init.d/rc.d as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* dbus-glib: fix QA Packaging issuesSaul Wold2011-10-312-2/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes: bump PR after python upgradeMartin Jansa2011-10-311-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Give coreutils a chance to build the df utilityJulian Pidancet2011-10-271-1/+1
| | | | | | | | | | | | | | The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add new util-linux-chkdupexe package to avoid making perl a dependecy for ↵Matthew McClintock2011-10-272-3/+6
| | | | | | | all of util-linux Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-parser-perl, libxml-simple-perl, expat, sgmlspl-native, git: bump PR ↵Martin Jansa2011-10-251-1/+1
| | | | | | | | | to rebuild after perl upgrade * this isn't probably complete list.. just what failed here Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Upgrade recipe 8.12 -> 8.14Khem Raj2011-10-242-14/+15
| | | | | | | | Change in site files is needed since in cross build envrionment the test to check for gl_cv_func_fstatat_zero_flag is a runtime test Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dbus: use useradd class to allow use in read-only filesystemsOtavio Salvador2011-10-241-27/+21
| | | | | | | Move creation of required user/groups to useradd class thus allowing use with read-only filesystems and booting the initial boot. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* base-passwd: move initial criation of group and passwd to preinstOtavio Salvador2011-10-241-1/+18
| | | | | | | | To allow use and manipulation of users and groups at rootfs building time, the '/etc/passwd' and '/etc/group' needs to be available as soon as possible. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* glib-2.0: Add nativesdk depends for libffiSaul Wold2011-10-171-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc-2.14: add patch to fix libdl crashKlaus Kurzmann2011-10-142-2/+134
| | | | | | | | * Without this patch programs using alsa-lib crash (alsamixer for example). * This patch is taken verbatim from ArchLinux. Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* initramfs-live-boot: make it more generic and easy to useOtavio Salvador2011-10-142-13/+22
| | | | | | | | | | | | | | | | | The script was making some assumptions that enforced many requirement in the machine kernel configuration and usage, besides it were too while booting. Changes included: * fix indentation; * rdepends on udev; * allow use of isofs as module; * remove rootdelay param parsing as it was unused; * don't verbosely kill udevd and mknod; * mount devtmpfs into rootfs, if available, before swithing root; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* glib-2.0: Extend to provide nativesdk recipeKhem Raj2011-10-141-1/+1
| | | | | | qemu-nativesdk 0.15 needs it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* farsight2, ldconfig-native, gnutls: There is no GPLv2.1, correct the fieldsKhem Raj2011-10-141-2/+2
| | | | | | | The licenses were either LGPLv2.1 or GPLv2 make the changes appropriately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glib: upgrade to 2.30.0Martin Jansa2011-10-147-90/+106
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* eglibc: Drop 2.12Richard Purdie2011-10-1213-419/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux 2.19.1: split blkid out into its own subpackageKoen Kooi2011-10-112-2/+15
| | | | | | | Recent udev versions require blkid from u-l, not from e2fsprogs. In general all the non fsck related binaries from e2fsprogs are deprecated. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: fix inverted LFS logicMartin Jansa2011-10-102-2/+23
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split fsck* into its own subpackageKoen Kooi2011-10-072-4/+14
| | | | | | | This will allow systemd to run /sbin/fsck without dragging in all of util-linux Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Upgrade from 0.52 to 0.53.1Mei Lei2011-09-307-18/+49
| | | | Signed-off-by: Mei Lei <lei.mei@intel.com>
* Add proper deps for nfs-utils, util-linux, and straceMatthew McClintock2011-09-291-1/+1
| | | | | | | | | | | | These packages need these deps for the RPM generation stage: error: Failed dependencies: | /usr/bin/python is needed by nfs-utils-1.2.3-r2.ppce5500 | /usr/bin/perl is needed by util-linux-2.19.1-r4.ppce5500 | /usr/bin/perl is needed by strace-4.5.20-r2.ppce5500 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add udev patch to compile against newer kernelsMatthew McClintock2011-09-292-1/+53
| | | | | | | | This patch is needed to compile against newer kernels which have changed their API Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Ensure perl scripts reference the correct perlRichard Purdie2011-09-281-1/+5
| | | | | | Without this change the perl path from the build system is used. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Add recipes for 2.14Khem Raj2011-09-2816-0/+1167
| | | | | | | | | Backport Fedora patch to enable sunrpc as it was in 2.13 Fix cross-localedef-native to be able to build from eglibc 2.14 branch Tested builds/boot of angstrom/console-image on qemu for arm,mips,ppc,i386,x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglibc-2.12: Fix build on powerpc/603eKhem Raj2011-09-222-1/+28
| | | | | | | | | | We pass --with-cpu to eglibc now. Which breaks the configure for cpus that it does not support We add support for ppc603e which gets 2.12 building for qemuppc. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "eglibc: fix packaging of some of nativesdk packages"Richard Purdie2011-09-224-18/+8
| | | | | | | | | This reverts commit 974cdb88680359aac5aefd11b84c4a374ab3a753. See the mailing list for details, this broke things for too many people such as where PKGSUFFIX is used in PREFERRED_PROVIDER. odified: meta/recipes-core/eglibc/eglibc-locale.inc