aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-09-10devshell: Add interactive python shellrpurdie/wipqueue3Richard Purdie
Being able to interact with the python context in the Bitbake task execution environment has long been desireable. This patch introduces such a mechanism. Executing "bitbake X -c devpyshell" will open a terminal connected to a python interactive interpretor in the task context so for example you can run commands like "d.getVar('WORKDIR')" Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10mass perl import (hacks present)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10Revert "build.py: Drop inside knowledge of ${B} from exec_func()"Richard Purdie
This reverts commit cdf0ccb1690eb4d32868691dc62d44345c90f715.
2013-09-10build.py: Drop inside knowledge of ${B} from exec_func()Richard Purdie
Randomly creating directories such as ${B} is rather ugly. Bitbake shouldn't really have any inside knowledge about this directory or be creating it. Drop the funcitonality and default to the current working directory if no other directory is specified for the function. This will need careful testing but should cleanup the directory struture a bit and avoid some interesting race conditions people have run into. [YOCTO #4634] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10base.bbclass: Deprecate the PRINC logicMark Hatle
The PRINC logic is now deprecated, the PR server should be used to handle the automatic incrementing of the PR (package release) field. The default setting of '0' has been removed, and a warning message has been added. (From OE-Core rev: e1cf564ebc8e7b4fa626a645356f6a4d7f5ba064) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10package.bbclass: Fix shlibs handlingRichard Purdie
Libraries places in subdirs of libdir should not match this code, neither should things in /foo/lib. These tweaks ensure the regexp matches the correct things and avoids modules in ${libdir}/${PN}/. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10package.bbclass: add SHLIBSSEARCHDIRS to define where to search for shlib ↵Martin Jansa
providers * when package contains some files matching "^.*\.so", but in directory not default linker search paths (e.g. /opt/package/bundled-lib/libfoo.so) don't register it as libfoo provider, because it's possible that there is different package providing libfoo.so in ${libdir} and that would be better shlib provider for other packages to depend on * recipes providing libs intentionally in some other directory can define own SHLIBSSEARCHDIRS value [YOCTO #4628] (From OE-Core rev: 0f65a357132412b81681c0b057904dd441c08ddf) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10package.bbclass: show warning when package is trying to provide already ↵Martin Jansa
provided shlib * move read_shlib_providers before registering package as provider and don't change provider if it already exists, show warning instead [YOCTO #4628] (From OE-Core rev: 9ef7008b3238b6da5a3d5ee59553ca9c6d9ae77c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10package.bbclass: move reading shlibs providers to separate functionMartin Jansa
* prepare for reading shlibs providers only from dependency tree of current recipe [YOCTO #4628] (From OE-Core rev: 4c52743e6b5e59e46871b359a3ea9d3a0fdeb20f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10gcc-runtime: Hacks for libgfortran with gcc-4.8Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10PR server tweaksRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10gcc: fortran fixRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10bitbake.conf: Stop providing ${P} and ${PF} by defaultRichard Purdie
For a long time we've provided PN-PV and PN-PV-PR by tweaking PROVIDES. This looks nice at first glance however it turns out to be a bit problematic. Taking make as an example where there are two versions, 3.81 and 3.82, what should "bitbake make-3.81" do? Currently it builds make-3.81 and make-3.82 and breaks in interesting ways. Is that a bitbake bug? Well, it certainly shouldn't try and run the build. Why is it building 3.82 though? Its due to finding a dependency on "make-dev" and then trying to figure out what provides it? The answer is "make" and the default version of "make" is 3.82. So arguably, finding "make-3.81" should infer PREFERRED_VERSION_make = "3.81". Doing so resolved the above problem since now "make" resolves to "make-3.81". So what about if we have Recipe A: DEPENDS = "make-3.81" and Recipe B: DEPENDS = "make-3.82" That is clearly an error, easy. So finally what about if we have Recipe A: DEPENDS = "make-3.81" and Recipe B: DEPENDS = "make" The first recipe infers the PREFERRED_VERSION_make = "3.81" and then forces that version on everything else. Is that desired? Probably not in most cases, at least not silently. As mitigation, we could print a WARNING about this happening. The final part of the problem is that we can ony figure this out within bitbake itself. That means we'd have to teach bitbake about the PN-PV format of PROVIDES which is breaking the separation between bitbake and the metadata. Nobody that I know of is using or relying on this functionality so perhaps we should just remove it instead which is what this patch does. Opinions? Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10runqueue: Optimise next_buildable_task()Richard Purdie
This unlikely looking function was found to be eating a lot of CPU time since it gets called once per trip through the idle loop if we're not running a maximum number of processes. This was particularly true in world builds of 13,000 tasks. Calling the computation code is pretty pointless because until some other task finishes nothing is going to become available to build. We can know when things become available so this patch teaches the scheduler this knowledge. It also: * skips any coputation when nothing can be built * if there is only one available item to build, ignore the priority map * precomputes the stamp filenames, rather than doing it every time * saves the length of the array rather than calculating it each time (the extra function overhead is significant) Timing wise, initially, 5000 iterations through here was 20s, with the patch 200000 calls takes the same time. The end result is that builds get up and running faster. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-09yocto-bsp: remove apm as a default MACHINE_FEATURESaul Wold
APM is not only obsolete, but also requires a kernel config enabled, which is not enabled by default [YOCTO #5121] (From meta-yocto rev: e25c43661f27b27e61aa7fae868237c1c60e3e25) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-09beagelboard.inc: remove apm as a MACHINE_FEATURESaul Wold
APM is not only obsolete, but also requires a kernel config enabled, which is not enabled by default [YOCTO #5121] (From meta-yocto rev: 91e6d33135cc48aaf20a6138c050c6989af1f13a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-09bitbake: runqueue.py: check whether multiple versions of the same PN are due ↵Robert Yang
to be built There would be an race issue if we: $ bitbake make-3.81 make-3.82 This because they are being built at the same time which would cause unexpected problems, for example: [snip] ERROR: Package already staged (/path/to/tmp/sstate-control/manifest-qemux86-make.populate-sysroot)?! ERROR: Function failed: sstate_task_postfunc [snip] Or there would be python's strack trace such as: [snip] *** 0004: mfile = open(manifest) 0005: entries = mfile.readlines() 0006: mfile.close() 0007: 0008: for entry in entries: Exception: IOError: [Errno 2] No such file or directory: xxx [snip] [YOCTO #5094] We can quit earlier to avoid this kind of issue when two versions of the same PN are going to be built since this isn't supported. (Bitbake rev: ab377c00c33a2d296bfda1b0b6c2a62b29d1004f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-09bitbake: providers.py: enhance the runtime debug degbug messgaeRobert Yang
The runtime provider debug message is the same as the build time debug message, make them different would be better. [YOCTO #5067] (Bitbake rev: 92b624cbc2711d3d859994099fb63918dfd0031a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-09qemu.inc: remove apm as a MACHINE_FEATURESaul Wold
APM is not only obsolete, but requires a kernel config enabled and is meaningless for QEMU VM [YOCTO #5121] (From OE-Core rev: b0f8c47b1e808421f03308527beb8bde15644acd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-08bitbake: prserv: Ensure data is committedRichard Purdie
In exclusive mode, we need to complete the transaction for writes to make it to the database. Therefore add sync calls to ensure this happens. Autocommit mode is significantly (100 times) slower so caching the data is of significant benefit. (Bitbake rev: 4e55f7821786a59c2cd7dbd8bfa2a22f5f196e99) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-08cmake: set system name correctlyRichard Purdie
For unknown reasons, the cmake class is using SDK_OS as the target system OS. This makes no sense but only shows up as a problem when you try a different SDK OS. Fix it to use TARGET_OS which is the correct thing to do. For the vast majority of users this will make no difference. (From OE-Core rev: 57be84259f0885865c85d7bac350979430b956b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06package.bbclass: skip already-stripped QA test if asked forKhem Raj
Some packages like grub have already stripped binaries e.g. ERROR: QA Issue: File '/boot/grub/kernel.img' from grub was already stripped, this will prevent future debugging! ERROR: QA run found fatal errors. Please consider fixing them. We would like to have a possibility to skip it using something like INSANE_SKIP_${PN} = "already-stripped" This adds the logic to do so it acts at PN level and not at package level. so something like INSANE_SKIP_${PN}-misc = "already-stripped" wont work. (From OE-Core rev: 765982f4c050d9cd3eb608d630312da482c737c7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06ghostscript: Add missing dependency to resolve parallel make issueRichard Purdie
(From OE-Core rev: a24027321b99dffd79b1f0c009ce89f0be7cc384) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06meta-yocto-bsp: update h/w reference boards SRCREVsBruce Ashfield
Updating the machine SRCREVs for the hardware reference boards to the latest 3.10.10 and ssh fixes. (From meta-yocto rev: 2aa6cc9d64fc22a8d0f02c5cf97440b634ba5e36) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06beagleboard: upgrade the kernel to 3.10.xLiming Wang
In 3.10.x linux kernel, uImage can't be compiled by default. But zImage has been supported by the latest u-boot, so use zImage as the default kernel image file. In u-boot command, use "bootz", instead of "bootm", to boot the kernel. And add device tree files to support dtb in latest kernel. (From meta-yocto rev: ff6b4ae23ccd14cefdb94c561160fbdc8344793d) Signed-off-by: Liming Wang <liming.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06mpc8315e-rdb: update to the 3.10 kernelKevin Hao
Update the mpc8315e-rdb to the latest available yocto kernel. Build and boot test on mpc8315e-rdb board with core-image-sato. (From meta-yocto rev: 67088a41b1f2222ffceba40928ebce87b9bff180) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06genericx86: Create a genericx86-common.inc base for the x86 BSPsDarren Hart
The genericx86 and genericx86-64 machines share a great deal in common in terms of machine features, required packages, etc. Use a common include file to simplify changes to both machine definitions and avoid accidental omissions. Replace the hard-coded XSERVER assignment with the XSERVER_IA32* defines from ia32-base.inc. (From meta-yocto rev: c70ee30da060173f51e8dba72069052ecff389b5) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Ross Burton <ross.burton@intel.com> Cc: yunguo.wei@windriver.com Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06uboot-config.bbclass: Allow choose of U-Boot config for machineOtavio Salvador
Some machines provide several possible configurations and until now there was no easy way for user to override the default setting. This class provides a system similar to PACKAGECONFIG but for U-Boot. The format is: UBOOT_CONFIG ??= <default> UBOOT_CONFIG[foo] = "config,images" There are two possible parameters: - config: it is used to set UBOOT_MACHINE - images: it is used to append onto IMAGE_FSTYPES Below there's an usage example: ,----[ i.MX6Q SABRE AUTO based example ] | UBOOT_CONFIG ??= "sd" | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard" | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config" | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs" | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config" `---- User can, from local.conf or environment, use UBOOT_CONFIG=nand and override the default setting, as: ,----[ Override example from command line ] | MACHINE=imx6qsabreauto UBOOT_CONFIG=nand bitbake core-image-base `---- (From OE-Core rev: 5dba521611d644357cf0a98d2e30dcf41777c6ef) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06linux-firmware: Update SRCREV, pull in iwlwifi-7260 supportDarren Hart
Fixes [YOCTO #5110] Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package. Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files. (From OE-Core rev: bf4044ab8f9ef3be087996a559c54eeded1fb0c8) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: yunguo.wei@windriver.com Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06kern-tools: support no author patchesBruce Ashfield
Updating the kern-toosl SRCREV to pick up the following fix: previous versions of the kern-tools supported the ability to import a bare patch, with no From: Subject: or other identifying fields that are typically in a full commit. The same type of commit with kgit-s2q will prompt for a author ID, just as git-quilt-import does. In build system environment that leads to an infinite loop and the commit is never pushed. To fix this issue, we add an interactive flag (-i), that when passed the prompt based behaviour is used. When it isn't passed (the default), the following name and email will be used for the git author: GIT_AUTHOR_NAME="invalid_git config" GIT_AUTHOR_EMAIL="<unknown@unknown>" And a bare/incomplete header patch will be applied. [YOCTO #5100] (From OE-Core rev: cb0d8f8b9c59b351d11eef9c4951c4ce5601acb8) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06kernel-yocto: improve error checking on non-git reposBruce Ashfield
While non-git kernel repos are not the preferred format for a kernel upstream, they are supported. Depending on the creator of the archive the expanded source directory name varies. If the recipe for the kernel doesn't properly set S to the right value, a cryptic git error message is produced. We can detect the situation and offer some advice on how to fix the issue. A second check is also added in this commit for archive based kernel repos which won't have a SRCREV to validate. If we have no SRCREV or SRCREV is INVALID, we can exit the branch validation step immediately. This saves yet another cryptic git error message and simplifies a custom tgz based recipe. (From OE-Core rev: 0ebf67e8b4f7aaf259d7abac4af645070d846ec8) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06linux-yocto/3.10: update meta SRCREV for beagleboard config changesBruce Ashfield
Updating the beagleboard configuration to match the 3.10 kernel changes. With this, the beagle* boards boot out of the box, with no additional changes required. Simarpreet Singh <simar@linux.com> (From OE-Core rev: 410a4db2faec084a0e918dfce9fcb6c54d2aeaaf) Signed-off-by: Liming Wang <liming.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06bluez5: Rename tests package to testtoolsMihai Prica
Bluez5 ships some tools that can be used to test its functionality. The installation can be tested using "make check" and this should be included in a ptest package. [YB #5028] (From OE-Core rev: 8c3cbaf3fa5eafa55f209100211bd5c124b8cfaa) Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06bluez5: Install the bluetooth libraryMihai Prica
Bluez5 doesn't install libbluetooth by default. This is required by connman, ofono or other packages. (From OE-Core rev: bf7415366646db7661795620fa1ab2e78b12d947) Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06systemd: split out systemd-binfmt as a separate packageRoss Burton
If binfmt_misc was compiled as a module but isn't installed then systemd-binfmt will put an automounter on /proc/sys/fs/binfmt_misc and when it attempts to automount (e.g. when df is called) it can't find support for the filesystem, and throws an error. As binfmt_misc isn't commonly used, split this helper into it's own package, add a dependency on kernel-module-binfmt-misc, and ensure the service gets started when it's installed. [ YOCTO #4863 ] (From OE-Core rev: d42f7fc333495dc35227a6d1027492ab70f29b23) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06lib/oeqa/qemurunner: Use a timeout in select() callRichard Purdie
A 0 value to select.select() immediately returns with no timeout. This was pegging the cpu at 100% for the python process which was bad and may be contributing to some of the timeout problems. Profile from -P of a core-image-minimal before: 97526792 function calls (97525652 primitive calls) in 45.189 seconds and after: 50204 function calls (49064 primitive calls) in 17.318 seconds Saving 97.5 million function calls has to be good :) (From OE-Core rev: c0551436974d179df23418567f18a082830380f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06core-image-weston: Ensure wayland distro feature is enabledOtavio Salvador
(From OE-Core rev: 753be24f0bd63520b6840d1a68500f5bb38f086d) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06core-image-directfb: Use 'distro_features_check' classOtavio Salvador
(From OE-Core rev: 151c69a2f9f66bdd943f2db4d0b733c3d5091f4e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06resolvconf: specify configuration for systemd-tmpfiles --updateJonathan Liu
Running systemd-tmpfiles --update without specifying a configuration file results in all tmpfiles.d configuration files being processed. /usr/lib/tmpfiles.d/systemd.conf creates /run/nologin on boot to prevent non-root users from logging in while the system is booting. If systemd-tmpfiles --update is run after the system has started, it will still create /run/nologin which would prevent non-root users from logging in with the message "System is booting up.". (From OE-Core rev: 24f9280c35001ff6c1d5a263fab41ae21a8056f3) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06lib/oeqa/runtime: add basic scanelf testStefan Stanacar
This uses scanelf from the pax-utils package and scans the binaries in PATH for TEXTREL and RPATH information. For a sato image with pax-utils installed it shows no output (which is good). (From OE-Core rev: 629099ad66f5fa2814e5f7908b426149e8978e43) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06linux-firmware: package Marvell SD8787 firmwarePeter A. Bigot
Also split out Marvell license as separate package. (From OE-Core rev: 64fbea5625488adc0dcccf2cf3c09880b9554a52) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06linux-firmware: correct name of Marvell license filePeter A. Bigot
Follow upstream in changing the name of the license file for Marvell firmware: commit 2e79e60b7e4771427327ed508fa27b90d841afcb Author: Bing Zhao <bzhao@marvell.com> Date: Fri Jan 7 16:06:56 2011 -0800 linux-firmware: use single license file for Marvell firmwares Libertas and mwl8k firmware images are under the same license. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Brian Cavagnolo <brian@cozybit.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> :000000 100644 0000000... 3224e1b... A LICENCE.Marvell :100644 000000 1fd8766... 0000000... D LICENCE.libertas :100644 000000 3224e1b... 0000000... D LICENCE.mwl8k :100644 100644 d0740ce... 35b82c8... M WHENCE (From OE-Core rev: 0947e1fd559ce3dbce3705d1f3267860f04e3348) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06devshell: Don't corrupt the fakeroot variablesRichard Purdie
The devshell anonymous python fragment overwrites variables in the datastore with their expanded versions. If this runs before the code in allarch.bbclass which changes TARGET_OS, we can end up with different directories in the fakeroot environment variables, some expanded with the original TARGET_OS value. The devshell code only needs to run before the task itself so we change to trigger it to run at task execution time only using a flag. [YOCTO #4795] (From OE-Core rev: 56baf177cdf074929a090cc66a8b89d346a5d79c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06run-postinsts: move script execution from S98 to S99 in rcS.dLaurentiu Palcu
Apparently, when opkg/dpkg and run-postinsts are installed in the same time, opkg/dpkg postinstall overwrites the run-postinsts link in rcS.d. This will make run-postinsts script useless and the delayed postinstalls will not be run. This issue happens only when 'package-management' is disabled and, in the same time, dpkg/opkg ends up in the image: either pulled by some dependency or manually installed. With this patch, both opkg/dpkg and run-postinsts scripts will run but the former will silently fail because the package metadata is removed from the image since 'pacakge-management' is disabled. [YOCTO #4484] (From OE-Core rev: 882da38f226acc40c041155218549edad461b7d7) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06connman: Ignore the NFS root network interface in init scriptJukka Rissanen
The connman init.d script tried to ignore all the network interfaces if NFS root is configured. We should only ignore the interface that is used by NFS root. [YOCTO #4587] (From OE-Core rev: 1838671b832015ae28c8c101e8b20afbbf4b3c98) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06package_rpm.bbclass: Fix no_recommendations and package_excludeMark Hatle
When the code was refactored to address review comments, the wrong version was sent to the community. Replace the $1 with ${target_rootfs} Fix identified by: Yue Tao <yue.tao@windriver.com> (From OE-Core rev: a04f4fe8db425f0ea87a67b5c72d61816b8d53e2) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06useradd: Handle users from a package being used in othersThomas Fitzsimmons
If there is a package A (TUNE_PKGARCH) which is depended upon by B which is MACHINE_ARCH and you build B for machine X, then Y, the user isn't present in the sysroot for machine Y since the useradd code is never triggered. The change ensures the code does get triggered and the user is present. [YOCTO 4739] (From OE-Core rev: 5871337da49f8cd1eaf53f7cd0aacc026dc7bcdb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06kernel.bbclass, image.bbclass: Implement kernel INITRAMFS dependency and ↵Jason Wessel
bundling This patch aims to fix the following two cases for the INITRAMFS generation. 1) Allow an image recipe to specify a paired INITRAMFS recipe such as core-image-minimal-initramfs. This allows building a base image which always generates the needed initramfs image in one step 2) Allow building a single binary which contains a kernel and the initramfs. A key requirement of the initramfs is to be able to add kernel modules. The current implementation of the INITRAMFS_IMAGE variable has a circular dependency when using kernel modules in the initramfs image.bb file that is caused by kernel.bbclass trying to build the initramfs before the kernel's do_install rule. The solution for this problem is to have the kernel's do_bundle_initramfs_image task depend on the do_rootfs from the INITRAMFS_IMAGE and not some intermediate point. The image.bbclass will also sets up dependencies to make the initramfs creation task run last. The code to bundle the kernel and initramfs together has been added. At a high level, all it is doing is invoking a second compilation of the kernel but changing the value of CONFIG_INITRAMFS_SOURCE to point to the generated initramfs from the image recipe. [YOCTO #4072] (From OE-Core rev: 609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06gcc-runtime: Add packaging for libgfortran (and also tweak others)Richard Purdie
Add packaging for libgfortran and libquadmath as well as tweak the packaging for libmudflap since it was broken. (From OE-Core rev: 8a726d14a345ef35c6d8d8e369bf3691cee879bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06local.conf.sample.extended: Add an example of how to enable fortranRichard Purdie
Add an example of how to enable FORTRAN from local.conf. Make it clear this is not officially supported. [YOCTO #5091] (From OE-Core rev: 8e971a457427ad3999ff3cf4c9be3c141d6bb7be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>