summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* qemu/libc-package: Fix qemu option handling1.8_M1Richard Purdie2014-12-053-17/+18
| | | | | | | | | | | | | | | | The 'overrides' here are PACKAGE_ARCH based and hence not overrides as such and the _append wasn't working in many cases. This adjusts the code to use PACKAGE_ARCH as the accessor and ensures the variables work as expected. This fixes various segfaults and ensures postinsts run at build time rather than on the target system. The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23. (From OE-Core rev: 219e793907406eabf632e784e3a11ab9acb77cfb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt: set CLEANBROKENRoss Burton2014-12-051-0/+2
| | | | | | | (From OE-Core rev: 4f301c9cd17043f039d82555f973cbbca9acd51f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: Upgrade to 2.4.58.Aníbal Limón2014-12-054-38/+7
| | | | | | | | | | | | | Disable man pages creation because it needs to download docbook.xsl from upstream site and sometimes can't (resource unavailable) and this cause build fails. Remove GNU_SOURCE_definition patch it's already integrated in upstream. (From OE-Core rev: 65246c7111b4e23c1c505ad95271a17ca4be3d31) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: use subdir SRC_URI param instead of adding tasksRoss Burton2014-12-051-10/+4
| | | | | | | | | | Instead of adding new tasks to move files around, just use the subdir SRC_URI parameter. (From OE-Core rev: 3a4b24549dcab06b7b840d04eeab9b660c2ed473) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default.inc: use GCCVERSION for gcc-sourceKoen Kooi2014-12-051-0/+1
| | | | | | | | | | This was missing leading to gcc-source-<foo> being built when using gcc-cross-<bar> with GCCVERSION=bar. (From OE-Core rev: fa249f347b3453537ee6aaea0d3bb75cfe7a75d1) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars: add gcc-source recipe to the GPLv3 whitelistRoss Burton2014-12-051-1/+1
| | | | | | | | | | gcc-source is a convenience recipe to save duplicate copies of the GCC source tree and should be whitelisted for GPLv3 avoidance along with the rest of GCC. (From OE-Core rev: fd58d0e920707198caf62ffef50b67c7c7882c69) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: stub do_fetch instead of removing itRoss Burton2014-12-051-1/+4
| | | | | | | | | | | Whilst gcc doesn't have any source to fetch, it still needs a fetch task so that a world fetch can run without errors. So instead of deleting the fetch task, stub it. (From OE-Core rev: 8e68ebbddc2bc41eb6cb607c51d6a80c54c4199d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cwautomacros: stub do_configure to avoid cleaningRoss Burton2014-12-051-2/+4
| | | | | | | | | | cwuatomacros's build system doesn't have a clean target, so stub out do_configure to a no-op. (From OE-Core rev: c52f380b1df716517a585075f59546d559cc1ebb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: set CLEANBROKENRoss Burton2014-12-051-0/+2
| | | | | | | (From OE-Core rev: c4aeb2f8fc75c94ebb83c022fe58d2fde02fa39e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: respect CLEANBROKENRoss Burton2014-12-051-1/+1
| | | | | | | | | | autotools.bbclass should respect CLEANBROKEN as it invokes 'make clean' on configure. (From OE-Core rev: ffbcb440c43e5e00e73ced67a2c888e9863a1d00) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: fix CLEANBROKEN logicRoss Burton2014-12-051-1/+1
| | | | | | | | | | | | The evalation order was incorrect in some situations (CLEANBROKEN=1 and GNUmakefile exists) the clean would be executed incorrectly. Add brackets to correct the logic. (From OE-Core rev: a9e95c3cd771b16bbf4c9eaa05c79d7b4ca7272a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils-native: don't install groupsWenzong Fan2014-12-051-0/+5
| | | | | | | | | | | | | | | | | | | | This binary is provided by shadow-native nowadays. Fixes: ERROR: The recipe coreutils-native is trying to install files \ into a shared area when those files already exist. \ Those files and their manifest location are: \ .../tmp/sysroots/x86_64-linux/usr/bin/groups \ Matched in manifest-x86_64-shadow-native.populate_sysroot To reproduce the errors: $ bitbake shadow-native && bitbake coreutils-native (From OE-Core rev: 113225b93c55d55a330fcca7d9f996ec039fb953) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip: fix MakeMaker issues with using wrong SHELL/GREPJackie Huang2014-12-052-0/+32
| | | | | | | | | | | | | | | | | | | A set of substitution is being processed to all target scripts with sed by replacing some key words with the detected values at configure time, this is exactly not compliant with cross compling, and will cause missing path errors at run time like: "/usr/bin/zgrep: line 230: /usr/bin/grep: No such file or directory" Fixed by removing unneeded substitution and using real runtime paths instead. (From OE-Core rev: fafdf20179cf28b24459dc0263e4ba36e5843b85) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lzo: add debian patch for alignment issueSaul Wold2014-12-052-0/+71
| | | | | | | | | | [YOCTO #6994] (From OE-Core rev: 2910478f42ec23ab112da4753dbf38cefb835a3a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add switch_root to alternatives listJackie Huang2014-12-051-2/+3
| | | | | | | | | | | switch_root is provided by both busybox in /sbin/switch_root and util-linux provides one in /usr/sbin/switch_root, so move util-linux's to sbin and setup ALTERNATIVE_LINK. (From OE-Core rev: cac818f0ecd0553b59b967a94766534643fecdf4) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)"Hongxu Jia2014-12-052-69/+0
| | | | | | | | Since the gcc has resolved this, so we revert the workaround patch. This reverts commit f026b7a211a44acdb7fadb50b1a84aa3e369450a. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: fix using the original config files in srcdirZheng Junling2014-12-051-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | Currently, we install our own ssh_config and sshd_config into ${S} in do_compile_append() task. So when finishing compiling, their .out files are generated by the original files, rather than by our own files. In most cases, installing "$(CONFIGFILES)" in Makefile will generate .out files again, and then installing "install-sysconf", which will install these two files into $(DESTDIR), thus we get what we expect. However, when parallel installing, "install-sysconf" may be installed before "$(CONFIGFILES)" sometimes. In this rare case, the .out files generated in the first time rather than those in the second time will be installed into $(DESTDIR), and thus we get an unexpect result. This patch fixes this bug through transfering the installing of our own files from do_compile_append() into do_configure_prepend(). (From OE-Core rev: 6a60a4ba8d8e529882daa33140c9a2fc08714fb2) Signed-off-by: Zheng Junling <zhengjunling@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager.py: fix arguments to string formatRoss Burton2014-12-051-3/+3
| | | | | | | | | | | Multiple arguments to string formats need to be in a tuple. Reported by Lorenz <lqb.list@gmail.com>. (From OE-Core rev: e30a4650beabac215b6d867070b7acdb3601a4d7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: modified option-groups.h generationJuro Bystricky2014-12-052-20/+20
| | | | | | | | | | | | | | | | | | | | option-groups.h only explicitely #defines options that are enabled. EGLIBC options are typically pre-processed under the assumption that if an option is not explicitely defined then it evaluates as 0. This assumption is correct, but it generates a compiler warning message each time an undefined symbol is being evaluated. In order to remove the warnings, each EGLIBC option is now defined as 1 if the option is enabled or as 0 otherwise. The consequence is we cannot use #ifdef OPTION_XXX when evaluating the option, we must always use #if OPTION_XXX. [YOCTO #7001] (From OE-Core rev: 7f1bdc331304a61a4836a5752bca210450b6c5b5) Signed-off-by: Juro Bystricky <jurobystricky@hotmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Move util to the front of the SUBDIRS variable.Drew Moseley2014-12-051-3/+7
| | | | | | | | | | | | | | | This forces it to be built first since many of the demos require it. Resolves build failures such as the following when certain demos are enabled (notably when PACKAGECONFIG contains glut): make[2]: *** No rule to make target `../util/libutil.la', needed by `copypix'. Stop. (From OE-Core rev: 9e4b25893cc8e15e390b8f25545416ef431f0b88) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Additional fix for generation of glew.pc.Drew Moseley2014-12-051-1/+2
| | | | | | | | | | | | | | | | | | | | Without this fix, building mesa-demos with the glew PACKAGECONFIG will result in errors like the below being logged in tmp/work/*/mesa-demos/*/build/config.log: configure:16529: checking for GLEW configure:16536: $PKG_CONFIG --exists --print-errors "glew >= 1.5.4" Package @requireslib@ was not found in the pkg-config search path. Perhaps you should add the directory containing `@requireslib@.pc' to the PKG_CONFIG_PATH environment variable Package '@requireslib@', required by 'glew', not found configure:16539: $? = 1 (From OE-Core rev: 9245cb4fe211da06283d53086bca3fcd5b2c8aef) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: whitespaceMichael Jones2014-12-051-3/+3
| | | | | | | | | Don't mix tabs and spaces (From OE-Core rev: 505a3a6a9a0c080bc5b7d16ed569b80b43869977) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: remove comment that readonly only works for sysvinitMichael Jones2014-12-051-1/+0
| | | | | | | | | | Should have been removed with 92f956d tweak read_only_rootfs_hook to also support systemd based systems (From OE-Core rev: e8bd2783870e71b42c902a31bd6521d564915e99) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: disable webkit for mips64 n32 temporarilyJackie Huang2014-12-051-0/+5
| | | | | | | | | | | | | | | | Disable webkit for mips64 n32 temporarily that fails to compile. The webkit package also disable the build for n32: f5c4d18 webkit/midori: block to build webkit on mips64 with libn32 ABI The opened defect in qt upstream is: https://bugreports.qt-project.org/browse/QTBUG-39224 (From OE-Core rev: 68d274be3e07689e749d832fbb01712e00fb4545) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "qt4*.bbclass: disable build qt on mips64 with 64 bits userspace"Jackie Huang2014-12-052-6/+0
| | | | | | | | | | | | | | | This reverts commit 17890ebd637da0b3bf78804002d8b4f0ace078d2. qt4 is upgraded to 4.8.6 and this is fixed by: c889b40 qt webkit: add support for MIPS64 platforms so revert the commit. (From OE-Core rev: 28abbcc5cc4fcea23528027ef2c0faebcd9474c8) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootchart2: fix to find collector correctly in case of multilibChen Qi2014-12-051-0/+6
| | | | | | | | | | | | | | This patch fixes the following error of being not able to find the bootchart-collector program when using bootchart2 in multilib system. In order for bootchartd to correctly find the collector program, we need to set several vars while compiling. (From OE-Core rev: 26518bea1d6aa0e438e6492c2af70225b431d7a1) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add PACKAGECONFIG for 'manpages'Chen Qi2014-12-051-1/+1
| | | | | | | | | | | Instead of always disabling manpages for systemd, we use PACKAGECONFIG for 'manpages' so that the manpages for systemd could be built out correctly. (From OE-Core rev: 9abb72664b27cf5fbde50283b2a877ce546c3d43) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxslt: create wrapper to avoid host system referencingChen Qi2014-12-051-0/+5
| | | | | | | | | | | | By default, xsltproc from libxslt would use configuration files under /etc/xml. To avoid host system contamination, we create a wrapper for this command to make it use configuration files in the sysroot directory. (From OE-Core rev: f14ecfa98baf98edf47b6820d3b0b3af376c5623) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto.bbclass: fix shell syntax errorPaul Eggleton2014-12-051-1/+1
| | | | | | | | | | | Spaces aren't valid around = in an assignment statement (not even with bash). (From OE-Core rev: fb419b1a3f5dbc5e5019be9d09c4acdbeb460c19) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: disable tpmChong Lu2014-12-051-0/+3
| | | | | | | | | | | | | | Disable tpm to solve following error: .../usr/lib64/libtspi.la: No such file or directory trousers isn't an oe-core recipe, disable it for now. (From OE-Core rev: f735a540d2bf489547aede0745e34174c39c71bd) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: update version number from 2.6.1 to 2.7Ezra Savard2014-12-051-3/+3
| | | | | | | | | | | | | | The v2.7 release of powertop fixes devfreq support for ARM, along with other bug fixes. v2: deletes old file v3: fixed SRC_URI and checksums (From OE-Core rev: 4bc65feb8f90180fdb8ff23ece2a9f30c3346832) Signed-off-by: Ezra Savard <ezra.savard@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad.inc: Disable cocoa on configureJean-Michel Hautbois2014-12-051-0/+1
| | | | | | | | | | | When configuring, if GNUstep is found on host, the configure script thinks that ist is running osx and so enables cocoa support. (From OE-Core rev: e526f5633669819417ef975c49d07fff8f35b91b) Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: supply CMAKE_AR in toolchain fileCody P Schafer2014-12-051-0/+2
| | | | | | | (From OE-Core rev: 79144da00f005b5a3ab8f7404730216cfc684616) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Upgrade to 3.10.0Saul Wold2014-12-054-25/+52
| | | | | | | | | | Rebase existing patches Add patch to fix rpath issue with ptest (From OE-Core rev: 80b7db50d191c27c8ea78206140a4fa23adcf292) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: fix plugin location in FILESRoss Burton2014-12-051-1/+1
| | | | | | | | | The plugins are installed to ${libdir}/weston, not ${libexecdir}. (From OE-Core rev: 6e1769f44e18657c5bd576f8b053832d0ce825d7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: don't use PTEST_ENABLED as recipe doesn't inherit ptestRoss Burton2014-12-051-1/+1
| | | | | | | | | | | As this recipe's ptest support is merely a shim to pull in dbus-test-ptest it doesn't inherit ptest. This means that PTEST_ENABLED isn't ever set, so check DISTRO_FEATURES directly. (From OE-Core rev: 7ee1da8126f1d4957e533cc26696e85c5a6de4bb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: remove spurious nativesdk dependencyRoss Burton2014-12-051-1/+0
| | | | | | | | | | | | | There's no need to add a dependency on python-crypt_class-native to nativesdk-openssl as the general dependency there is transformed appropriately. Presumably this is cruft from back when SDK packages were suffixed instead of prefixed, and there were mapping problems. (From OE-Core rev: f0b1eab1ef24fabac98609eb9d314f618dca713a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: ensure all of Python is installed in nativesdkRoss Burton2014-12-051-0/+1
| | | | | | | | | | | | | If any part of Python gets installed in a SDK, we need to ensure that all of Python gets installed to avoid replacing python in the environment with a minimal package set. [ YOCTO #6735 ] (From OE-Core rev: e36ff98a7a4da478bb886f61005cd72a0b5a9c0e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: disable GuileRoss Burton2014-12-031-1/+1
| | | | | | | | | | | | | | GDB 7.8 added Guile support, and it will auto-detect if Guile is present (which is non-deterministic, so bad), and if it's present will fail to find the guild binary as it doesn't consider the sysroot. For now disable Guile support in GDB, if there is a need to have it enabled in the future then GDB/Guile can be fixed. (From OE-Core rev: f7b342a73661cfff4043fab77ab8e9ef0e48dec4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: use EXTRA_AUTORECONF to disable autoheaderRoss Burton2014-12-031-1/+1
| | | | | | | | | | Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead of setting AUTOHEADER to true. (From OE-Core rev: aa4c06ca7375faacd055ba98d59d48efadd87f59) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: use EXTRA_AUTORECONF to disable autoheaderRoss Burton2014-12-031-2/+1
| | | | | | | | | | Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead of setting AUTOHEADER to true. (From OE-Core rev: cdb5bf9ce2eed0c1608b33d8272e755c26e376f9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-script: Add support for ccache builds with the SDKLaszlo Papp2014-12-031-0/+2
| | | | | | | | | | | | It is necessary to have an SDK for developers who build their software with ccache to speed up the compilation. Without resolving this, unfortunately the compilation will fail for them. (From OE-Core rev: 1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7) Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: avoid overwritting editable files during package updatingJian Liu2014-12-031-0/+6
| | | | | | | | | | | | | | | | | | | Use CONFFILES to mark editable files as such, /etc/pam.d/common-session /etc/pam.d/common-auth /etc/pam.d/common-password /etc/pam.d/common-session-noninteractive /etc/pam.d/common-account If there is no %config micro before the file name in the spec file, this file will be overwritten after updating package. This will make our settings lost. (From OE-Core rev: 078fedcc0b7d50e7001c587968319f1b45b3c1ba) Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: avoid overwritting editable files during package updatingJian Liu2014-12-031-0/+2
| | | | | | | | | | | | | | | Use CONFFILES to mark editable files as such, /etc/init.d/checkroot.sh If there is no %config micro before the file name in the spec file, this file will be overwritten after updating package. This will make our settings lost. (From OE-Core rev: a265af666a80298ccca0eb80d6f15ca3d4be8b57) Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: avoid overwritting editable files during package updatingJian Liu2014-12-031-0/+1
| | | | | | | | | | | | | | | | | Use CONFFILES to mark editable files as such, /etc/motd /etc/nsswitch.conf /etc/profile If there is no %config micro before the file name in the spec file, this file will be overwritten after updating package. This will make our settings lost. (From OE-Core rev: 2ffc174e9506a00081457145f0fcf3bef5846f4a) Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager.py: check the result of create_indexHongxu Jia2014-12-031-4/+16
| | | | | | | | | | | | | | | | | | While invoking create_index failed, there was no error output and didn't break the build until the package installation. ... |ERROR: run-postinsts not found in the base feeds (qemux86 i586 x86 noarch any all). ... The reason is we used multiprocessing to execute create_index, and did not check its invoking result. (From OE-Core rev: d8921e4ea68647dfcf02ae046c9e09bf59f3e6e4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compress_doc.bbclass: support update-alternativesHongxu Jia2014-12-031-1/+45
| | | | | | | | | | | | | | | | | | | | | | While doc file make use of update-alternatives to fix confliction, we should reconfigure update-alternatives for doc compression. Such as util-linux-doc: ... update-alternatives --install /usr/share/man/man1/last.1 last.1 /usr/share/man/man1/last.1.util-linux 100 ... was updated by doc_compress to ... update-alternatives --install /usr/share/man/man1/last.1.bz2 last.1.bz2 /usr/share/man/man1/last.1.util-linux.bz2 100 ... (From OE-Core rev: ba4dd1afc2476259eff52f8a68fba1344e0f0474) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compress_doc.bbclass: improve manual file detectionHongxu Jia2014-12-031-4/+7
| | | | | | | | | | | | | | | | The previous detection missing the following manual file: ... gawk-doc/usr/share/man/man3/readfile.3am libpcap-doc/usr/share/man/man3/pcap_dump_open.3pcap ... We use re to imporve it. (From OE-Core rev: 886685d207bd5e6e2e236a7c5591f62f5de26090) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* metadata_scm: Fix crash due to uncaught python exceptionMerten Sach2014-12-031-1/+1
| | | | | | | | | | | | | | | | Function base_get_metadata_svn_revision was crashing due to an uncaught IndexError exception. The except notation without parentheses is legacy syntax. It is the equivalent to 'except IOError as IndexError' which is not what we want here. The change catches both exceptions. (From OE-Core rev: 33bea949bae54ddc89aa83cf07d7b1ee62e2b393) Signed-off-by: Merten Sach <msach@mailbox.tu-berlin.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* serf: fix 'ccache' buildsEnrico Scholz2014-12-032-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 'scons' cleans the environment which breaks ccache builds because CCACHEDIR can point to an unexpected location: | ccache arm-linux-gnueabi-gcc ... context.c | ccache: failed to create .../serf/1.3.8-r0/.home/.ccache (No such file or directory) Issue is described in http://www.scons.org/wiki/ImportingEnvironmentSettings and because 'bitbake' cleans environment we can pass it completely instead of trying to enumerate needed env. With the 'env.patch' the FULLCC variable is not needed anymore (which would break when CC is 'ccache arm-...-gcc' and host ccache is used) because the correct $PATH is available during scons build: | sh: .../sysroots/x86_64-oe-linux/usr/bin/arm-linux-gnueabi/ccache: No such file or directory | scons: *** [context.o] Error 127 (From OE-Core rev: 36d94ed631f1a753482282fced7d3b7505d5e03d) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>