summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gcc: fix check for target libc ssp supportKevin Tian2010-09-3010-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc uses hardcoded path "${with-build-sysroot}/usr/include" to check target libc ssp support. Based on GLIBC version strings in features.h in that search path, gcc knows whether target (e)glibc implements stack protector itself. However this breaks meta-toolchain, which actually has target libc headers installed under {with-build-sysroot}/opt/... This way features.h is not found and thus gcc-crosssdk-intermediate thinks that target (e)glibc doesn't support ssp. Later when building eglibc-nativesdk, undefined reference to "__stack_chk_guard" occurs which was caused by: o eglibc do_configure found that gcc-crosssdk-intermediate supports ssp, and thus enable -fstack-protector for nscd o eglibc itself supports stack smash proctection for some architectures such as i386, x86-64, etc. It's expected to use its own method to provide stack protection, instead of relying on gcc. So eglibc rtld.os doesn't export __stack_chk_guard to other modules o then when installing nscd objects, gcc-crosssdk-intermediate sees the flag "-fstack-protector", while it thought this eglibc doesn't implement ssp itself, so gcc turns to the alternative to find a valid __stack_chk_guard exported. eglibc doesn'g export it, while gcc-crosssdk-intermediate itself disables libssp. Then the undefined reference happens. If enabling libssp for gcc-crosssdk- intermediate, it may also work-around this issue. But the ideal fix is still to replace hard coded path with the actual one where target libc gets installed. glibc-nativesdk doesn't encounter this issue because it thinks gcc doesn't support ssp, and thus doesn't enable "-fstack-protector" for nscd. Don't know the reason yet This fix [BUGID #366] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* initrdscripts: remove the incorrect moblin message (Bug 368)Yu Ke2010-09-301-1/+1
| | | | | | | | | | When install the live image into netbook/emenlow, the install tool prompt: # Found drive at /dev/sda. Do you want to install moblin there ? [y/n] The "moblin" here should be replaced by "poky". Fix [BUGID #368] Signed-off-by: Yu Ke <ke.yu@intel.com>
* qmmp: add qmmp into image (Bug 301)Yu Ke2010-09-302-3/+5
| | | | | | | | | | qmmp is not included any image before, because it depends on one moblin recipe taglib. Since now the taglib is included into meta/recipes-support, it is safely to add qmmp into the task-poky-qt. This commit also add an build time dependency for qmmp, because qmmp use some head files from taglib. Without this, qmmp build failure is occationally observed. Fix [BUGID #301] Signed-off-by: Yu Ke <ke.yu@intel.com>
* kern-tools: add BSP bootstrap supportBruce Ashfield2010-09-301-1/+1
| | | | | | | | | Part of [BUGID #373] Update the default revisions for kern_tools to pull in the updates required to support BSP bootstrapping. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-wrs: pass ARCH to updatemeBruce Ashfield2010-09-301-1/+1
| | | | | | | | | | Part of [BUGID #373] In order to generate BSP definitions for new boards, we need to know the architecture. So we'll arrange to pass it to updateme. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-wrs: validate commits when forcing branchesBruce Ashfield2010-09-301-6/+23
| | | | | | | | | | | | | | | | | | | | Fixes [BUGID #372] If for some unknown reason, the kernel git repository hasn't been properly updated and is *older* than the revisions listed in default-revisions the branch sanity checking kicks in and tries to force branches to the right revs. The problem is, the revisions it is looking for don't exist in the tree. As a result, error messages are thrown about invalid commit IDs. These aren't helpful, and are simply confusing for the user. Instead we can test for the commit ID, and if it isn't valid, indicate that the commit ID isn't valid and that the tree is potentially out of sync. This situation is not common, but it is an easy test and the extra sanity checking is useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* mc: add to extended, but not part of any imageSaul Wold2010-09-301-0/+0
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* Distro tracking: Add info for lighttpdSaul Wold2010-09-301-0/+10
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* rpm_5.1.10.bb: The upstream location has changedMark Hatle2010-09-301-2/+2
| | | | | | | | | | | rpm_5.1.10.bb: bump PR [BUGID #357] The upstream distribution location for the Poky 5.1.10 version of RPM has changed. Correct it to the new location. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* rpm_5.1.10: Disable dependency loop messageMark Hatle2010-09-302-0/+39
| | | | | | | | | | | | [BUGID #332] Disable the dependency loop message that looked like an error had occured. This is really a debug message. Also remove the "remove: " debug message about which side of the dep loop it is removing to resolve the circular dependency. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rootfs_rpm.bbclass: Add Dirnames configurationMark Hatle2010-09-301-0/+4
| | | | | | | | | | | | [BUGID #327] RPM attempts to validate all of the directories on the system are owned by a package. While the root "/" directory was not owned, so in some cases an error could be thrown. Resolve this by informing RPM that yes, "/" is in fact a directory on the system that was properly constructed and is "owned". Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* distro_tracking_fields: Updated with distro alias informationSaul Wold2010-09-301-1/+0
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* pointercal: Add LICENSE fieldRichard Purdie2010-09-301-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* udev-extraconf: Fix LICENSE fieldRichard Purdie2010-09-301-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pong-clock: Fix LICENSE fieldRichard Purdie2010-09-301-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* signgp: Add licence info from OE.devRichard Purdie2010-09-302-2/+37
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* task-poky-lsb/basic: Add LICENSE fieldsRichard Purdie2010-09-302-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* run-postinsts: Add LICENSERichard Purdie2010-09-301-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/bitbake-sigdiff: Extend to handle dumping single state siginfo filesRichard Purdie2010-09-302-1/+28
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/siggen: Fix issue where excluded dependencies caused exceptionsRichard Purdie2010-09-301-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky.conf: Add BB_HASHBASE_WHITELIST to ignore variables which don't ↵Richard Purdie2010-09-301-1/+1
| | | | | | influence sstate packages (Initial Population) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "Drop vm_mmap_min_addr checks from scripts and sanity class"Joshua Lock2010-09-292-0/+18
| | | | | | | | | This reverts commit 138df217efe850528f88d340acf864c38780c2b0. We still need the vm_mmap_min_addr set to 0 to run locale generation for qemu-arm Signed-off-by: Joshua Lock <josh@linux.intel.com>
* sstate: list directories in child first order in the manifest fileJoshua Lock2010-09-291-2/+4
| | | | | | | | | | The directory list in the manifest file needs to be sorted such that child directories are deleted first. Fortunately as the list is generated by walking the directory tree achieving this is as simple as reversing the directory list. Fixes [BUGID #269] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* procps: use new batch update-alternatives featureKevin Tian2010-09-291-30/+6
| | | | Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* diffutils: use new batch update-alternatives featureKevin Tian2010-09-291-20/+2
| | | | Signed-off-by Kevin Tian <kevin.tian@intel.com>
* bzip2: use new batch update-alternatives featureKevin Tian2010-09-291-20/+5
| | | | Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* update-alternative.bbclass: add batch alternatives supportKevin Tian2010-09-291-2/+81
| | | | | | | | | | | | | | | | | | | | | | | With new batch ability, we can use below simple 2 lines for multiple alternatives updates: ALTERNATIVE_LINKS = "${bindir}/cmd1 {sbindir}/cmd2 ..." ALTERNATIVE_PRIORITY = "100" Then for each command "/path/cmd" listed in ALTERNATIVE_LINKS, below is done automatically: ${D}/path/cmd is renamed to ${D}/path/cmd.{PN} a new alternative named 'cmd' is created which: links /path/cmd to /path/cmd.{PN} with priority specified in ALTERNATIVE_PRIORITY This way the recipe with multiple alternatives could be simplified a lot. There are still some cases where above assumptions may break, but I expect more recipes should benefit from this simple enhancement Fix [BUGID #257] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* e2fsprogs: Don't change ownership of the patches directoryGary Thomas2010-09-291-1/+1
| | | | | | | Patches can be symlinks and changing their ownership may not be possible. Therefore stop doing this. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gstreamer: Ensure correct orcc version is usedGary Thomas2010-09-291-0/+8
| | | | | | | Taken from a patch from the OE list posted by Michael Smith, submitted to Poky by Gary Thomas. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* handbook/bsp-guide: Fix typoRichard Purdie2010-09-291-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-doc-tools: Remove unnecessary autotools usage and simplfy structureRichard Purdie2010-09-2927-383/+18
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Add signature hash to sstate package namesRichard Purdie2010-09-291-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/bitbake-runtask: Signatures are needed in task context and have ↵Richard Purdie2010-09-291-0/+1
| | | | | | little overhead so enable in worker context Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie2010-09-295-18/+19
| | | | | | unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: pstage -> sstate name changes (no global implications)Richard Purdie2010-09-291-29/+29
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Rename PSTAGE2 -> SSTATERichard Purdie2010-09-291-35/+35
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/siggen: Ensure full signature data is not held unless needed, ↵Richard Purdie2010-09-293-15/+22
| | | | | | reducing memory consumption Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* connman: fix the issue that connman could not disconnect from shutdown APDongxiao Xu2010-09-283-3/+45
| | | | | | | | | | | | | Upstream has a fix for MeeGo/Carrick which has the same phenomenon as our side, therefore port the patch into poky. This fixes [BUGID #266] and [BUGID #267]. Remove the option "--enable-fake" since it sometimes causes offline mode failure. Launch connmand in initlevel 3. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* task-poky-basic.bb: fix lighttpd typoSaul Wold2010-09-281-1/+1
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* task-poky-basic.bb: add lighttp to basic image type for webserverSaul Wold2010-09-281-0/+1
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* local.conf.sample: set RPM as default package and rootfs image creationSaul Wold2010-09-281-2/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* lighttpd: Add 1.4.28 as new recipe.Zhai Edwin2010-09-284-0/+423
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* bitbake: Pass task hash information to subprocessesRichard Purdie2010-09-283-5/+47
| | | | | | | Pass task has informaiton to work processes, allowing full manipulation of the hash data in the task context allowing checksums to be usable. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/fetch: fix logic to prevent fetches when the file already existsJoshua Lock2010-09-281-0/+2
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* codeparser.py: Fix storing of hash values as object references can be corruptedRichard Purdie2010-09-281-8/+11
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* iproute2: Disable PARALLEL_MAKESaul Wold2010-09-272-1/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* eglibc: add FILESPATH to avoid failure on unpackDexuan Cui2010-09-271-0/+2
| | | | | | | | Actually Kevin identified the issue: without this fix, "bitbake eglibc-initial-nativesdk" would fail on unpack. Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* poky-default.inc: change the hardcoded glibc-initial to ${POKYLIBC}-initialDexuan Cui2010-09-271-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* distro_tracking_fields.inc: update cpio infoScott Garman2010-09-271-1/+1
| | | | | | Reflects current status of cpio recipes. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* cpio: add version 2.11 (GPLv3)Scott Garman2010-09-272-0/+22
| | | | | | | This is the most recent version of cpio. Recipe derived from OpenEmbedded's recipe for cpio v2.5. Signed-off-by: Scott Garman <scott.a.garman@intel.com>