summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2013-06-11systemd: don't install quotaon.service twiceyocto-1.4.1dylan-9.0.1.rc1dylan-9.0.11.4.1.rc1Ross Burton
If the same file is installed twice there's a race which can lead to "make install" failing. Remove the redundant installation of quotaon.service to eliminate the race. (From OE-Core master rev: c6c5c2285e1b6cb3598ccba08aee3dfd090e7129) (From OE-Core rev: 7b8dd3b5547b501e94a6887d3be5c2bbb8845ec8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11menu-cache: Fix segmentation faultLaurentiu Palcu
[YOCTO #4353] (From OE-Core master rev: 8c9c6155e6d83675a94b4eaae4ffc6dfeca399ee) (From OE-Core rev: 9bc9bb1eaca328b28aa1e914bb6e756989f7e301) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10libxi: Add libxfixes as dependencySaul Wold
A clean build found libxi missing this dependency, possible build order issue. (From OE-Core master rev: 7f5a0f98b3449d0a95fd6c12f1d6fa61b835fc2b) (From OE-Core rev: 60dba251d2c7966643474940df337421e9521cd6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10self-hosted: Add libssp libraries to packagegroup/imageSaul Wold
These libraries are needed to ensure when the -fstack-protector flags are used the compile will complete and not fail due to missing libraries [YOCTO #4586] (From OE-Core master rev: 543ede707a268ca17f972be54860e455b4de9e0b) (From OE-Core rev: 803a23cbff1eaa92d6d94544f5ae68f3b01b5eda) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10grub-0.97: fix the objcopy error in configureJackie Huang
Get patch from ubuntu to fix this: error: GRUB requires a working absolute objcopy; upgrade your binutils (From OE-Core master rev: 18bb555268ecc11d0fb7d4f404a38f1b453f2928) (From OE-Core rev: f113aab6ebaa44166b8759b0db75bc63c82c08c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10gstreamer: fixed -meta package rdependsCarlos Rafael Giani
The -meta packages were depending on non-existing packages, like -glib and -apps. The fix checks if packages in the PACKAGES list are empty. If so, they are omitted from the rdepends list. (From OE-Core master rev: 7c556a1f437c0a5b472727f89ff6c3d5f835b63d) (From OE-Core rev: f20542b5fb0e9c4726ca648a690a7cccecf592cc) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10qt4: remove trailing slash from prefixPaul Barker
The trailing slashs on "Prefix=${prefix}/" and "-prefix ${prefix}/" are passed through to the generated pkgconfig files and may be joined to paths like "/include" yielding a final path with a double forward-slash (eg. "/usr//include"). This may end up in the debugging symbols in other applications or libraries which depend on qt4 which in turn causes the debugedit program to fail with the message "canonicalization unexpectedly shrank by one character" when it tries to replace the double forward-slash with a single forward-slash. Thus the function split_and_strip_files fails and ultimately do_package fails. As this slash is removed from the prefix it is added into the regular expression used to fix up pkgconfig files later in the recipe. This error was seen in vlc in meta-openembedded and should be solved by this change in openembedded-core. (From OE-Core master rev: 61a7329a5c1f0b84f447256134f5a77917f07f38) (From OE-Core rev: fd4abad4f440bb7fe43779ec7601576bd937b59b) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10alsa-tools: Fix configure raceRichard Purdie
aclocal is being called here directly, not called by autotools.bbclass wrapper. aclocal files are installed in sysroot, and are removed while build is still running. This translates to a possible race condition during the build. Fixes [YOCTO #4358]. (From OE-Core master rev: dea66ade1184cef6aeb242d87867759ca44a8895) (From OE-Core rev: 1f3b3c75701b791cb32aba76f0a4448f5549fae3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10autotools.bbclass: Factor out aclocal copying functionRichard Purdie
Some recipes may need to manually call the aclocal copying functionality so factor this out into a function. (From OE-Core master rev: a5a08543c8cec43d993b2bba0ad6a9357c0a5e04) (From OE-Core rev: edf5a7fd6da804588fcc4f2687a7b05ecfda3beb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10classes/buildhistory: record removals in buildhistory directoryJonathan Liu
"git add ." does not record files that were removed in the buildhistory directory. Specify the -A flag to also record removals. This was discovered by the following warning added in Git 1.8.3: warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal', whose behaviour will change in Git 2.0 with respect to paths you removed. (From OE-Core master rev: a45a247e2cfa58892a0c9eb050d603a38cd839db) (From OE-Core rev: a27f04ac89b8e58931b7792fbd1adeabef21f7b0) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10openssl: Disable parallel makePhil Blundell
Otherwise you get errors like: | ../libcrypto.so: file not recognized: File truncated | collect2: error: ld returned 1 exit status | make[2]: *** [link_o.gnu] Error 1 (From OE-Core master rev: 61c21a0f7a2041446a82b76ee3658fda5dfbff1d) (From OE-Core rev: 17d787ba8825ea97d7898eaa329e16ae86dd072d) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03build-appliance-image: update to latest dylan revision for releasePaul Eggleton
(From OE-Core rev: e174486f04e81ec342ab4ec854d4194bb372b96b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03findutils: backport more fixes for documentation build errorsJonathan Liu
(From OE-Core master rev: bb6e59e58033edac509d449b4be916ad6a0a5ad1) (From OE-Core rev: dd08ebd1d318c27673ab684b864f25588476e831) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03dpkg: Be deterministic about lzma dependencyRichard Purdie
dpkg has no DEPENDS on lzma so turn it off explicitly. [YOCTO #4518] (From OE-Core master rev: 12fbd693f4565e66d10af4e801e7435996d67e76) (From OE-Core rev: 36cf63027589812edde887e2772ef210469a814d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03qemu*: restrict NFSD to linux-yocto onlyBruce Ashfield
In the current releases, not all linux-yocto derived kernels have NFS support, or NFS support fragments availble. To ensure that derived kernels like linux-yocto-cutom continue to work against poky-lsb, we can make the KERNEL_FEATURE append more specific to the linux-yocto recipe. (From OE-Core master rev: 799f53e8844748a930a9cbc7a4cf1056f19bb037) (From OE-Core rev: 4961e973df422c8c4de92906ca9805531cc93dfa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03python-smartpm: add gettext-native to DEPENDSPaul Eggleton
Fixes the following failure at do_install building python-smartpm-native if gettext-native has not already been built and gettext tools are not installed on the host: | compiling locale/it/LC_MESSAGES/smart.po -> locale/it/LC_MESSAGES/smart.mo | sh: msgfmt: command not found ... | creating $D/usr/share/share/locale/it/LC_MESSAGES | error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or not a regular file Note that we need gettext-native in DEPENDS and not "inherit gettext" here because for native variants, gettext.bbclass instead adds gettext-minimal-native to DEPENDS and that does not provide the msgfmt command. (From OE-Core master rev: e8d903e2d5e0c0df18dfd9561c3f8ef340297f1f) (From OE-Core rev: 935506b3ea7a64a6c0f4b14c6c9931ccf8b98828) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03initscripts: let status return 0 when proc is running wellJesse Zhang
Ensure that the status returns 0 instead of the last shell command result, otherwise the calling script can not properly detect the status of pid. (From OE-Core master rev: d9d4fdc769dfe6bf9838f5c5f3189a80f0e3cf90) (From OE-Core rev: 74c3959c7b4554fa706cfb177446050798be67b5) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03dbus-glib: use BPN instead of PNJesse Zhang
Fix warnings in multilib build: WARNING: For recipe lib32-dbus-glib, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/dbus-glib WARNING: /usr/share/dbus-glib/tests (From OE-Core master rev: 66224a0fbd4056d954cbf1db3a8b91d06a638b80) (From OE-Core rev: 8d88215a4eb377a1629f21a554f411a1d745889e) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03guile: added runtime dependency on glibc-gconv-iso8859-1Bogdan Marinescu
guile needs to be able to convert strings from ISO-8859-1 in order to work properly. This patch adds a runtime dependency to the required convert package, but only when glibc is used. The fix for uClibc depends on another bug (#4530). [YOCTO #4019] (From OE-Core master rev: 0e519c99bafd49ecac97b1fb9185a4d02fb44d75) (From OE-Core rev: 8b402d8c0fb4c02c031a7e21d5cedc37e3ed913e) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03dpkg-native: Fix native perl pathMing Liu
The path to the native perl was incorrect leading to rootfs failures. This patch corrects that problem, it's a complementary fix for commit:04432446. (From OE-Core master rev: 0f99d7fed094a59d2c5c01c83ea38dc852aadf6b) (From OE-Core rev: 4ab0ca1e5be40041a12d96d8096c57582a3b37de) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03guile: don't search for libreadline in host libdirJackie Huang
Fix the QA warning: WARNING: guile: The compile log indicates that host include and/or library paths were used. (From OE-Core master rev: 1582975cd89b0b71c93913f07648c67f2b18bc99) (From OE-Core rev: ffc7f136516a883ba4dda3b6eb810efb0a68b09c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03qmake_base.bbclass: Add linux-gnun32-oe-g++ to QMAKESPECXin Ouyang
For some mips targets, TARGET_OS is set to linux-gnun32, while linux-gnun32-oe-g++ is not listed in the default QMAKESPEC list of qmake in oe-core/wrlinux. This would cause build failures for qt apps, so add a matching rule to fix this. (From OE-Core master rev: 70b75d506e6c4b46694b00d674df9d4a94140bd6) (From OE-Core rev: edc7ff49526a12f30e8f3e62d140153a406dae54) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03findutils: backport fixes for documentation build errorsJonathan Liu
(From OE-Core master rev: e34257bab558384936ba73f78902a5185ed51c49) (From OE-Core rev: 6cf53af717cbd75f69ad79bc76d0574c6046a9eb) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03gdb-cross-canadian: use correct exec-prefix path for pythonSamuli Piippo
Incorrect exec-prefix path was given to gdb which leads to gdb startup failure when SDK is not installed to its original destination. Gdb relocates the exec-prefix path, so it will work for SDKs that are installed to different location. PYTHONHOME env in no longer neeeded for gdb. [YOCTO #3839] (From OE-Core master rev: e77603324332b932c73c9e22ab65a0b9b7c17798) (From OE-Core rev: a85217740d6d11509d93cab13adf4c6c8aad1e1d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03systemd: fix ordering for machineid and run-postinsts servicesJonathan Liu
The remount-rootfs.service unit has been renamed to systemd-remount-fs.service in systemd v183 and later. The run-postinsts script writes to /var/log (a symbolic link to /var/volatile/log), so systemd-tmpfiles-setup.service is added to After= in run-postinsts.service to ensure /var/volatile/log is created before running the script. [YOCTO #4490] (From OE-Core master rev: 8b59ec4eb761d88445da94bb90aa2c5db0bbf365) (From OE-Core rev: ad527115ad122df957e204d4af57edf600f9d419) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03Make toolchain output name using SDK_VERSION instead of DISTRO_VERSION to be ↵Jessica Zhang
consistent [yocto #2342] (From OE-Core master rev: 733f1d2a1bcf1c115613e21f7d09f1b4bee216ce) (From OE-Core rev: 1819b7d5915d85a0c2a4780ea4b70923c54fc252) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03dropbear: a fix for hang in dropbearkey, built for x32Nitin A Kamble
This commit fixes runtime hang of 'dropbearkey' utility, built for a x32 target abi system. The hang was observed while generating ssh keys, with this command: dropbearkey -t dss -f private The issue is fixed by changing the code, where 'long' in x86_64 mode is assumed as 64bit quantity. With the x32 abi, the processor is in x86_64 mode, but the 'long' is a 32bit quantity. Hence the fix uses 'long long' instead of 'long' to define/access 64bit data variables. Fixes bug: [YOCTO #4496] (From OE-Core master rev: 8f5bc47729edb8cb051d81e9ff1680cb8d2eca25) (From OE-Core rev: 4f6d55123fe054e8d081722b91aa12d676b42cb3) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22kern-tools: refresh and make dash compliantBruce Ashfield
The separately packaged merge_config.sh in the kern-tools package was missing upstream fixes, and in particular a change that ensures it is dash compatible. By grabbing that upstream commit and rebasing the existing patches on top of the new baseline, we are up to date and working on systems where /bin/sh is dash. [YOCTO #4473] (From OE-Core rev: f24b4c3daeba43b352977fcdb807f1ed45c1c694) Signed-off-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-05-22connman: replace hardcoded path in init script and systemd serviceStefan Stanacar
The connman init script sources a setup file from /usr/lib/connman, so we end up with no network in qemu multilib enabled images. The init script it's installed by connman and because wired-setup it's installed by another package (connman-conf) we can't use libexecdir here and now (in the init script and systemd service file). Once libexecdir changes from ${libdir}/${bpn} to something else like /usr/libexec we could use that instead of ${libdir}/connman. Changed in v2: - better commit message [YOCTO #4493] (From OE-Core master rev: fca3a884e9cae13a521d840838eee3c01f0b6acf) (From OE-Core rev: d620e5376c10bc5ff1aa551be4a7d1d635a760c3) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22package.bbclass: Fix sources contentsRichard Purdie
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c376f1f49cea182a2887945840ab97a20970a373 fixed a valid issue where the sources file was accumulating information and subsequent task runs of do_packacge were not cleaning it. The fix is wrong however since we're removing the file within a loop. This fix removes the file outside the loop ensuring it is not truncated and contains the correct information. (From OE-Core master rev: a015881f2207aded601459ba3eebbefb0002b3c5) (From OE-Core rev: f897550222003ccea8f18c136a7b9ced5acb0ed3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22sanity.bbclass: Attach the missing value to a format string.Peter Seebach
The tuning changes to sanity.bbclass were almost right, but one of the messages had a %s with no % operator. (From OE-Core master rev: cf5e40598ae9a83f22cabedc7b72000beb62703c) (From OE-Core rev: b47906121f4440e32f6efef04827f49be5ced657) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22rpm: ensure __mkdir_p matches __mkdirSaul Wold
They differ at times because one is set from the db_cv_path_mkdir and the other is found during config time for the host (/usr/bin/mkdir), in the macros we should just use __mkdir for the __mkdir_p variant. [YOCTO #4452] (From OE-Core master rev: 2ab642056829aef675f75c05b9ac5bbc43c87cd1) (From OE-Core rev: ca4cdb6de52eae47454953a1cacde6a222b0e472) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22kernel.bbclass: make FILES package-specificTom Zanussi
Fix QA warnings seen when using 'traditional' kernel recipes e.g.: WARNING: QA Issue: .../recipes-kernel/linux/linux_3.0.18.bb: Variable FILES is set as not being package specific, please fix this. (From OE-Core master rev: 799c16ed317aed7638e264ee2f92e4b722f1b011) (From OE-Core rev: a5ccdfec3989176e6f82597c32e8acd2ea30e3a6) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22xserver-xorg: Add xkbcomp to RRECOMMENDSStefan Stanacar
OE-Core commit bdcc5e8f1286d288baf410458efc39a59b68d751 removed xkbcomp from RDEPENDS for xkeyboard-config but X server still needs it otherwise it fails to start. (From OE-Core master rev: f2330ebc3071d780cbc6d1ddab5c54bfadf8fffc) (From OE-Core rev: 3c77e7a6f40325e99dcf48ece77955e651248c33) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22gcc-configure-cross.inc: Remove info generationKhem Raj
Some distros have newer makeinfo which does not go well with anything below gcc 4.8, this fix avoids regenerating info files (From OE-Core master rev: 50ac2ed5299e2b47b2f3fd9c9cde9d733d2f8d9b) (From OE-Core rev: 913d847694d24f356c34dba8e815934d761047d0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22bootimg.bbclass: add comment for NOHDDRobert Yang
Add comment for NOHDD which is used for skipping building the HDDIMG if set to 1 (From OE-Core master rev: 9843ad9d783f68b97fedfe5b435528538bb26c1c) (From OE-Core rev: 3c5145670cff69828e7adbce6bde2ec8ddc60e84) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22linux-yocto/3.8: udpate to v3.8.11Bruce Ashfield
Update the linux-yocto-3.8 SRCREVs to the korg 3.8.11 -stable release. (From OE-Core master rev: b60d04331f84e06fae6c074acab045c3e003929b) (From OE-Core rev: cebfb5d7b3adc4bfe44771cfec72f727c5e529b4) Signed-off-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-05-22linux-yocto/3.4: update to v3.4.43, ltsi-65311d8 and v3.4.42-rt56Bruce Ashfield
Updating the 3.4 kernel trees to the latest korg, LTSI and -rt stable releases. (From OE-Core master rev: 98446039e210936a32e70559a379131e8e0d832f) (From OE-Core rev: c1d14cc318778331525674fb24b2adabbe29bb21) Signed-off-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-05-22kern-tools: anchor and delimit regexsBruce Ashfield
Updating the kern-tools SRCREV with the following fix: Updateme is responsible for updating an existing meta-series with new patches, configs and tree manipulations. To do this, it first checks for an existing board description and generates one if required. It then searches for features and fragments to be applied for the tree. There were two problems: - A top level board description is detected via the presence of "define" directives that indicate the board name, the arch and kernel type. The test for define would match on patches or fragments with 'define' in their name, and would incorrectly use that file as the top level board description. This is fixed by ensuring that only defines at the start of a line, or preceded by whitepace match. - When searching for features that were indicated as 'addon' or 'optional', the search would find, and apply, any feature with the passed name as substring versus an exact match. This is fixed by ensuring that the matched feature name is /<feature name> versus <feature name> (From OE-Core master rev: 57ae1e412a35d827f84bf9b1f48747bf703f84b7) (From OE-Core rev: dc4757581c6a0886dcc106d7a6bd563e68ffc695) Signed-off-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-05-22linux-yocto/3.4: iwlwifi, ext4, brtfs warning and -rt fixesBruce Ashfield
Updating the yocto 3.4 SRCREVs for the following fixes: 206d4bb powerpc/perf: run irq-work under softirq context in rt 8a969f9 arm/perf: run irq-work under softirq context in rt 79ba946 iwlwifi: fix unused variable warning 59d93fa ext4: remove unused variable in ext4_update_super() 2385eee Btrfs: fix compile warnings in extent_io.c (From OE-Core master rev: 96113b28031583af1dd42fe7660a9d5ced36d1b6) (From OE-Core rev: 1842f310962b835ceb5e41bc2a0e6bdb4a81c1e0) Signed-off-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-05-22qemu: Ensure kernel nfsd module is enabledSaul Wold
This will ensure that qemu images that include the nfs-server package have the kernel feature correctly enabled (From OE-Core master rev: 57c718c6288f2a2538173cdd3d401d70f939a40a) (From OE-Core rev: 42f18b5362e374b3b6669c6499625fa370a74a9f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22gcc-4.7: fix gcc ICE when building with gcc-4.8Josh Cartwright
Backport fix for internal compiler error when building gcc-4.7.2 with a gcc-4.8.0 host gcc. See upstream bug here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56308 (From OE-Core master rev: b1dc91969f9bb0c2a3a4336f5e9a2f57aabb9f78) (From OE-Core rev: f5bdfab961f850490e669967fd68fc5de7f48f0d) Signed-off-by: Josh Cartwright <josh.cartwright@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22fs-perms.txt: Don't tinker with file modes in /usr/src/debugPhil Blundell
Since 6775feb9fe935ab01fd9cae2b2d3fce5824a9a72 our local "copy" of the debug sources has in fact been hardlinked to ${S} and potentially other places too. This means that any modifications we make to these files might have wider consequences than intended. Avoid this potential pitfall by telling fixup_perms() to leave the file modes in this directory alone. No great harm will result from shipping debug sources with a mode other than 0644: if the mode was permissive enough for us to compile the sources in the first place then it must also be permissive enough for subsequent debugging. (From OE-Core master rev: 91b02c65d83811738d4c0e4b7c454459430c8b9b) (From OE-Core rev: e2733052c241d72104d47ba1bede19e3a2507218) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22gcc-runtime: Avoid error when trying to remove nonexistent directoriesPhil Blundell
If we didn't build libgomp then we won't have installed anything into ${infodir} or ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude. Check whether those directories exist before trying to remove them, else we will lose. (From OE-Core master rev: 507e14ecdc5b4ff2ee7f1128d9f30c2948e10d5a) (From OE-Core rev: 78879d1583d082e0d08253ebefbd8c2a288db01c) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22archive-*-source.bbclass: have do_dumpdata_create_diff_gz task run before ↵Laurentiu Palcu
do_rootfs do_rootfs[cleandirs] contains ${S} and, if do_rootfs task starts before the do_dumpdata_create_diff_gz is finished, an error will occur in the process because the directory will be removed while still needed by the create_diff_gz() function. This patch will force the do_dumpdata_create_diff_gz task to run before do_rootfs when the final image is created. [YOCTO #4310] (From OE-Core master rev: cd90be31571178d6822dba5a94a2795209a3576c) (From OE-Core rev: c283ab637c7e0501a309dbe9abdf14ad70834c9b) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22image_types: fix default location of kernel when generating elf imagesTomas Frydrych
Generation of elf images fails because kernel images are no longer staged under ${STAGING_DIR_HOST}/kernel, but rather ${STAGING_DIR_HOST}/usr/src/kernel. This patch fixes the path to point to the correct location. (From OE-Core master rev: 6e57a3231fb29f869d476b8511d6f4393f82651b) (From OE-Core rev: 54a7691a3efce3d7a154233345b5f6b161fd71bf) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22dpkg: Ensure target packages don't reference perlnativeRichard Purdie
Currently a load of scripts in ${bindir} start with: which is undesireable, this patch fixes that. (From OE-Core master rev: e3634ec359a71c9858698cb597d23c05b1184d2e) (From OE-Core rev: 5a77c73c48d6fab7abe853c01e262c7019e4a03a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22adt-installer: do not dereference symlinks when relocatingLaurentiu Palcu
This was already fixed for meta-toolchain. [YOCTO #4157] (From OE-Core master rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b) (From OE-Core rev: 52f3007a57edf4ca8c244271d08d812b62897401) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22Pass the mlprefix to postinst_intercept scriptLaurentiu Palcu
This is needed in order to have separate multilib intercept hooks. (From OE-Core master rev: 44eae13c164ca6e15a6013eafeab3eb44f24c8e0) (From OE-Core rev: 0db4db02486926ef5d0b1cee92f963cf0f1e64fc) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22Revert "qemu.bbclass: Use the correct qemu binary in multilib cases"Laurentiu Palcu
This reverts commit 9f5a6f89d9f4a6c7bed3b163e6eaa764d762f523. The reason for reverting this is: * qemuwrapper has now a fallback method; * when using multilib, calling qemu_target_binary from recipes would always point to the qemu binary corresponding to the machine architecture. Hence, postinstalls needing to use qemu would call the wrong qemu user emulation binary; (From OE-Core master rev: 15408466515cec7cbb4c394aa203c87b6165f884) (From OE-Core rev: e57f9b992192f7d7877fbb69af764357a21fce70) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>