summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-script.bbclass: Added --sysroot to LDFLAGS.Lianhao Lu2011-03-062-2/+2
| | | | | | | | | | [YOCTO #808] Added --sysroot to LDFALGS in environment files. (From OE-Core rev: a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split out uuidgen to a separate packagePaul Eggleton2011-03-032-2/+3
| | | | | | | | | | uuidgen is needed by zypper and we don't want to drag in everything else in util-linux, so split it out to a separate package. (From OE-Core rev: bf536c8e06b35b8f72077fd7a39104eb5543a434) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Change ncurses patch SRC_URI locationDongxiao Xu2011-03-011-2/+5
| | | | | | | | | | | | | | One of ncurses's patch has been removed from its original repo location, use autobuilder cache location instead. Comment out the original patch address instead of removing it since we may still need that address when upgrade the recipe later. This fixes [BUGID #709]. [sgw: fixed having comment embedded in SRC_URI] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dropbear: add SRC_URI checksumsJoshua Lock2011-02-251-0/+3
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Suppress useless warnings during udev startupGary Thomas2011-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have a number of platforms which have no realtime clock (i.e. no sense of what day/time it is). On these platforms, poky dutifully tries to keep somewhat sane with stored time stamps that are saved on reboot and restored early on during initialization. A fair compromise. However, before that code runs, the udev script tries to restore well known devices using tar. This will often lead to messages such as these since the kernel has no way to set the time: tar: dev/pts: implausibly old time stamp 1970-01-01 00:00:00 tar: dev/char/3:134: time stamp 1970-01-01 00:00:09 is 0.435041705 s in the future The attached patch filters these messages out as they don't convey anything useful and indeed are worrisome to more naive users. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ >From a6773d3e00dbd168817730fff1c3fc7e1b6950f5 Mon Sep 17 00:00:00 2001 From: Gary Thomas <gary@mlbassoc.com> Date: Thu, 17 Feb 2011 11:30:18 -0700 Subject: [PATCH] Suppress messages about bad time stamps during initial device setup Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie2011-02-223-6/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.Lianhao Lu2011-02-171-1/+3
| | | | | | Set the value of CONFIG_SITE for correct autoconf config site files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* toolchain-script/populate_sdk/meta-toolchain: moving common code.Lianhao Lu2011-02-171-13/+3
| | | | | | | moving common code between populate_sdk.bbclass and meta-environment.bb into toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* ncurses: reenable PARALLEL_MAKESaul Wold2011-02-161-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gettext: reenable PARALLEL_MAKESaul Wold2011-02-161-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dbus: change owner and mode for dbus-daemon-launch-helper in postinstDongxiao Xu2011-02-142-2/+4
| | | | | | | | | Add code in dbus postinst to change owner and mode for dbus-daemon-launch-helper. [BUGID #603] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* recipes: pre/post actionsMark Hatle2011-02-122-3/+3
| | | | | | | | A number of the recipes did not properly label their pre and post actions, causing the actions to occur in all split packages. This was corrected by defaulting to _${PN} in most cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: Rework busybox to fix limitations in initscriptsMark Hatle2011-02-121-7/+14
| | | | | | | | A recent busybox change added a "second" initscript to the main busybox package. This however is not supported by the update-rc.d.bbclass. Instead we split the package so that each initscript gets it's own split. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* util-linux: Correctly prepend to PACKAGES and stop corrupting ↵Richard Purdie2011-02-101-3/+1
| | | | | | linux-util-native PACKAGES variable Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Apply unifdef-native dependency to the task that uses it, not globallyRichard Purdie2011-02-101-2/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: add 'coldplug' udev triggerTom Zanussi2011-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #693] The init-live.sh script starts udevd in init-live.sh:early_setup(), but doesn't account for the possibility that the root device may have already been registered by the kernel before udevd starts up. If the device is detected after udevd starts up, everything's fine - udevd gets the 'add' uevent for the device, the root image shows up at e.g. /media/sda/rootfs.img, and the boot continues. If however the device is detected before udevd starts up, udevd misses the 'add' uevent and the root image never shows up, causing it to stay in the 'waiting for removable media' loop forever. The 'udevadm trigger' command is meant to be used to avoid this situation, but init-live.sh doesn't use it. Furthermore, since the default was changed in udev 152 from 'add' to 'change', the command needs to explicity name 'add' as the action. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* util-linux: Add mount lock patchMark Hatle2011-02-072-2/+28
| | | | | | | | | Add the mount lock patch that moves the lock file from the potentially R/O /etc, to the R/W /var/lock directory. This resolves a problem when mounting when / (and /etc) is mounted R/O. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sysfsutils: Merge bug fixMark Hatle2011-02-072-2/+25
| | | | | | | Merge a small bug fix located in the Fedora Core 9 version of this package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* coreutils: Add various bug fixesMark Hatle2011-02-076-0/+4403
| | | | | | | | | | | | | Add a number of bug fixes, mostly imported from Fedora and Wind River Linux. cp-i-u: fix unnecessary prompting fix-install: Fix installing to a dangling symlink i18n: li18nux/lsb compliance ls-x: Fix incorrect output overflow: Fix potential overflow in who command Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: Support DHCP refresh without restarting the interfaceMark Hatle2011-02-074-2/+141
| | | | | | | | | | | | | | | | When the kernel is started using ip=dhcp, we want a way to be able to run the udhcp client within busybox and not reset the interface. When using the '-D' option to udhcpc, the defconfig script will be skipped allowing the refresh without changing the network settings. Also provide an initscript that can be used to detect ip=dhcp on the kernel command line, if detected it will refresh the lease and set the proper resolve.conf and related files, but not reset the interface. Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* cross-localedef-native: Fix do_move_ports since the definition of changes. ↵Richard Purdie2011-02-021-2/+2
| | | | | | Raises the question of whether we even need ports for this? Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Add stable version 2.26.1Saul Wold2011-02-016-0/+19
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libxml2: Enable "--with-legacy" for LSB test.Jingdong Lu2011-02-012-2/+2
| | | | | | Enable "--with-legacy" in order to pass library check of LSB. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* populate_sdk.bbclass/meta-toolchain: Made populate_sdk task more genericLianhao Lu2011-02-011-100/+3
| | | | | | | | | | | | | | | Move the populate_sdk task out of meta-toolchain. Made it more generic to support rpm/deb package format. This commit is dependant on a series of commit: 2ea0406e4516fc59dff86cb4adc35c82cb774c2f 7ffa45b7cfea24dae1b51f40cfc807bf78b21b66 bf201a74c243942af3fcae6f174496bdd819dbc0 3d29933f2925efe8a84f10efdf50396031c33ae4 3d29933f2925efe8a84f10efdf50396031c33ae4 9c724dbf57e610a9e06bbdce38383dee3ac49281 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* dbus: extend to nativesdkPaul Eggleton2011-02-011-1/+2
| | | | | | | | BBCLASSEXTEND dbus to nativesdk for meta-toolchain-qte, and disable the dependency on libsm when building in this context (thus avoiding a number of sub-dependencies). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* glib-2.0: extend to nativesdkPaul Eggleton2011-02-012-1/+2
| | | | | | This needs to be added to nativesdk for meta-toolchain-qte. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* poky-image-minimal: Since we don't include package system data, we only need ↵Richard Purdie2011-01-281-1/+1
| | | | | | the package system bootstrap dependencies Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-poky-sdk: add 'file' and 'ldd'Kevin Tian2011-01-281-1/+3
| | | | | | | these two are useful in the development environment, and also required by two LTP test cases (ld and ldd). Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* base-files: remove ending colon from default $PATH for root userKevin Tian2011-01-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now the PATH for root user defined in a problematic way PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: from eglibc: /* Two adjacent colons, or a colon at the beginning or the end of `PATH' means to search the current directory. */ that means current directory is always searched as the last path, which could generate undesired behavior. One example is found in LTP cron_deny01 test, which always complains "sh: cron_deny01 not found" cron_deny01 is a shell script which setups the initial test preparation and then invokes itself for real test under a different user: su $TEST_USER1 -c "$0" 'su' doesn't inherit PATH into the sub-shell, and thus $0 has to be an absolute path to have right script found. ltp appends the path of cron_deny01 to $PATH before running the test: export PATH="${PATH}:${LTPROOT}/testcases/bin" In ideal way "${LTPROOT}/testcases/bin/cron_deny01" is found and becomes $0, which works well. However due to the ending colon in original PATH: PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin::${LTPROOT}/testcases/bin $0 becomes 'cron_deny01' w/o leading path which makes sub-shell under 'su' failed to locate cron_deny01. remove ending colon then fixes this problem. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* external-python-tarball: include multiprocessing moduleJoshua Lock2011-01-271-0/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* meta-toolchain: Fix tar commandRichard Purdie2011-01-261-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-toolchain: Use --owner and --group options instead of using pseudo's ↵Richard Purdie2011-01-261-1/+1
| | | | | | overhead for a simple task Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux.inc: Fix DEPENDS on gettext for native caseRichard Purdie2011-01-252-1/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-toolchain-sdk: Rename meta-toolchain-sdk to meta-toolchain-gmaeJessica Zhang2011-01-252-4/+4
| | | | | | | | Change the name from toolchain-sdk to toolchain-gmae, which is more accurate to what meta-toolchain-sdk generates Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: tidy up metadataJoshua Lock2011-01-251-19/+19
| | | | | | | | | | Apply a couple of best practices to the recipe: 1) use the gettext class to ensure the right versions of gettext are used for the recipe variants (target, native, etc). 2) use layout variables rather than absolute paths in the package FILES_ definitions. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* base-files: Add to make some directories needed by LSB.Jingdong Lu2011-01-251-1/+17
| | | | | | LSB will check some directories,eg, "/usr/local/" and need to make them for LSB test. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* gcc/libc: Change bootstrap to use an intermediate sysroot and hence no ↵Richard Purdie2011-01-254-0/+44
| | | | | | | | longer overwrite files Based upon patches from Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-initial, gcc-crosssdk-initial: change CROSS_TARGET_SYS_DIR and ↵Dexuan Cui2011-01-254-0/+14
| | | | | | insall into new locations Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* util-linux: fix lscpu packagingQing He2011-01-242-2/+5
| | | | | | | lscpu in util-linux 2.17.2 is specially under GPLv3, ensure it's packaged separately if it's being built. Signed-off-by: Qing He <qing.he@intel.com>
* util-linux: fix dangling symlinksQing He2011-01-242-6/+14
| | | | | | shutdown and swapon should be in $base_sbindir instead of $sbindir Signed-off-by: Qing He <qing.he@intel.com>
* util-linux: separately packaging blkid and uuidQing He2011-01-242-2/+9
| | | | | | | | To avoid full set of util-linux included by library dependencies. Fixes [BUGID #661]. Signed-off-by: Qing He <qing.he@intel.com>
* glib-2.0: Add missing DEPENDS on dbusRichard Purdie2011-01-211-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Drop now unneeded DEPENDS on glib-2.0Richard Purdie2011-01-211-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Drop now unneeded DEPENDS on udevRichard Purdie2011-01-211-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-image*-dev: Add -dev Images contianing headers and librariesSaul Wold2011-01-211-0/+15
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dbus: upgrade to version 1.4.1Qing He2011-01-214-6/+6
| | | | | | from 1.4.0 Signed-off-by: Qing He <qing.he@intel.com>
* coreutils: upgrade to version 8.9Qing He2011-01-211-4/+5
| | | | | | | | from 8.5 coreutils now depends on gmp Signed-off-by: Qing He <qing.he@intel.com>
* meta-environment: Remove the recursive dependency on do_compileDongxiao Xu2011-01-201-1/+0
| | | | | | | | | | | | | | | | | | It is not needed to have dependency on each do_compile of its recursive depend tasks. This problem is triggered by building meta-toolchain-sdk from prebuilt result. Some packages like quilt-native, which is already been populated and packaged by do_populate_sysroot_setscene and do_package_write_xxx_setscene, however this recursive dependency of do_compile triggers the tasks flow of "do_setscene --> do_fetch --> do_unpack --> ..." again and do_setscene removes all the quilt-native files, making the other recipes failed while do_patch. Thanks for Kevin's help in root causing this issue. CC: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* eglibc-package.inc: Stop eglibc-nativesdk providing eglib-thread-db and ↵Richard Purdie2011-01-201-3/+3
| | | | | | locale-base-* Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Enable "--with-docbook --with-debug --with-catalog" for LSB test.Jingdong Lu2011-01-202-1/+2
| | | | | | Enable options "--with-doc --with-debug --with-catalog" in order to pass LSB test. Signed-off-by: Jingdong Lu<jingdong.lu@windriver.com>