summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* adt-manual: Fixed PMS typoScott Rifenbark2015-10-211-1/+1
| | | | | | | | | | | | | Fixes [YOCTO #8419] There was a typo in the section that indicated the file extensions for various Package Management Systems. The one for RPM used a file extension of ".rms". I fixed it to ".rpm". (From yocto-docs rev: 7b303a789d4f11aed6ebc83d734a27442a531b52) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updates to clarify Fetcher URL directory parametersScott Rifenbark2015-10-212-6/+35
| | | | | | | | | | | | | | | | | | Updated the SRC_URI variable description to cross-reference the "Fetchers" section in the BitBake User Manual and added some more Fetcher URL parameters specific to certain fetchers. This was done to help clarify how to put fetched code into specific directories. Also updated the bin_packages.bbclass description to have a better example. Used a git:// fetcher example and provided some specific URL parameters. (From yocto-docs rev: 7133b49092096c253ffce99f39d4fa6db7810061) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster-manual: Updated the section for setting up virtual env.Scott Rifenbark2015-10-211-9/+9
| | | | | | | | | | | The section for setting up a Python virtual environment has gone from "optional" to "required". I re-worded the section as such. (From yocto-docs rev: 3a20244c8b0b594723c0b35c8808bb96a210d63a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Added package requirements for runtime QEMU testingScott Rifenbark2015-10-211-0/+19
| | | | | | | | | | | | Fixes [YOCTO #8412] Added another bullet item that lists the required packages per distributions needed to enable the runtime QEMU tests. (From yocto-docs rev: f7e42f9b069e0fd3b419b571554669a89bc843e6) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added linuxloader.bbclass reference description.Scott Rifenbark2015-10-211-0/+10
| | | | | | | (From yocto-docs rev: f33dbbd740ddd9dc88154373dc824e63d832ca0c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Makefile: Updated the make file to not create toaster-manual pdfScott Rifenbark2015-10-211-1/+1
| | | | | | | (From yocto-docs rev: a9babbc10603a2dd984fb633e85f3b3d93e43ac7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated devtool build --help exampleMaciej Borzecki2015-10-211-1/+1
| | | | | | | | | The wrong command was in the help example in the note. (From yocto-docs rev: a1ba70d1dcc680c2ddfb8fd5c544f57a29745cbc) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updated files to support 2.0 release.Scott Rifenbark2015-10-2110-44/+44
| | | | | | | | | | | | These updates included editing the poky.ent file so that DISTRO and related variables are now 2.0. Also updated all the title pages to have the manual revision table correct. Finally, used my email for the manuals. (From yocto-docs rev: deae61bfbb528ea0ced82399a78260a7f34a7a11) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster-manual: Removed "dizzy" and replaced with "jethro"Scott Rifenbark2015-10-211-20/+20
| | | | | | | (From yocto-docs rev: 3cae958e49c091b2820631fc500171bb068eabf5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added descriptions for 5 new variables and 2 tasks.Scott Rifenbark2015-10-212-0/+125
| | | | | | | | | | | Fixes [YOCTO #8019] Added new descriptions for five kernel variables and two tasks. (From yocto-docs rev: 834aebb75dce1c905b1e0f142d0d7de6bb44e7d4) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated the Marking Packages information.Scott Rifenbark2015-10-211-12/+9
| | | | | | | | | | | | | Fixes [YOCTO #8375] Applied some suggested simpler wording for this bulleted item of information. Also, did some paragraph editing for better organization. (From yocto-docs rev: fd3e277b01ed6fd3580a1c008b1ac05bcfb98f38) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added oe-seltest package requirements sections.Scott Rifenbark2015-10-211-0/+27
| | | | | | | | | | | | | Running oe-selftest requires some Python packages for all the supported distros. I added new sections in there to cover these requirements. Fixes [YOCTO #8290] (From yocto-docs rev: a8654267405df9ffb2f4d59d3de4a7eb3653893e) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Updated the build toolchain section with more detail.Scott Rifenbark2015-10-211-0/+15
| | | | | | | | | | | | | | | | Fixes [YOCTO #8368] Apparently there is confusion on how to build a cross-toolchain using Eclipse and the Yocto plug-in. Specifically on setting the MACHINE variable, the bblayers.conf stuff, and the preferences in Eclipse to find things. I added a couple key things to the section that describes using the OpenEmbedded build system to build out the toolchain. (From yocto-docs rev: 68c399e2560600cb3a5951c93d51e2cf1f610ff9) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Updated some hard-coded distro valuesScott Rifenbark2015-10-211-4/+4
| | | | | | | | | | | I found four occurances of "1.8" used in manual. These needed to be set to "&DISTRO;" so that they resolve to the latest YP release. (From yocto-docs rev: 9db8a2a04085623588e51740a45ee58c500649f6) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated the multilib example.Scott Rifenbark2015-10-211-1/+1
| | | | | | | | | | | | Fixes [YOCTO #8256] Applied some review comments to the multilib example. The syntax was incorrect. (From yocto-docs rev: 4e8abf17374535be3b168525ed2bec66fb1ce759) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the EXCLUDE_FROM_SHLIBS descriptionScott Rifenbark2015-10-211-6/+17
| | | | | | | | | | | Fixes [YOCTO #8066] Applied some review comments to the variable's description. (From yocto-docs rev: 35b28f3b86cdb76ae3dc431b5f538b4d078b694f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated EXCLUDE_FROM_SHLIBS description.Scott Rifenbark2015-10-211-22/+13
| | | | | | | | | | | | Fixes [YOCTO #8066] Applied some review edits to the variable's description in the glossary. Also, changed the name of the variable to be correct. (From yocto-docs rev: f3ab503301db9d22cb85da0f7518d266f230bd3d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated distrodata.bbclass exampleScott Rifenbark2015-10-211-6/+1
| | | | | | | | | | | | | Fixes [YOCTO #8237] The use of this class no longer requires including the laundry list of files that was provided in the section. It just needs the INHERIT statement now. Removed the include statements. (From yocto-docs rev: c31a5a3a78d265dea68c1c72c4eea6c2f80c839a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added new description for PACKAGE_EXCLUDE_COMPLEMENTARYScott Rifenbark2015-10-211-0/+26
| | | | | | | | | | | Fixes [YOCTO #7906] I added a new description for the variable. (From yocto-docs rev: 2a99b80abeee05a11aba9ab339d989a7d616b597) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed typo in path for wic pluginsUwe Kleine-Konig2015-10-211-3/+3
| | | | | | | | | | | Fixes [YOCTO #7910] Three occurrances of this typo were fixed. (From yocto-docs rev: f538137c93d4b34c6d5836d9b21b687fb79ae182) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added new EXCLUDE_FROM_SHLIB variableScott Rifenbark2015-10-211-0/+37
| | | | | | | | | | | Fixes [YOCTO #8066] Added a new description to the variable glossary. (From yocto-docs rev: ccb23c5a318f1640718ed41dc7ea2fd1bb8a43a1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added new variable description for SKIP_FILEDEPSScott Rifenbark2015-10-211-0/+28
| | | | | | | | | | | Fixes [YOCTO #8067] Added a new file description. (From yocto-docs rev: 9c60c6157660be6557732bbdc2398e2783ac68d2) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs, ref-manual: Replaced "yum" with "dnf"Scott Rifenbark2015-10-212-10/+10
| | | | | | | | | | | | | | Fixes [YOCTO #8159] Fedora and CentOS have deprecated "yum" and have come up with "dnf" as the package manager. This happened at the end of 2014. I have replaced the occurrences in the manual appropritely. (From yocto-docs rev: 14c80ecc8d6a4f9bf355dd84657d339782da83f0) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added cross-reference phrase to some variablesScott Rifenbark2015-10-211-0/+6
| | | | | | | | | | | | | Fixes [YOCTO #8233] The IMAGE_POSTPROCESS_COMMAND and IMAGE_PREPROCESS_COMMAND variables were missing a linked cross-reference to the IMAGE_ROOTFS variable. I added the linked references. (From yocto-docs rev: a36b447ca105b3d63b7cfd085c77b071275e0dab) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Changed multilib exampleScott Rifenbark2015-10-211-3/+3
| | | | | | | | | | | | | Fixes [YOCTO #8256] The suggested multilib example in the "Using Multilib" section was broken. I replaced the lib32-connman library with the lib32-glib-2.0 library. (From yocto-docs rev: fa302dd1b7d71c880815fdc4b9a6764c095d476d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Added note about building out Autotools projectsScott Rifenbark2015-10-211-0/+34
| | | | | | | | | | | | | Fixes [YOCTO #8261] Errors are being generated to Eclipse users when building an Autotools project. I added a note with steps to avoid the errors. (From yocto-docs rev: 7b915bab1b8a321f81453ad00886945c294a1d60) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver.bbclass: Fixes and improves archiver class for kernel and gcc packagesAlejandro Hernandez2015-10-211-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc packages use a shared source directory, this causes an issue since the archiver will try to patch the same source several times (one for each gcc package), producing an error, the archiver class used stamp-base to check this, nonetheless our gcc packages no longer use stamp-base, they use gcc-shared instead, which is what broke this functionality. This patch adds a check to see whether or not the source should be patched, avoiding patching the source when it shouldn't. Also, we dont need to create multiple identical tarballs for all gcc packages, this patch fixes this and creates a single source tarball for gcc. When requesting patched sources, a race condition is created for linux-yocto tasks, unpack_and_patch is executed along with kernel_configme, which most of the time causes errors during configure, since kernel_configme task is specific to the kernel, simply modifying the tasks order by creating a dependency to kernel_configme was impossible, causing errors on all other packages that didnt use kernel_configme, this is fixed by creating a special case for the kernel, adding tasks with correct dependencies, avoiding the race condition and behaving the way it should for all other packages as well. [YOCTO #8378] (From OE-Core rev: aecaa0e8739db1c228a6db78225a717d9f348a5b) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: improve config writing and cleanupRoss Burton2015-10-213-20/+9
| | | | | | | | | | | | | | | | The selftest.inc configuration file is deleted in both tearDown() and setUp() so there's no need to use addCleanup() to remove statements from it. Use write_config instead of append_config if the intention is to start from an empty config file, for clarity. Finally remove some misleading comments that claim that append_config() writes to local.conf when it doesn't. (From OE-Core rev: ad33259b507914bfc8de92d1df12e0974157900e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/wic: remove numbers from test namesRoss Burton2015-10-211-23/+23
| | | | | | | | | | There isn't any required ordering of tests, and the numbers meant that the tests didn't appear in oe-selftest --list-classes. (From OE-Core rev: 2a4ecc88ca10ef6abe55dddb96842b579b73497c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: clean up selftest.inc in teardownRoss Burton2015-10-211-1/+1
| | | | | | | | | | | | | | | Test cases may want to do call bitbake in setUpClass() but at that point the previous selftest.inc is still present which could change the build configuration and result in any built artifacts being removed in the next bitbake invocation as part of the sysroot clean up. Resolve this by cleaning selftest.inc in the tearDown, the clean in setUp should be considered a safety net. (From OE-Core rev: 573bd03a7844a5ad762533f65f41214df31cd197) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/wic: fix cleaningRoss Burton2015-10-211-11/+8
| | | | | | | | | | | | | In some situations the native tools built in setUpClass() are wiped from the sysroot by the time the tests are executed, likely due to the cleanup performed in the base setUp() method. Avoid this by doing all of the preparatory building in setUpLocal. (From OE-Core rev: 2285ff17a391fa22f2095da701bc6f2c9615ae7b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/wic: corrected testcase decorator for test18_iso_imageDaniel Istrate2015-10-211-1/+1
| | | | | | | | | | Changed testcase decorator for TC test18_iso_image from 1264 to 1346. (From OE-Core rev: b845330133de6d47b63a03208aa083cf08801634) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: verify that devtool can use plugins in other layersRoss Burton2015-10-213-0/+23
| | | | | | | | | | | In selftest we want to exercise devtool's ability to use plugins from other layers, so add a basic command to reverse a string to meta-selftest and a test in oe-selftest to call it. (From OE-Core rev: 69f5bbc1041e15691af0b4845e2136957a4846a1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/buildoptions: Use the correct script for cleaning the workdirLeonardo Sandoval2015-10-211-2/+2
| | | | | | | | | | The script 'cleanupworkdir' does not exit, so changing it to 'cleanup-workdir'. (From OE-Core rev: 9a2292a995de9f93e742bda6c465daa854279fed) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bbtests: Updated bitbake TCsDaniel Istrate2015-10-211-10/+35
| | | | | | | | | | | | | | | | | | | | - Added new TC test_force_task_1 (1354); check that do_package_write_rpm() re-executes upon changes in package image. - Updated TC test_force_task_2 (163); changed test recipe to zlib and added do_package() to the task execution list. - Removed unnecessary imports. Fix for bug [YOCTO #5875]. (From OE-Core rev: 86a7e68803aca58feca9b6cf479552d14b00996c) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bbtests: clean up local DL_DIR/SSTATE_DIR safelyRoss Burton2015-10-211-1/+5
| | | | | | | | | | | | | | Now that the selftests clean selftest.inc in the tearDown using bitbake in a function passed to addCleanup (which happens after teardown) will use the default configuration and not the customised one. As the intention was to clean away the temporary DL_DIR and SSTATE_DIR, simple use track_for_cleanup to delete the entire directory instead. (From OE-Core rev: aa3b859524bb693d3b150a8873a2ee24c78eac0a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/ftools: From functions that expect data, check if NoneLeonardo Sandoval2015-10-211-0/+9
| | | | | | | | | | | ftools functions that expect data may get 'None'; this patch does this check and return immediately if this is the case. (From OE-Core rev: 5eaa4fa30e2362e6dd572b8a6f7a909b608e14bf) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/ftools: Ignore the exception if file does not existLeonardo Sandoval2015-10-211-1/+10
| | | | | | | | | | | | | | There may be cases where the configuration file (path) does not exist, thus the remove_from_file should catch this exception. In case the exception is not the latter (errno.ENOENT), then re-raise it. [YOCTO #8540] (From OE-Core rev: 1136f9e02d9cbe2c2cda189321d72b763649ba42) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/manifest.py: Test support for manifestsBenjamin Esquivel2015-10-211-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | adding support for tests to verify that manifest contents contain entries that exist in an specified pkgdata dir tests added: - manifest.VerifyManifest.test_image_manifest_entries - manifest.VerifyManifest.test_SDK_manifest_entries test support written for future tests: -adding a setUpClass that supports other manifest tests -a get dir from bb var function that verifies if the dir exists -a ManifestEntry class defined with missing items list -check for the paths and fail gracefully if not there -debug prints for failure analysis [YOCTO#8028] (From OE-Core rev: aed5b7aef33459f1bb5fa29560920c254a5fd637) Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd_base.bbclass: Do not warn without a reasonPeter Kjellerstedt2015-10-211-3/+3
| | | | | | | | | | | | | | | | In c0da4270c76375a7a8cbcc09319fe4570ebbc5bd two bbwarn were changed to bbnote for the case where an added user or group already exists. The same should have been done for groupmems, groupdel and userdel as well since the warnings that are currently generated are superflouous. The two remaining similar bbwarn for groupmod and usermod are left as is since there they actually make sense. (From OE-Core rev: f775e4cffe45edb673a414a2038c4f2b09b9b827) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable ValgrindRoss Burton2015-10-212-0/+20
| | | | | | | | | | | Qemu has an automatic dependency on valgrind which cannot be disabled, which causes non-deterministic builds and build failures. As Valgrind wasn't enabled previously make this deterministic by forcibly disabling it. (From OE-Core rev: 33960902b9c36575ddda3d926d70fa13bbad85f6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* i2c-tools: fix inverted RDEPENDSMatt Madison2015-10-211-2/+1
| | | | | | | | | | | | The runtime dependency between i2c-tools and i2c-tools-misc was backwards when the packages were split. With this change, including i2c-tools in an image no longer drags in perl. (From OE-Core rev: e1837b51e4054a725ce01007f27544ee21db79ef) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: remove spurious build dependenciesRoss Burton2015-10-211-1/+1
| | | | | | | | | | | make, patch and binutils are assumed to exist on the host, so there's no need to have them in DEPENDS and can result in the building of make-native for no good reason. (From OE-Core rev: 4f48eeb9396ef904202ab1abeb38ec971feaeb4b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-5.2: Fix various _FOR_BUILD and related variablesMark Hatle2015-10-212-0/+124
| | | | | | | | | | | | | | | | | | When doing a FOR_BUILD thing, you have to override CFLAGS with CFLAGS_FOR_BUILD. And if you use C++, you also have to override CXXFLAGS with CXXFLAGS_FOR_BUILD. Without this, when building for mingw, you end up trying to use the mingw headers for a host build. The same goes for other variables as well, such as CPPFLAGS, CPP, and GMPINC. (From OE-Core rev: 85ca40c42950315f2783b98f57df16b261d2826e) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: fix file permission for /etc/pam.d/sudoChen Qi2015-10-211-1/+1
| | | | | | | | | | The file permission should be 0644 instead of 0664. (From OE-Core rev: 86c80f6d51b3700e090c70067808ea405d5a0b20) 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>
* openssh: fix file permission for /etc/pam.d/sshdChen Qi2015-10-211-1/+1
| | | | | | | | | | The file permission should be 0644 instead of 0755. (From OE-Core rev: 38567f910130f8559c2ba6935e0bfad61f6b1f4f) 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>
* sanity.bbclass: expand warning when chmod failsAlex Franco2015-10-211-2/+2
| | | | | | | | | | | | | As suggested, add exception message to warning in sanity.bbclass when chmod fails on TMPDIR. [YOCTO #7669] (From OE-Core rev: f6609aca5c533325411567a79130114654c50f3b) Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate SDK: prepare calling of bb.utils for exceptionsBenjamin Esquivel2015-10-211-24/+52
| | | | | | | | | | | | | | | | | bb.utils.remove, bb.utils.movefile and bb.utils.mkdirhier can throw exceptions that need handling and proper error messages more work is required for these methods to handle properly the exceptions that can be raised within the various OS calls they make but this is a start to at least not hide the errors in the requested operations [YOCTO#8213] (From OE-Core rev: 2e81dbdce6f92908c4d4c980af032516581178de) Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: handle virtual providersPaul Eggleton2015-10-214-10/+64
| | | | | | | | | | | | | | For modify / extract / upgrade, if the specified "recipe" is not actually a recipe but a virtual target such as virtual/kernel, map it correctly to the actual recipe and make sure we use that name within the workspace. Thanks to Chris Larson for reminding me this was still broken and for a hint on how to fix it. (From OE-Core rev: 1f7752282ffb47d2621030ddb2fa42a5e491d6d2) 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>
* libc-package: Fix localedef multilib dependency issuesRichard Purdie2015-10-201-2/+2
| | | | | | | | | | | | | Building nativesdk-glibc-locale results in many messages like: QA Issue: nativesdk-locale-base-en-sg rdepends on localedef, but it isn't a build dependency? [build-deps] It should depend on ${MLPREFIX}localedef, not just localedef to fix these warnings. (From OE-Core rev: 80e2dfbfef2d40c3ab074142deac73317f89e3a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>