summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* classes/sanity: fix handling of bblayers.conf updatingPaul Eggleton2013-04-131-25/+52
| | | | | | | | | | | | | | | | | | | | | | Fix the fairly long-standing problem of treating a newer bblayers.conf in the same manner as an older one (reporting that it had been updated even if nothing was done). The recent work to do a reparse without having to manually re-run bitbake turned this from an annoyance into an endless loop, so it had to be fixed. As part of fixing this the following changes have been made: * Extensions are now implemented using a function list, so distro layers can add their own functions which should either succeed (indicating they have successfully updated the file) or raise an exception (indicating nothing could be done). The functions are called in succession until one succeeds, at which point we reparse. * If we can't do the update, the error message now says "older/newer" instead of just "older" since we only know the version is different. (From OE-Core rev: 46b00fdfc9d1e3dc180de087bae2682a1baa2954) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: Workaround opkg multilib issuesRichard Purdie2013-04-131-0/+2
| | | | | | | | | | | | | | | | | Multilib with opkg hasn't worked since the --force-overwrite option was dropped in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88a9f6db3482623c9cb54fb03db1045051cec9f6 Since we merged the libexecdir changes, we also need the --force-maintainer flag to avoid conf file conflicts. Both these changes are suboptimal however the alternative is completely broken and these changes only affect people who have multilibs enabled and use opkg. [YOCTO #3453] (From OE-Core rev: 6310e66cd62aab6109027a8dce9c56bf721bea92) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Update initscript to check for devtmpfsSaul Wold2013-04-131-0/+8
| | | | | | | | | | | | This is needed because the udev_182 now requires devtmpfs and will not work correctly with out, so ensure that the kernel contains devtmpfs by checking /proc/filesystems. [YOCTO #4125] (From OE-Core rev: 4f85bb5254b3f4a9db8b419947d4bde424ce9617) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: Fix libpng determinism issuesRichard Purdie2013-04-132-0/+24
| | | | | | | | | | | | | We now have libpng 1.6. If we build libpng12 as well as libpng 1.6, the 1.2 version gets preferred which is not desirable and does not give deterministic builds. We really do want to use libpng since the item in DEPENDS will provide this so manipulate the search list so the one we DEPEND on gets chosen. This was the cause of a recent autobuilder failure. (From OE-Core rev: ce1d262ea36da9a9fdeeefc0ddc69833801d4d2d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: Add Upstream-Status and description to patchRichard Purdie2013-04-121-0/+7
| | | | | | (From OE-Core rev: 6af6df6c6507cae61dbd9d6994ff4162b54df451) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix typo in patch headerRichard Purdie2013-04-121-1/+1
| | | | | | (From OE-Core rev: 6749cd024eaeda238cfe22ec2ab5f57da866607c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed typo for "&gt;".Scott Rifenbark2013-04-121-1/+1
| | | | | | | (From yocto-docs rev: c7e62bbf4a1d35ed00f6cc0641e2c19606c7e53d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Completed first draft of the new Ptest section.Scott Rifenbark2013-04-121-26/+47
| | | | | | | (From yocto-docs rev: 90fbbc2eb6bc6292432060fbd3e806b809f70148) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: First draft of new Ptest section.Scott Rifenbark2013-04-121-0/+126
| | | | | | | (From yocto-docs rev: 0580709bedec80446e6de5b9c135c3df89e2805f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the FILESEXTRAPATHS variable description.Scott Rifenbark2013-04-121-28/+20
| | | | | | | | | | | | | Fixes YOCTO #3662. Per comments from Paul Eggleton, I updated the description to include best practices of prepending and from using within append files. (From yocto-docs rev: 368055bc046277fe601ff3a64913044be0a15e6d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix non-local patch/config locationBruce Ashfield2013-04-127-7/+7
| | | | | | | | | | | | | | | | | | | | A regression was introduced when implementing the ability to restrict configuration values via include directives. Only patch and config files that were local to a feature directory could be found. While this doesn't impact most users of the tools, it is an issue that needs to be fixed. Additionally, the regex that detected flags passed to includes was not specific enough, and unfortunately named feature files would match. This resulted in features like standard-nocfg.scc inhibiting all configuration items, even base configs. This change also bumps the linux-yocto 3.4 and 3.8 PR values to ensure that kernels will be rebuilt once this change is active. (From OE-Core rev: ddce9f375c626ef2c86f48612b3d7a24e3111b0b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: fix build with non-Mesa GL stacksRoss Burton2013-04-124-1/+392
| | | | | | | | | | | | | These patches from upstream allow mesa-demos to build and run against a non-Mesa GL stack. Thanks to Tom Zanussi for doing this work for EMGD in meta-intel, and Otavio Salvador for confirming it also works for Freescale. [ YOCTO #3469 ] (From OE-Core rev: 60fabb6ea0474b19ad57873b402a608a92c5a5d4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: only build the scanner in wayland-nativeRoss Burton2013-04-122-0/+38
| | | | | | | | | | | | | We only build wayland-native for the scanner, so disable the bits we don't actually need. This gives us a small speed up but importantly should allow wayland-native to compile on older hosts such as CentOS 5 which currently fails. [ YOCTO #4245 ] (From OE-Core rev: bfbe9b6a4fd7a8b5e5827847c2adff894e609e94) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: update crypt.patch to use backport from upstreamRoss Burton2013-04-121-18/+94
| | | | | | | | | | Upstream closed my bug and rewrote the patch, so update our patch with a backport from upstream. (From OE-Core rev: 31327bac1e5438a0041638332698a1e1e91640ba) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmodmap: fix compile with gcc 4.8Ross Burton2013-04-122-0/+62
| | | | | | | | | | | | | | | With gcc 4.8 there are compile errors: xmodmap.c:289:5: error: implicit declaration of function 'asprintf' [-Werror=implicit-function-declaration] (and more) These have been fixed upstream so take the patch from git until 1.0.8 is released. (From OE-Core rev: 3a4ce4bd2b1ab7834edabbaf63acb18113cf1907) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Optionally create lib dir during deployKhem Raj2013-04-121-0/+1
| | | | | | | | | | | | | | | | | | | when we have multilib and a 64bit machine and initramfs then image/lib directory will not be created and it will end up with errors like | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing shell function do_deploy | tar: lib: Cannot stat: No such file or directory | tar: Exiting with failure status due to previous errors So in order to overcome this shortcoming lets mkdir -p the lib directory so the modules can be happily installed. (From OE-Core rev: 3f501204f375cc40a14597a25cb09faaba9ff802) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use $PN in SYSTEMD_PACKAGESRoss Burton2013-04-121-1/+1
| | | | | | | | | | Instead of using util-linux-uuidd in SYSTEMD_PACKAGES use ${PN}-uuidd, as in multilib configurations util-linux-uuidd doesn't exist. (From OE-Core rev: 1b840f8f0a52423a2a395b4ff35a6b24b05e6c0b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use ${BPN} instead of ${PN} in FILESRoss Burton2013-04-121-1/+1
| | | | | | | | | | Otherwise in multlib builds the wrong name is used and files don't get packaged correctly. (From OE-Core rev: 6b1e5db596a8ba55a8f7b54aa9ff41771f39b230) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: add necessary dependencies to fix build errorZhenhua Luo2013-04-111-2/+4
| | | | | | | | | | | | | add libffi into DEPENDS to fix following build error: | checking for FFI... no | configure: error: Package requirements (libffi) were not met: | | No package 'libffi' found (From OE-Core rev: 23d6746efe1b3f31ad156db58fbc2767f750b712) Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg.inc: don't hardcode /var/lib/opkgLaurentiu Palcu2013-04-111-1/+1
| | | | | | | (From OE-Core rev: 9caf1f2540f0419c1301cc21777f97c6671fd844) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg, opkg, rpm-postinsts: avoid repackaging when changing IMAGE_FEATURESPaul Eggleton2013-04-113-0/+3
| | | | | | | | | | | | | | | | | | Recipes cannot depend on the value of IMAGE_FEATURES; in this case the result is do_package task signatures changing every time IMAGE_FEATURES changes, causing a large number of task re-executions. The implementation of the log capturing really needs to be changed to capture these in a different place and possibly not even conditional upon IMAGE_FEATURES at all, but this will be invasive at this point in the development cycle. For now, remove the variable dependencies to fix the immediate problem. Fixes [YOCTO #4246]. (From OE-Core rev: b4fbe4095de447ef4e426128bafaf8a292fa63e1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: handle glibc 2.17 crypt semanticsRoss Burton2013-04-112-0/+25
| | | | | | | | | | | | | | | Staring from glibc 2.17 the crypt() function will error out and return NULL if the seed or "correct" is invalid. The failure case for this is the sudo user having a locked account in /etc/shadow, so their password is "!", which is an invalid hash. crypt() never returned NULL previously so this is crashing in strcmp(). [ YOCTO #4241 ] (From OE-Core rev: 06d7078f7631b92e8b789f8e94a3a346d8181ce6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc: Allow to use this bbclass together with external toolchainsMartin Jansa2013-04-111-4/+33
| | | | | | | | | * original implementation by Antti Harju (From OE-Core rev: abb5bd9f2d3583808b61a0832378e4db45022be6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: fix build multilib image failed when PR Server enabledHongxu Jia2013-04-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | 1, In bitbake.conf PKGR ?= "${PR}${EXTENDPRAUTO}" EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}" RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})" 2, When PR Server is enabled, EXTENDPRAUTO is not none which means PKGR and PR don't have the same value. 3, When multilib is enabled, RDEPENDS_${PN}-dev is not expanded correctly which uses PR rather than PKGR in the versioned dependency string. 4, Make sure PKGR rather than PR in version string when do_package_rpm. [YOCTO #4050] (From OE-Core rev: cf53c606fc1bc81abb68b6851ae68916f92e1d84) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix path to systemd-analyze so it end up in the right package.Erik Botö2013-04-111-1/+1
| | | | | | | | | | | Since the upgrade to version 199 the location for systemd-analyze has change this caused the systemd-analyze package to be empty and the binary was shipped with the systemd package instead. (From OE-Core rev: 997f39575dbf85600a67bfb815d715443c3fe279) Signed-off-by: Erik Botö <erik.boto@pelagicore.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Spell check.Scott Rifenbark2013-04-111-2/+2
| | | | | | | | | Found a couple words that were fat-fingered and fixed them. (From yocto-docs rev: 593fd043f350bbce302c3de7dce0ab4bdbd2f247) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using a Development Shell" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: b90142103e053636e1fe5e00e43cff8195146f12) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Image Development Using Hob" section.Scott Rifenbark2013-04-111-7/+11
| | | | | | | (From yocto-docs rev: 62d5833951780cb5e8c39cc37e43bc30cf151d92) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using a Git Workflow" section.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 94358ad29cf92f4094fa5ba336ef9b4ccf3cc81d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using a Quilt Workflow" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 392cfbab010858ce0354a41e1e6c2304a3be9287) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed section heading capitalization.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 7f948729342eeb55072816ccade3bc9a32646c92) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Workflow Using Stand-Alone Cross-Development ↵Scott Rifenbark2013-04-111-1/+2
| | | | | | | | | Toolchains" section. (From yocto-docs rev: ea008dbbb0a6ab14ae3fe44238f60f92d85cecde) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Building and Customizing the Image Using Hob" section.Scott Rifenbark2013-04-111-7/+11
| | | | | | | (From yocto-docs rev: bd5fd85a90f4262eda09623fe2398798a4fecfe3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Changed title - shouldn't say "Files".Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 538230267d9035ca5230b7176369ed8f95a64128) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Editing the Metadata Files" section.Scott Rifenbark2013-04-111-4/+6
| | | | | | | (From yocto-docs rev: bfa2ed13f7b924b38c3048431a93e3397f4afafa) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Creating the Yocto BitBake Commander Project" section.Scott Rifenbark2013-04-111-9/+12
| | | | | | | (From yocto-docs rev: f6b29db4b5f5f7580ce61fe2650bcaeb29a7d10e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Customizing an Image Using a BitBake Commander Project ↵Scott Rifenbark2013-04-111-3/+3
| | | | | | | | | and Hob" section. (From yocto-docs rev: 72047560f5ecccf8d1dd7c7e9acb1ae1ec15ffe5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed an occurence of "User Space" in a title.Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | This should be "User-Space". (From yocto-docs rev: 68bd187b9d0f3aeb8bc173fa49a97e5b01717661) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Running User-Space Tools" section.Scott Rifenbark2013-04-111-35/+42
| | | | | | | (From yocto-docs rev: bb3e5efe23d1bc890ad203e1c936937fb4fd8958) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Deploying and Debugging the Application" section.Scott Rifenbark2013-04-111-15/+18
| | | | | | | (From yocto-docs rev: cfea9d5872952ab21942b4d4cc4ae7ec89fa9d94) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Starting QEMU in User Space NFS Mode" section.Scott Rifenbark2013-04-111-1/+2
| | | | | | | (From yocto-docs rev: 7ef63536e99dfadaa436fd03a174cfae6aebc60a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Building the Project" section.Scott Rifenbark2013-04-111-2/+3
| | | | | | | (From yocto-docs rev: 4d5903522e13dca6273f6724f05b0a7caab17798) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Cross-Toolchains" section.Scott Rifenbark2013-04-111-8/+9
| | | | | | | (From yocto-docs rev: 22bc538effa37ea48884942f204488637663f75b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Creating the Project" section.Scott Rifenbark2013-04-111-3/+3
| | | | | | | (From yocto-docs rev: 89ab8e345316bb76263e250491e2879d02f1c857) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Configuring the Target Options" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: d47713659d1a4980b7c1d435b97570a6608658d2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Configuring the Cross-Compiler Options" section.Scott Rifenbark2013-04-111-15/+18
| | | | | | | (From yocto-docs rev: b301486fe522a519fa743975fd229ab9060cf0c8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Eclipse Yocto Plug-in" section.Scott Rifenbark2013-04-111-3/+4
| | | | | | | (From yocto-docs rev: 05795932390370a06599ae6898e2f4d9187f7a37) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Importing the Plug-in Project into the Eclipse ↵Scott Rifenbark2013-04-111-4/+9
| | | | | | | | | Environment" section. (From yocto-docs rev: b1f7160923af2732aa93114f97caadb45e983699) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing the Plug-in Using the Latest Source Code" ↵Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | section. (From yocto-docs rev: 28deb9648920ace60924b7d2c23a5d9f614b3f21) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing or Accessing the Eclipse Yocto Plug-in" ↵Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | section. (From yocto-docs rev: f526dc09bcf6e89a1fe3ba48b42361b9c7ca1ae3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>