summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: implement checksums for local files in SRC_URIPaul Eggleton2012-05-235-3/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | Gathers a list of paths to have checksums calculated at parse time, and processes these when calculating task hashes. Checksums are cached with the file's current mtime. Thus, changing any local file in SRC_URI will now cause the do_fetch taskhash to change, thus forcing a rebuild. This change adds very roughly about an 8% increase in parse time (a few seconds) and maybe a few seconds during runqueue generation, so a fairly moderate performance hit. Note that since paths are resolved at parse time, this will not force a rebuild when files are introduced which would cause that resolved path to be different - for example, where a machine-specific version of a file was added without otherwise changing the recipe. This will need to be handled in a future update. Code to hook this into the signature generator was courtesy of Richard Purdie <richard.purdie@linuxfoundation.org>. Implements [YOCTO #2044]. (Bitbake rev: c993b7c457f8b7776e8a5dff253bfa0724bc2cae) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: refactor out codeparser cache into a separate classPaul Eggleton2012-05-232-136/+171
| | | | | | | | | | We want to be able to reuse most this functionality for the file checksum cache. (Bitbake rev: 0fe3cb1438d297f90dd0fc6b26362ecbff75c76d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed the issue about the 'run image' page should have the primary bugLiming An2012-05-231-6/+8
| | | | | | | | | | | | issues: when build a image for atom-pc, the output does not include live image, and 'Save as template' should become the primary action on the screen [YOCTO 2326] (Bitbake rev: e9516c7e14d782b943cc6e6a2e5e2111edf03d8c) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed the line width of base image description viewLiming An2012-05-231-1/+1
| | | | | | | | | | | As ui design, adjusted the line width for each base image description [YOCTO 2310] (Bitbake rev: 8bce98b23bc9cbc4da4464bfbaeb4e1a1aaca5c5) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed the issue about bug 'running image' workflow and related viewLiming An2012-05-231-22/+53
| | | | | | | | | [YOCTO #2155] (Bitbake rev: 5e14cb41e8ba26a3114ea2c8b8f83b271bc44b54) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the build failure scenario as ui designLiming An2012-05-233-1/+113
| | | | | | | | | | | change the top bar display in build 'issue' page [YOCTO #2183] (Bitbake rev: 0705d3db1ce6d0f29301e2428c990ab0d9b2860e) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add '--select a machine--' and '--select a base image--' to GUILiming An2012-05-224-18/+39
| | | | | | | | | [YOCTO #2175] (Bitbake rev: 2729729012f035043fedc5098be2ec12b761166d) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fetch2: quote/unquote url pathsChristopher Larson2012-05-221-3/+4
| | | | | | | | | | This ensures we can handle things like %-encoded characters in the path portion of urls. (Bitbake rev: b1dbc24ebcc4e5100c32568c2c41fd982fb4bcce) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Get image name internally when updating the image descriptionDongxiao Xu2012-05-222-3/+4
| | | | | | | | | | | The image name shouldn't be passed from outside caller, since the image name may not in the combobox list. Getting the name from update_image_desc() internally. (Bitbake rev: 6635cd7bc2a448d1324e9344100f97613f4272b5) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Add filter for images listed in image comboDongxiao Xu2012-05-223-4/+39
| | | | | | | | | | | | | | | Define BBUI_IMAGE_WHITE_PATTERN variable to indicate which image is allowed to be displayed in image combobox. Define BBUI_IMAGE_BLACK_PATTERN variable to indicate which image is NOT allowed to be displayed in image combobox. This fixes [YOCTO #1581] (Bitbake rev: 960461bc12945675af3081eb469f932f4a6eb1cd) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reimplement the proxy pageShane Wang2012-05-223-111/+309
| | | | | | | | | | | | | This patch is to reimplement the proxy page in the "Advanced Settings" dialog per the new design in https://bugzilla.yoctoproject.org/attachment.cgi?id=442 and https://bugzilla.yoctoproject.org/attachment.cgi?id=443. [Yocto #2247] (Bitbake rev: 911a60c09c1539a3f10c2bcdb26d40e458c31303) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fetch2: Also exclude urls containing wildcards from checksumming for nowRichard Purdie2012-05-221-0/+2
| | | | | | | | | Without this change, bitbake will try and checksum a wildcard which will lead to fetch failures. (Bitbake rev: ac53b88be58b0bed21730c0b61a8fc8e801a2f1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-mips64.inc: Add new tune file for mips64 big-endianKhem Raj2012-05-211-0/+3
| | | | | | | (From OE-Core rev: e6333825c3482a559a0c0499e17f8f48d3042ddf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Fix build for mips64Khem Raj2012-05-212-0/+30
| | | | | | | | | | | | | | | mips64 N64 ABI has different size for int and pointer which means the compiler will complain about conversions which works fine for 32 bit since sizes are same. amd64 is taken care of already so we take care of mips64 with this patch by understanding the difference in sizes in compiler.h (From OE-Core rev: de21917ba83f104a2d53941f40a9b2b8d35dce49) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/sh-common: Add missing caches variables to build glib-2.32Khem Raj2012-05-211-0/+4
| | | | | | | | | This is on the same tone as done for other architectures (From OE-Core rev: 7bdc3a07d3212d7fc820c77ba509e476cc7aa672) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: Add interface files for qemumips64 and qemush4Khem Raj2012-05-213-2/+18
| | | | | | | | | | | These files are alike other qemu machines they help in creating a working network interface when using qemumips64 or qemush4 (From OE-Core rev: 1e7406e4f2f93b6b4fa75716c4e901a96206be69) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: Add qemush4 and qemumips64 knowledgeKhem Raj2012-05-212-5/+40
| | | | | | | | | | New machines need to be added and they also have different kernel commandlines (From OE-Core rev: 3a5432aec0faea49d2c04984cd169ceb35bba89f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package: Add sh4 and mips64 to arch optionsKhem Raj2012-05-211-0/+3
| | | | | | | | | needed for new architecture support (From OE-Core rev: 75167eb890d8e4683f1e3852e3b77c67d160bea7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Support mips64Khem Raj2012-05-212-2/+2
| | | | | | | | | | | | | | Add mips64 to binary locale arches Enabling ports in addons causes wrong machtype to be chosen for mips64 and it always chose mips32 which is wrong for mips64 so enable all the addons we have and we were enabling them anyway (From OE-Core rev: da7f9093ad7aa4188cc3d420668b0bda7d950a0f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-arch.bbclass: Map mips64{el} to mips KARCHKhem Raj2012-05-211-1/+1
| | | | | | | (From OE-Core rev: 22ce249a814f750bc47ead9ce281fcbd63c775c8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Default to n64 when configured for mips64Khem Raj2012-05-212-1/+51
| | | | | | | | | Default ABI for mips64 is n64 so make it default in binutils (From OE-Core rev: 99f859612e16d636702f9bb11825259d90e468f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6, gcc-4.7: Add support for building mips64 cross compilerKhem Raj2012-05-215-0/+57
| | | | | | | | | Defaults to n64 ABI (From OE-Core rev: 253f1f3aebd1a90c55efcc6d1f585204e7f3c371) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: Add mips64 eglibc and uclibc site filesKhem Raj2012-05-214-0/+355
| | | | | | | (From OE-Core rev: 2e315d2d0de215811e8caa80b1f13fd0e9fa53e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add mips64{el} to known machinesKhem Raj2012-05-211-0/+4
| | | | | | | (From OE-Core rev: 77dc886107e1b9cdaf6803141dc97c3ebfc22910) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/fetch2/__init__.py: Don't try to compute checksums for directoriesAndrei Gherzan2012-05-211-0/+5
| | | | | | | | | | | | In this way we avoid failing the build while trying to fetch local directories. [YOCTO #2475] (Bitbake rev: 39adb5741d9eee0879d3181be505400dffc60804) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: update required pygtk to 2.22.0 and gtk+ to 2.20.0Joshua Lock2012-05-201-1/+1
| | | | | | | (Bitbake rev: e67ccbbeaecd2d9f3267995c590052c6a3c5b9ce) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/[package|recipe]selectionpage: include buttonJoshua Lock2012-05-202-4/+16
| | | | | | | | | | | The indication of the included packages/recipes in the top right of the GUI, per design, is a button which switches the Notebook to the included tab. (Bitbake rev: 494534cae6211d9055098562df1f35b56858f3ec) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/imageconfiguration: fix combo boxes drop-down widthJoshua Lock2012-05-201-2/+0
| | | | | | | | | | The width of the combo boxes drop down should match the combo box itself. (Bitbake rev: 93e66f494730d0840dd1d4f3ed924d91e6489995) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hobwidget: use light text in HobIndicatorJoshua Lock2012-05-201-1/+1
| | | | | | | | | | Dark text on a dark background is difficult to read. Further the design document uses white text. (Bitbake rev: a84304ccf06a012817a5e6495d53147efcbed960) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/: replace custom HobNotebookJoshua Lock2012-05-204-394/+119
| | | | | | | | | | | | | | | | The custom HobNotebook widget was implemented to address perceived deficiencies in the gtk.Notebook API. Recent inspection reveals that the API is capable of all that Hob requires of it and therefore maintaining a custom class to provide similar functionality does not make sense. Addresses [YOCTO #2276] (Bitbake rev: e683caa9863bbb52480346669806f22173629a5e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob:add function about clicked a row to load image file for 'my images' pageLiming An2012-05-201-2/+16
| | | | | | | | | [YOCTO #2238] (Bitbake rev: b72ee3cf29a5badca3f8c1342356164270615aad) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Apply a line length to consistantly display image descriptionsLiming An2012-05-201-0/+2
| | | | | | | | | [YOCTO #2310] (Bitbake rev: e9d65e06aaf20bd9f5ca02544c1bf976c6bff9be) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* knotty2: return exit codeEnrico Scholz2012-05-201-1/+1
| | | | | | | | | | 'bitbake -u knotty2' never failed which was caused by main() not propagating the exit code. (Bitbake rev: 243e4ba405b88fd466bec7b4aa042d20aa6121ff) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch: Spell out which fetcher backends support and recommend checksumsRichard Purdie2012-05-204-1/+30
| | | | | | | | | | | | | | There were some hardcoded behaviours in the system for which backends support checksums verses which backends recommend them verses which don't recommend them. This moves the functionality into specific fetchers and then makes the general code generic. This cleans up the codebase and fixes some corner cases such as trying to checksum directories returned by the git fetcher. (Bitbake rev: ef6d268f7b8527541a7fb044cf95a973be4097f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch: If checksums are available, check them for any file, local or ↵Richard Purdie2012-05-201-21/+19
| | | | | | | | | | | | | remote Currently, checksums are only checked for remote files. This changes the check to apply to any file we have checksum data for. A mismatch against a file is fatal but in the local case, no warnings are shown about missing checksums. (Bitbake rev: 80411b3acf2173a4a7d415102d16676eb98363e3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: Improve visibility of checksum warnings when fetching from ↵Richard Purdie2012-05-201-5/+15
| | | | | | | | | | | | | mirrors When fetching from mirrors, checksum errors would get buried in the logs. This raises their profile so a warning is logged on the console when fetcher checksum issues are encountered, even if other attempts are made to get the file (which may or may not have the same issue). (Bitbake rev: d43fafd7f01b5534499b45213197d8ccececdbc4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: Improve stamp creation in mirror codeRichard Purdie2012-05-201-4/+4
| | | | | | | | | | | | | | | Under certain contitions such as local file:// mirrors of all files, bitbake might not check checksums. This is not desirable and we should always check the checksum where possible. This only exception to this is the git mirror tarball case where the checksum is unknown but we need to create the .done stamp for other reasons. This patch preserves thta functionality but in a more specific section of code where this doesn't interfere in normal checksums. (Bitbake rev: 2592a43e422c06a6f6174ada562e9c8ba25e1ec1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: Remove hardcoded file removal and use clean methodRichard Purdie2012-05-201-4/+2
| | | | | | | | | | | | | | | Under certain circumstances, bitbake could remove files which were outside its control since it unconditionally removes ud.localpath. In the file:// case this can point at external paths. This patch converts it to use the clean() method which will remove files when its safe to do so but not in the file:// case since the file:// handler has an empty clean method. This means bitbake no longer removes files outside its control and is generally much safer. (Bitbake rev: 9ad1cebe2220b41da2141cdb3f0a403abb46d77c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Make sure we don't have an empty fixmepath fileMark Hatle2012-05-181-5/+12
| | | | | | | | | | | | | | Jason Wessel noticed that a package without any fixmepath entries would generate a sed warning about no input files. This patch resolves that by ensuring that an empty fixmepath file never gets written into the sstate archive. Also we avoid a second message by only doing xargs if we got input. (From OE-Core rev: 326563d5a897ae2dba7cfd8d73579d3d979d72c8) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-kdrive: Fix X server on PowerPC when built with GCC 4.7.xGary Thomas2012-05-182-1/+235
| | | | | | | | | | | | | | Newer versions of GCC uncovered illegal code practice which can cause runtime failures in the Xext/xace.c code. This problem has been fixed upstream: http://cgit.freedesktop.org/xorg/xserver/patch/Xext/xace.c?id=6dae7f3792611aace1df0cca63bf50c50d93de43 Subject: xace: Invalid reference to out-of-scope data. Incorporate this patch into the recipe, with a PR bump. (From OE-Core rev: 7d1bb144404de650c6e83dfd095d16a796cbcf46) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: policy cleanupsBruce Ashfield2012-05-183-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta SRCREVs to pickup configuration policy cleanups: 49f931b meta/fishriver: remove redundant features and options 51a6d3f meta/emenlow: remove redundant features and options 101dd7f meta/crownbay: remove redundant features and options 4110ecd meta/sugarbay: remove redundant features and options 0f1304a meta/jasperforest: remove redundant features and options 0a56a3b meta/common-pc-64: factor out SCSI CDROM option b71938a meta/common-pc-64: use usb-mass-storage feature 0724f40 meta: add scsi cdrom feature 438bca8 meta/common-pc: use usb-mass-storage feature c970881 meta: factor out SCSI options from the usb-mass-storage feature 4c8135e meta: add scsi disk feature 6872a81 meta: add scsi feature e706ec5 meta/sugarbay: factor out policy-related options 8b7fbc2 meta/jasperforest: factor out policy-related options fea1b0e meta/fishriver: factor out policy-related options 13bf9ab meta/emenlow: factor out policy-related options 4748d50 meta/crownbay: factor out policy-related options 44f592f meta/common-pc-64: factor out policy-related options 5a3f5c7 meta/common-pc: factor out policy-related options 1f5a10b meta/common-pc-64: use usb features 4b87723 meta/common-pc: use usb features 594ba05 meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature (From OE-Core rev: b8ce5b4a8f6ea5021e284dfd486593dbcfbe0502) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: update LICENSE field to GPLv2Bruce Ashfield2012-05-181-1/+1
| | | | | | | | | | | | | | | The LICENSE field for kern-tools was generic and leads to QA warnings from the license classs: "No generic license file exists for: GPL in any provider" Updating to a specific GPL version that matches the source fixes the warning. (From OE-Core rev: 72101b324062642474d67ee90356489993a973d0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: intel BSP config changesBruce Ashfield2012-05-183-3/+3
| | | | | | | | | | | | | | | | | | | | Updating the meta SRCREV for the following fixes: 1dfd60f meta/fishriver: move smp options from recipe-space 012780a meta/emenlow: move smp options from recipe-space b59b1a5 meta/crownbay: move smp options from recipe-space 74dc6ac meta/sugarbay: remove boot-live options a4bedcb meta/jasperforest: remove boot-live options 4ae7b81 meta/sugarbay: use usb features 30e7e8c meta/jasperforest: use usb features 22d0c5d meta/fishriver: use usb features e262965 meta/emenlow: use usb features (From OE-Core rev: 5bf86f42e25489ebe92d2c891ee7ee340d668e29) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* test-reexec: Add script to address issues when task re-executionJiajun Xu2012-05-181-0/+123
| | | | | | | | | | | | | | | The script is used to address build issues when tasks of different recipes are re-executed. The script goes through all available recipes and their tasks. The test results are saved in ./reexeclogs. Force build logs are saved with prefix "force". Build failure logs are saved with prefix "failed". [YOCTO #2123] (From OE-Core rev: 6258a11f22103d68d02e329c2e7fb198202cc6ef) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.bbclass: Added multilib specific package QA.Lianhao Lu2012-05-181-0/+31
| | | | | | | | | | Added a new PACKAGEFUNCS function to check the multilib packages' dependency. (From OE-Core rev: f193729cdf0f3eccf96a8ce7bf5f599eca89a0d0) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: Added multilib support for kmod.Lianhao Lu2012-05-181-0/+1
| | | | | | | (From OE-Core rev: 41ec6c1eb6998de6c1fd332510c1d71ba58f1b2c) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* (libc-)package.bbclass: Added MLPREFIX to locale packages.Lianhao Lu2012-05-182-4/+5
| | | | | | | | | Added multilib prefix to the locale related package names/dependencies. (From OE-Core rev: a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kmod: Use base_libdir for installing libkmod"Koen Kooi2012-05-171-2/+2
| | | | | | | | | | The commit breaks pkgconfig and after discussing it with the kmod and udev maintainers the conclusion was reached that putting the libraries in /lib instead of /usr/lib is not supported. This reverts commit 6b74f2461735272bd950a4f060dab6e778a36f92. (From OE-Core rev: 7163ebd92a799b8f000b2b6f303b20de468b5f90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg-lite: disable xmlto like full xserver-xorg doesMartin Jansa2012-05-172-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xmlto-native is unusable (see YOCTO #2416 xmlto/xsltproc stylesheets cannot be found even when they are installed in sysroot) * fails like this: | make[2]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc' | /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xmlto xhtml-nochunks Xserver-spec.xml | /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xmlto xhtml-nochunks Xinput.xml | xmlto: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml does not validate (status 3) | xmlto: Fix document syntax or use --skip-validation option | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:40: parser error : Entity 'ldquo' not defined | btaining a copy of this software and associated documentation files (the &ldquo; | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:40: parser error : Entity 'rdquo' not defined | of this software and associated documentation files (the &ldquo;Software&rdquo; | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:42: parser error : Entity 'ldquo' not defined | btaining a copy of this software and associated documentation files (the &ldquo; | ^ | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml:42: parser error : Entity 'rdquo' not defined | of this software and associated documentation files (the &ldquo;Software&rdquo; | ^ | warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | Document /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xinput.xml does not validate | xmlto: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xserver-spec.xml does not validate (status 3) | xmlto: Fix document syntax or use --skip-validation option | make[2]: *** [Xinput.html] Error 13 | make[2]: *** Waiting for unfinished jobs.... | /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xserver-xorg-lite/xserver-xorg-lite-2_1.11.2-r2/xorg-server-1.11.2/doc/Xserver-spec.xml:4: warning: failed to load external entity "/xserver/doc/xml/xserver.ent" | <!ENTITY % defs SYSTEM "/xserver/doc/xml/xserver.ent"> %defs; | ^ | Entity: line 1: | %defs; | ^ (From OE-Core rev: e8c61491cdd28caa51b567c6ce40155504f9eadb) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: check user can read and write to SSTATE_DIRJoshua Lock2012-05-171-3/+14
| | | | | | | | | | | The user needs read and write permissions to SSTATE_DIR, check whether they have sufficient permissions and if not recommend use of SSTATE_MIRRORS. (From OE-Core rev: 0c0c4efbf92bcf0f8942f17c18525a4b4ed1798c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>