summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-0220-42/+42
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 5193485a42dfb3396d0f12aaa7732c5db29d7338) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: include sysprof only if x11 is distro featureJack Mitchell2012-11-021-2/+4
| | | | | | | (From OE-Core rev: 9dd277e3276aef918e4bb84322043db0b4e68e11) Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Ensure tmpfs are mounted and volatile/run existsRichard Purdie2012-10-302-4/+3
| | | | | | | | | | | | | | There is a race with udev where eiher the run directory can get replaced during bootup leading to ude errors, or if the tmpfs was mounted and populate-volatiles hasn't run, udev won't start at all. This ensures that any tmpfs get mounted before udev starts and that the default volatiles/run directory at least exists, fixing the races and boot time errors caused after the recent udev upgrade. (From OE-Core rev: fbec192f6bc41a335ede85843ba22a89d13501ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Use correct variable in udev.conf for run_pathRichard Purdie2012-10-302-2/+2
| | | | | | (From OE-Core rev: 6e4a1743a88fe6a002ca8f784b2dad3f493984b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: Don't mount root filesystem under /mediaAndy Ross2012-10-272-3/+7
| | | | | | | | | | | | | | | The mount.sh handler attempts to prevent already-mounted filesystems from being mounted as dynamic/removable "/media". But it misses the case where the kernel has mounted the root filesystem (e.g. with "root=/dev/sda1"). In that situation, /proc/mounts has a device name of "/dev/root" instead of the proper $DEVNAME string exposed by udev. So we must also test the root filesystem device number vs. the $MAJOR/$MINOR udev tells us. (From OE-Core rev: 3543d0db691e82098c1da7bf12f43e0c57551a3d) Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add /usr/bin/stat appletAndy Ross2012-10-273-4/+26
| | | | | | | | | | | | | The busybox defconfig lacks a stat tool, the functionality of which cannot be reproduced in a way accessible to a shell script running in a minimal configuration. Enable, and modify the installation path to /usr/bin/stat to match the coreutils tool for proper alternatives handling. (From OE-Core rev: ef7e1239b95dbef4e461007d6d0612c27a7919ec) Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: upgrade to 182Alexandru DAMIAN2012-10-259-106/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the final upgrade of udev. Futher upgrades will only come in conjunction with systemd. The v4l1 removal patch is deprecated as the bug is fixed inside udev. There is a new patch fixing the path for default sh interpreter. New debug binaries are generated, and udev.inc is modified to package those correctly. The install locations changed for udevd and udevadm, so the scripts are updated accordingly. (From OE-Core rev: 3cbe52b94c4d559a037347ac419fafee5af84fe6) (From OE-Core rev: 8fc73baecf1b21b1a3e7eff478e25d2a7cae2879) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Conflicts: meta/recipes-core/udev/udev_164.bb sgw - Fixed up DEPENDS += and added some OECONF options that where in the meta-oe version and make sense to be included. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-ncurses 5.9: files were installed but not shippedRobert Yang2012-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is an warning: $ bitbake nativesdk-ncurses WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed but not shipped /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses NOTE: Tasks Summary: Attempted 533 tasks of which 521 didn't need to be rerun and all succeeded. And there is no clear or reset tool in the SDK. This is caused by: ALTERNATIVE_ncurses-tools = "clear reset" It creates clear.ncurses and reset.ncurses which are used for avoiding the conflicts with the target busybox, but SDK doesn't need them since there is no nativesdk-busybox (then no conflicts), so: ALTERNATIVE_ncurses-tools_class-target = "clear reset" will fix the problem. [YOCTO #3325] (From OE-Core rev: a4a9d2acb60ef4ec9ae8d2ad3ca222e99fb6e986) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0Tom Zanussi2012-10-241-4/+21
| | | | | | | | | | | | | | packagegroup-core-tools-profile currently pulls in the 'legacy' lttng packages, which are useless without legacy lttng support in the kernel. This makes packagegroup-core-tools-profile pull in the lttng 2.0 packages instead, which don't need any kernel modifications to work. (From OE-Core rev: f1f9d08ea8b32b0a51a1e3f7bcf488ba7e9dc21e) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uClibc: Resolve conflicting options when building for mips32Aristov Maxim2012-10-233-32/+10
| | | | | | | (From OE-Core rev: c096d57d7c55f97897956c192c9ccef2c9cbbe44) Signed-off-by: Aristov Maxim <m@ximilian.ru> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.16: Use tar ball instead of svn SRC_URIKhem Raj2012-10-223-50/+20
| | | | | | | | | | | | Adapt the recipes to fetch a tarball. Tarball is generated from latest 2.16 branch which has e500-math_private.patch already applied hence we remove that patch. (From OE-Core rev: 77ee4d7d88976c7bb2bb25b57e06b83edaacbd4c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Move perl- and bash-using scripts to separate recipesPhil Blundell2012-10-229-17/+69
| | | | | | | | | | | | | | | This removes the dependency of eglibc.bb itself on perl and bash which, in turn, eliminates the need to build those two recipes if the scripts which need them are not going to be installed. Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial otherwise the nativesdk and multilib variants might crash trying to copy a non-existent mtrace script. (From OE-Core rev: 74b5f8943b2b29c7b3b62be7d81fb2b3a86b9584) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa2012-10-191-1/+1
| | | | | | | | | | * to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" (From OE-Core rev: 73252b16b501c0986b0ca0895e4534895a9ba3db) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PACKAGES_DYNAMIC: use regexp not globMartin Jansa2012-10-192-4/+4
| | | | | | | | | | | * bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) (From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Fix build issues with make 3.82Richard Purdie2012-10-192-2/+5
| | | | | | | | | | The intl directory is part of older gettext and has macros which no longer get expanded with recent gettext versions. This simply removes the intl directory from the equation since we'd never need it. (From OE-Core rev: 199298b6b114db09fd8ff100642ae101050a2e9a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: ensure zip file is linked locallySaul Wold2012-10-181-1/+1
| | | | | | | | | | This makes the symbolic link portable with the dated zip file, otherwise the link still points to the original deploy directory. (From OE-Core rev: 0fc83102eeb48b85027c5b1202d8a584f51679a7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Add config.rpath and Makefile.in.in to gettext-minimal-nativeRichard Purdie2012-10-185-1/+1165
| | | | | | | | | | | | | | We need gettext-minimal-native to be able to install config.rpath and Makefile.in.in so that we don't get version mismatch errors when subsequently using the reconfigured software. This patch moves the two files to be provided by minimal-native so that we can better 'gettextize' software without needing the full gettext-native when using --disable-nls. (From OE-Core rev: 6b12d4cd39bacb087654b59e25f5052a4e839b26) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Clean up recipeRichard Purdie2012-10-1810-564/+68
| | | | | | | | | | | | | | This cleans up various bits of nastiness in this recipe: * Drop unneeded m4 macros * Update to a recent version of gettext (needs addition of Makevars file) * Drop split do_compile and SUBDIRS hacks, just patch out the docs * Remove some of the configure.in hacks since they seem unneeded now and break gettext (the AC_OUTPUT change). * Wipe out acinclude.m4 since it has corrisive contents (From OE-Core rev: 87a9a3b3b2603516704a38fccc8c396e547ac101) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-self-hosted: recommend kernel modules instead of depending on themMarcin Juszkiewicz2012-10-181-6/+9
| | | | | | | | | | | Requested kernel modules may be integrated in kernel or totally disabled as not needed on target. (From OE-Core rev: 2129b793bc7875d929a91e22be72108d4d15e081) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroups: disable kexec, valgrind, lttng, systemtap on AArch64Marcin Juszkiewicz2012-10-182-0/+4
| | | | | | | | (From OE-Core rev: c9514779de7fa6ea4cfa0c911cff25ea8c6a5152) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add AArch64 supportMarcin Juszkiewicz2012-10-182-1/+20
| | | | | | | | (From OE-Core rev: 1dbf17d221ee9d50c5de8c04144c92fdc78d6d73) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Remove spurious-looking dependencies on libxml2-nativePhil Blundell2012-10-181-3/+3
| | | | | | | | | | | | | | | | | | These were added in aae5021101224344a2b1a3af5becf74291fbbfe5, ostensibly to resolve some sort of "host contamination" issue. However, that commit contains no information about what contamination was being observed or how the dependencies help. gettext-native is being configured --with-included-libxml so it shouldn't be using libxml2 from either the host or the sysroot, in which case the dependency would seem to be useless. Using the included copy of libxml2 is in any case preferable to adding a dependency on libxml2-native because the latter brings quite a large stack of other dependencies with it. (From OE-Core rev: 132d329638ae32b98c36b9498c470cf0ffdcedb3) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add packagegroup-core-buildessentialColin Walters2012-10-182-16/+31
| | | | | | | | | | | | | | | | | | | | | | | [Not heavily tested, but sent for discussion] task-core-sdk is too big - for example, I simply don't want to ship tcl, ever =) Historically distcc caused a large dependency graph explosion because it has a utility which uses gtk+, although that was fixed. packagegroup-core-sdk also includes coreutils, which is a bit confusing; conceptually things dependent on coreutils should pull it in explicitly, or possibly we just declare coreutils to be in the minimal build set. So packagegroup-core-buildessential is intended to be similar to Debian's "build-essential" package. It's the stuff needed by say 80+% of components, not worth repeating over and over. (From OE-Core rev: 7d6cc169c95fecf6388a275281eb8b8f5d8eb4a2) Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: force make to use /bin/bashSaul Wold2012-10-102-1/+6
| | | | | | | | | | | | | | | | | | | | | The eglibc core build still has a number of issues with /bin/dash. Recently found is both sysdeps/unix/make-syscalls.sh and it's output, which make calls via SHELL do not play well with /bin/dash. By force make to use /bin/bash via SHELL setting it works correctly. Currenly known issues are: make-syscalls.sh line with a bad substitution, which can be corrected by: vdso_symver="$(printf '%s\n' ${vdso_symver} | sed 's/\./_/')" Following that there is an issue with emiting a '\n' through a second echo and then to the compiler. There maybe more issues beyond that. [YOCTO #3080] (From OE-Core rev: 9d002f7cdc5309c4d850a76e4fd73ff04c980a07) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Fix spacing in DESCRIPTIONPaul Eggleton2012-10-041-1/+2
| | | | | | | | | Fixes [YOCTO #2636] (From OE-Core rev: 831b88806a3cb0125003aa6d3348716bcfd662a1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2 and busybox: Incorrect LICENSEElizabeth Flanagan2012-10-031-2/+1
| | | | | | | | | | | | | | | The license for bzip2 is not quite BSD. I have an email out to the maintainer to see if we can utilize a common BSD license (or something else) however, for now, we should revert bzip2 back to a special license. As busybox also utilizes a lightly modified bzip2, this also effects busybox. (From OE-Core rev: a0b132798d2c1adf79414787b8317327a554f852) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Add missing INITSCRIPT_NAME_${PN}-hwclockRichard Purdie2012-10-022-1/+2
| | | | | | | | | | | | | | | | | | | | | Fix failures like: Configuring busybox-hwclock. usage: update-rc.d [-n] [-f] [-r <root>] <basename> remove update-rc.d [-n] [-r <root>] [-s] <basename> defaults [NN | sNN kNN] update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: force -v: verbose -r: alternate root path (default is /) -s: invoke start methods if appropriate to current runlevel Collected errors: * pkg_run_script: package "busybox-hwclock" postinst script returned status 1. * opkg_configure: busybox-hwclock.postinst returned 1. (From OE-Core rev: 43b4ffc11874803db37c43b521ce27c51c677c8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "initrd: Spawn an emergency shell when something goes wrong"Ross Burton2012-10-021-11/+0
| | | | | | | | | | | This had nowhere near enough testing... This reverts commit ffb6928f5783e5202d9849c3a185e29be1d41c63. (From OE-Core rev: f162f0ecc96fdfb564aad968e5b8bc670640ea68) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Cleanup: fix PN == BPN casesMark Hatle2012-10-021-3/+3
| | | | | | | | | | | When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'. (From OE-Core rev: acc988272b4e74a9ad1e6da5af5b2d208584197b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: refresh fsl-ppc-no-fsqrt.patch for Freescale targetsMatthew McClintock2012-09-282-5/+61
| | | | | | | (From OE-Core rev: 5635cf21520182e12c8a130707f8b47b5b4bec00) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: refresh ppc_slow_ieee754_sqrt.patch for Freescale targetsMatthew McClintock2012-09-282-19/+261
| | | | | | | | | Make same changes for e6500 fpu as done with others (From OE-Core rev: a39f8c19d0ea5dc92271cbe36a03d638cb806e04) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: refresh ppc-sqrt_finite.patch for Freescale targetsMatthew McClintock2012-09-282-17/+89
| | | | | | | (From OE-Core rev: eba4de86e7e628690232f2f7912b321a9e22701b) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc_2.16.bb: replace patch with updated version that supports e6500Matthew McClintock2012-09-283-539/+1492
| | | | | | | (From OE-Core rev: a68536b75cf93beaa1578b33d489d9f30b58ba2e) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs: Make mkdir not failDamien Lespiau2012-09-281-3/+3
| | | | | | | | | | | This patch make "mkdir foo" not fail if foo already exists. (From OE-Core rev: 2bf5026933b733701d4d339e01a4f5e4468f368e) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrd: Spawn an emergency shell when something goes wrongDamien Lespiau2012-09-281-0/+11
| | | | | | | | | | | | | set -e allows to exit if a command fails. We install a trap and execute emergency_shell() when either the init script exits or when ctrl-c is typed (say if we are stuck somewhere and we want to debug it). (From OE-Core rev: ae5e2bd994e3f60d3803ab56e6ed34d08fbc56f0) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix for dynamic linker broken offsetAndrei Dinu2012-09-282-1/+58
| | | | | | | | | | | | | | | Solution provided by Donn Seeley in bug 1443: https://bugzilla.yoctoproject.org/show_bug.cgi?id=1443 worked when testing with core-image-sato-sdk for qemuarm. [YOCTO #2577] (From OE-Core rev: 33ec4222c05c985b737e88850259218cf8336d46) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: disable all X11 when nativeRoss Burton2012-09-271-2/+2
| | | | | | | | | | Without --without-x the X11 detection would still go ahead and find the host X11 headers, which seems to cause problems at link time. (From OE-Core rev: d35d19b6d0844daf8ca8aa059c0aa6077c2f573a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Remove bogus PACKAGES_DYNAMIC settingPhil Blundell2012-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | It transpires that eglibc has been setting PACKAGES_DYNAMIC = "libc6*" for some time. However, this is bogus for at least two reasons: 1. Bitbake interprets PACKAGES_DYNAMIC as a regex, not a glob, so this will match against any package whose name starts "libc" plus zero or more sixes. This is particularly toxic because the nativesdk variant picks up the same value and will, consequently, start trying to build itself at the slightest excuse. 2. eglibc doesn't actually build any packages named "libc6<anything>", other than the ones that are named in PACKAGES anyway, so the dynamic provider declaration is in any case useless. Simply deleting the line is not sufficient since then we get the default value from bitbake.conf which causes eglibc.bb to fight with eglibc-locale.bb. So instead we must set it to the empty string for good results. (From OE-Core rev: 0fbb2e0c1889ee34d7f96266615e891bb44b1d10) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Fix misplaced quoteRichard Purdie2012-09-262-2/+2
| | | | | | (From OE-Core rev: 938d07871bedd91f0d95ed6fe338ecbfafa5ebfe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Remove static libraries from -dev packagesPhil Blundell2012-09-262-3/+3
| | | | | | | | | | | | Fixes the QA warnings: WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libblkid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libblkid-dev/lib/libblkid.a' WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libuuid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libuuid-dev/lib/libuuid.a' (From OE-Core rev: 8b123ca10904386ec9d860a2908c713b1c6a73e8) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Don't package chkdupexePhil Blundell2012-09-262-8/+4
| | | | | | | | | | | The chkdupexe utility is fairly worthless and drags perl in as a build dependency of the whole util-linux recipe. If anybody actually wants to use this script then we should package it separately, but for the time being let's just delete it. (From OE-Core rev: 19dd830ff8a1b87499b9a51599265dd436214708) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab: fix hang issue of series consoles checkZhenhua Luo2012-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel boot process hangs when /proc/consoles doesn't exists, therefore check the existence of /proc/consoles before executing pkg_postinst script. Following is the log when /proc/consoles doesn't exist: Running postinst /etc/rpm-postinsts/102... cat: /proc/consoles: No such file or directory cat: /proc/consoles: No such file or directory cat: /proc/consoles: No such file or directory INIT: Entering runlevel: 5 Starting OpenBSD Secure Shell server: sshd generating ssh RSA key... generating ssh ECDSA key... generating ssh DSA key... done. Starting network benchmark server: netserver. Starting system log daemon...0 Starting kernel log daemon...0 Stopping Bootlog daemon: bootlogd. INIT: no more processes left in this runlevel (From OE-Core rev: 390e7f1f0b1b21d3c0787a6272583d5829561f95) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add and use 'localedir' variableChristopher Larson2012-09-253-6/+12
| | | | | | | | | | | | | | This avoids the hardcoding of ${libdir}/locale which is all over the place, and will facilitate use of ${exec_prefix}/lib/locale instead of ${libdir}/locale. This doesn't actually change any output at this time. Verified this with buildhistory against the packages produced from core-image-base. (From OE-Core rev: b744f4cc2912334b8493a89525fd02af8e9b8edf) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts/sysfs.sh: mount debugfs if presentTom Zanussi2012-09-242-1/+5
| | | | | | | | | | debugfs is another kernel virtual file system that should be mounted if configured, so if it's configured into the kernel, mount it. (From OE-Core rev: 55c4d3c55e4c3a7c2cda6d006cf7b78567bd3298) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Remove hardcoded reference to /usr in System V startup scriptPhil Blundell2012-09-242-3/+4
| | | | | | | | | Use ${bindir} to locate the binary instead. (From OE-Core rev: 8cf6f87bd753e1c84a018ddb92a97eed7bd79a28) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Ensure that ${sbindir} is respectedPhil Blundell2012-09-243-2/+23
| | | | | | | | | | | | The configure script uses a hard-coded value for ${usrsbin_execdir}, which is the path that we know as ${sbindir}. Adjust configure to take this from the environment if it's set there, and have do_configure() pass it in. (From OE-Core rev: 6fdca45ec85e226f570917d2d1aaa2aa39ab6b42) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace "echo -e" with "printf" to have the same behavior in dash or bashAndrei Gherzan2012-09-201-4/+4
| | | | | | | | | | | | | | | | | | | | oe-core removed the prerequisite to have sh as bash. POSIX doesn't define any options and furthermore allows 'echo -e' to be the default behavior. This means that in dash 'echo -e' will actually print '-e' and interpret backslashes by default. We use instead 'printf' builtin command with or without '\n' to simulate 'echo -e' or 'echo -n'. 'printf' needs format while 'echo' can be used without any arguments. So 'echo >' was replaced by 'printf "" >'. 'echo' without '-n' flag adds a new line by default so to keep the same behavior of two new lines while using 'echo "\n"', 'printf "\n\n"' is used. [YOCTO #3138] (From OE-Core rev: a19880ad10ccb5d7d909dcf9de5c3dc58a0ebcd3) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Do not use fsqrt in libm when building for fsl ppc with fpuKhem Raj2012-09-192-1/+46
| | | | | | | | (From OE-Core rev: f06097f4581e4c728c2950a86e025384e4bdcdf0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix fcntl.h for powerpcKhem Raj2012-09-192-0/+66
| | | | | | | | | | This fix is needed for systemd to work on powerpc (From OE-Core rev: 76f3a1979ea166238e26a2569fb06a4a403bd864) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix bloken swapoff symlinkAndrei Gherzan2012-09-192-3/+3
| | | | | | | | | | | | | | | | There were 2 issues with this symlink. 1. Is was installed in base_bindidir but packaged in bindir. Fixed to be packaged in base_bindir 2. The symlink swapoff was created to point to swapon. The problem is that swapoff is an alternative so it would end up pointing to swapoff.util-linux which was an inexistent file. The fix is to create a symlink swapoff.util-linux to swapon.util-linux. (From OE-Core rev: 0ff32e8fb5463a23af9966afcb58eb00772af65b) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenPOWER on IntegriCloud