summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15meta-tizen: tizen-platform-wrapper: Update relocated git repo (IVI)Philippe Coval1-1/+1
Change-Id: If7438fbdb7588180368d5df17b336480e621acc3 Bug-Tizen: BTY-121 (From meta-tizen rev: 779f0ad6e8755ad2a6e75cd84103f6502961a5a1) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-15meta-tizen: tizen-platform-config: Update relocated git repo (IVI)Philippe Coval1-1/+1
Change-Id: I9a0fe6d92f1d1a05838aae572b43c5f1b3880903 Bug-Tizen: BTY-121 (From meta-tizen rev: a5552baf5b328680e2a2057a0dbb424ca0b2cefb) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-15meta-tizen: tizen-core-image-minimal: Add console on ttyPhilippe Coval1-0/+3
Change-Id: I5b658102242a9b9b5171ebb88efd489343113c0e Bug-Tizen: BTY-121 (From meta-tizen rev: 676ab23812b427ea0bcefd133bf098f1a1d32cd2) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-15meta-tizen: tizen-core-image-minimal: use mesa vmwgfx package only if x86 basedPhilippe Coval1-1/+2
Change-Id: I4cb826b7aa8260981bc2cdd5365708a90ccae85a Bug-Tizen: BTY-121 (From meta-tizen rev: e2f970b2e598a1d59f08630a613e9a0aa544d3eb) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-15meta-tizen: tizen-platform-wrapper: Update relocated git repoPhilippe Coval1-1/+1
Change-Id: I0b9e2880db3c6ce7e44ff3d1bb2e0e78c56848a4 Bug-Tizen: BTY-121 (From meta-tizen rev: 068b840ac0c8a8ba9d886db04b528aa6fc917f81) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-15meta-tizen: tizen-platform-config: Update relocated git repoPhilippe Coval1-1/+1
Change-Id: Idcd23c89a9baad0dad9368f9bcd7a2e42f1bcb15 Bug-Tizen: BTY-121 (From meta-tizen rev: 8c3f6e736619e6183817990a153b64b10c9fb9be) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-01-27Automatic commit to update last_revisionLeon Anavi1-1/+1
Change-Id: I39ed0eb7dc0d0beeb0dae59dad0d7f7773e49cba Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: security-server: Prevent running ldconfig or systemctl if...Philippe Coval1-5/+8
This should be executed on system and not on build host. Note It might worth to rewrite all recipes that involve systemd and inherit systemd class when possible (check how for user sessions). Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is prefered because of shell's -e option. Change-Id: Ib519697d4df1b9754e34ba030eb5b4ebf8c3ad92 (From meta-tizen rev: 4488b2e666ba6757db57af09bfd981c93d6446f8) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: privacy-manager-server: Prevent running ldconfig if not on systemPhilippe Coval1-1/+1
Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is prefered because of shell's -e option. Change-Id: I06d3731455912b536c053b29833de9d44832027b (From meta-tizen rev: 4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: festival: Prevent running ldconfig if not on systemPhilippe Coval1-4/+4
Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is prefered because of shell's -e option. Change-Id: I2de3d79aef7c884727f91538ff3ac73babb07125 (From meta-tizen rev: 317bfee66280e5dfdbc014fb38ceb0edc95faeca) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: message-port: Prevent running ldconfig if not on systemPhilippe Coval1-2/+2
Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is prefered because of shell's -e option. Change-Id: I0f1c9b6389ed37cccf6ad9d2a6bf77966043f2da (From meta-tizen rev: 34fe05b1b2c0258c570cf77d05c9ab6ef56fa49d) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: murphy: Prevent running ldconfig if not on systemPhilippe Coval1-14/+14
Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is prefered because of shell's -e option. Change-Id: I2ae3467c0f0e8b5b620d1772774771e3c33774ae (From meta-tizen rev: 759339cc168638291a5e1ab3f82b6b403786907d) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: ail: Prevent running ldconfig if not on systemPhilippe Coval1-2/+3
Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is preferred because of shell's -e option. Change-Id: Ie211954bfb1753a8fa7d450caa653c1e03a9ffff (From meta-tizen rev: 6dddf426bdc822e482ef792cdf5bcc7d82681a5b) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: gumd: Prevent running ldconfig if not on systemPhilippe Coval1-1/+1
Without this change, bitbake tries to run ldconfig on host instead and then complains (but not fail !) about permission issue like : /sbin/ldconfig.real: \ Can't create temporary cache file /etc/ld.so.cache~: \ Permission denied Note, "or condition" is prefered because of shell's -e option. Change-Id: Ie211954bfb1753a8fa7d450caa653c1e03a99d63 (From meta-tizen rev: 0dbe39ac0ee3899efb15608feab593fb4752b88c) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: config-image: Test existance of file/dir before changing itPhilippe Coval1-16/+9
Change-Id: I13178f9adc0e79c2124c2c486fed39ab45a2ffff (From meta-tizen rev: 97c5e4b1aa22df2ce78887ec1e31227e83505219) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-27meta-tizen: pam: fix shell tests on package installPhilippe Coval1-7/+9
Without this change you will may able to create an image with this silent error : | Output from pam-*@*: | /*/rootfs/install/tmp/rpm-tmp.*: 4: [: x$D: unexpected operator | /*/rootfs/install/tmp/rpm-tmp.*: 5: [: -a: unexpected operator Change-Id: Idbdafd3a05309a479d00f50ab0ae62cd28ddffff (From meta-tizen rev: 5fa37bc13d0dc3a96f93dc93f378194826f64e47) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-01-11Automatic commit to update last_revisionPhilippe Coval1-1/+1
Change-Id: I45f585ba64986271cc687e341bac8783b5320051 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-01-11meta-tizen: tiff: Cleanup remove trailing spaces as suggestedPhilippe Coval1-17/+17
Change-Id: I4919fae48f97eae42b1b3ba08d0a665f9bb1a597 (From meta-tizen rev: 42107d289e9c0ab1a33ebe985b094e182dc00e9b) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-01-11meta-tizen: tiff: Keep makefiles in documentation sources treePhilippe Coval1-1/+5
And workaround doc installation. Without autotools will not rebuild package without cleaning it. Change-Id: I7f93d2a7ff3c76db567c1f01f62f2fa9ad76a2d4 (From meta-tizen rev: 8328576084f5f3fe0d531efbdb54f048b1272595) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-01-11meta-tizen: tiff: Fix QA issue by installing dirs one per onePhilippe Coval1-2/+5
This change will work on shells that do not support "expandable path" and will fail to build and report warning message like this: WARNING: QA Issue: tiff: Files/directories were installed but not shipped /{ /{/usr /{/usr/share /{/usr/share/man /{/usr/share/man/{man1,man3},usr /{/usr/share/man/{man1,man3},usr/{bin,lib,include}} [installed-vs-shipped] (From meta-tizen rev: b0c5887dc1e2640aa2dc634e66af0d87949f1989) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Change-Id: I6f5bb17f6631a3466d274dc17eac28f42f9de6e9
2016-01-11meta-tizen: tizen-platform-config: Fix embedded script indentation (IVI)Philippe Coval1-17/+17
Then delimiter will be used, and source file written correctly. Without, bitbake did not fail but raise a warning like this: warning: here-document at line 11 delimited by end-of-file (wanted `ENDOFCAT') Change-Id: I30aa0ddfb6b48807e193bc07960a961d71b5bdbf (From meta-tizen rev: 17c92602c96a6b8472156980d2f428e8d223765d) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-01-11meta-tizen: tizen-platform-config: Fix embedded script indentation (Common)Philippe Coval1-18/+18
Then delimiter will be used, and source file written correctly. Without, bitbake did not fail but raise a warning like this: warning: here-document at line 11 delimited by end-of-file (wanted `ENDOFCAT') Change-Id: I951e01b714c33041f4b0a3c88ad1924a561bbc1d (From meta-tizen rev: 312a51b98c0892638d898e6fa2b46514f020a3d5) Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2015-12-23Automatic commit to update last_revisionwchang kim1-1/+1
Signed-off-by: wchang kim <wchang.kim@samsung.com> Change-Id: Ia26213ed73550debd8b47a266d253d153a27a6e6
2015-12-23meta-tizen: Description:Changing the filelist of nodejs-npm package and etc.wchang kim4-36/+34
Changing the filelist : nodejs_0.12.7.bb Removing the white space : nodejs.service, nodejs_0.12.7.bb Seperating the common recipe : rpi-hwup-image-tizen-micro.bb, target-image-common.bb Signed-off-by: wchang kim <wchang.kim@samsung.com> Change-Id: I1dce8c3dd18bd4b15107688a92dac23d73e2218f (From meta-tizen rev: cd09962e6d636d9c497f0edce9fbcac1082994c4) Signed-off-by: wchang kim <wchang.kim@samsung.com>
2015-12-23Automatic commit to update last_revisionwchang kim1-1/+1
Signed-off-by: wchang kim <wchang.kim@samsung.com> Change-Id: I29383df1f4e49d229068722dff462622c8aac75c
2015-12-23meta-tizen: Description:Adding the v4l2grab utility and wpa_cli package.wchang kim3-6/+26
The recipe of v42lgrab is from 'https://github.com/alext-mkrs/meta-alext-edison/tree/master/recipes-addfeatures'. This utility is used to take a picture via usb camera supported v4l2. wpa_cli is added to tizen micro image. nodejs-npm, openssh-sftp-server and userland are removed from tizen micro image. Change-Id: Ibe109b4f57809abdd637240916295f604f077498 (From meta-tizen rev:6618e9345341c3f70dbb7f2121b6dddc34d6ac51) Signed-off-by: wchang kim <wchang.kim@samsung.com>
2015-12-23meta-tizen: Description:Insatll npm modules into target except npm Adding ↵wchang kim4-3/+120
the npm.class and modifying the recipe of nodejs to install npm modules. Adding the scripts to instert the NODE_PATH to /etc/porfile. Signed-off-by: wchang kim <wchang.kim@samsung.com> Change-Id: I67300339bd3550563ec27503b68a63eedfeeae6e (From meta-tizen rev: b82b23014763f998eb87b8ebb7dd1bf63afb2935) Signed-off-by: wchang kim <wchang.kim@samsung.com>
2015-12-21Automatic commit to update last_revisionLeon Anavi1-1/+1
Change-Id: I6f4d22e331781ba58de3b78326208eef2c7d28ac Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-12-21meta-tizen: Description : Creating and Adding new layer for tizen micro ↵wchang kim13-0/+815
profile base. Tizen micro profile has minimul system , nodejs and nginx. rpi-hwup-image-tizen-micro.bb is the target recipe for raspberry pi2 board. Some files was generated by yocto-layer tool. Some files was copied from meta-openembedded. We are preparing the wiki page how to build and apply the tizen micro image for raspberry pi2 board. Change-Id: I0a76d7852f7a4f54e4f74669985224276150b168 (From meta-tizen rev: 0c5a55fc7f76c165579e6244eee56040a5445729) Signed-off-by: wchang kim <wchang.kim@samsung.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-12-21meta-tizen: alsa-utils_%.bbappend: fix vt102 errorLeon Anavi1-0/+2
Fix "Error opening terminal: vt102" by adding run time dependencies on ncurses and ncurses-terminfo-base. Bug-Tizen: BTY-120 (From meta-tizen rev: 40021de01be3fb0c4766b483a6f15acc13d6232f) Change-Id: Ie75eec87a3eb0c63a28cab42d88f7a19384308fd Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-12-10Automatic commit to update last_revisionLeon Anavi1-1/+1
Change-Id: I7b8cb0422b68d158070b03066aabd2df9f0ef5ed Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-12-10meta-tizen: ofono: use python 2.x in the test scriptsLeon Anavi1-1/+9
Bug-Tizen: BTY-118 Change-Id: Ic85a5bcf71cd57a4c621ac9244f670cc2a3514bc (From meta-tizen rev: 8a02429aa137e5d1d57fada65e4d701b3ca774fb) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-11-23Automatic commit to update last_revisionLeon Anavi1-1/+1
Change-Id: I6b2122ba776411a4b02aac14db021297cd69bf8a
2015-11-23meta-tizen: crosswalk-thirdparty: fix uninitialized variable errorLeon Anavi5-0/+61
Bug-Tizen: BTY-117 Change-Id: Iebe1dcd483d29586f28f70122f7e56d2de2aa764 (From meta-tizen rev: 403739839cea6342f15c4d277f87cfc759766b44) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-11-23meta-tizen: capi-network-nfc: fix uninitialized variable errorLeon Anavi2-0/+14
Bug: BTY-116 Change-Id: Ie1a19cf2cd879c5339396e731035f472086b4a65 (From meta-tizen rev: b8eefa614eeadde5140459ab0c0b7603689ac246) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-11-23meta-tizen: privacy-manager-server: fix uninitialized variable errorLeon Anavi2-0/+14
Bug: BTY-115 Change-Id: Ied040c30ec6212a9b84c5fa9a80d893be11d2118 (From meta-tizen rev: cb19eb87781916603855a7222e83921bdfed1f6c) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-10-21Automatic commit to update last_revisionLeon Anavi1-1/+1
Change-Id: Ifd3c54ae18c1bd1b8a833c926cf66e26307367c5
2015-10-21meta-tizen: Fix ofono recipes: use python 2 instead of 3 in script dial-numberLeon Anavi2-1/+24
Bug: BTY-114 Change-Id: I732d287bf132250c78650cc0704b8ec6e9bdcbe8 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-08-25Automatic commit to update last_revisionMauro Carvalho Chehab1-1/+1
Change-Id: I09cbb6fa3062418a5d95e97a85266cda47fe09f0
2015-08-25meta-tizen: Update LICENSE fields to fix warningsMats Wichmann30-30/+30
Most of the errors were misunderstandings of two rules: - license names have to be single-word; - they are combined using & | (not words) Bug: BTY-113 Change-Id: I31937d74352f71512132c9a03c4c0d91c90ee979 (From meta-tizen rev: fee79219db0773684291f0362bc057f1b304ab5a) Signed-off-by: Mats Wichmann <mats@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26Automatic commit to update last_revisionMauro Carvalho Chehab1-1/+1
Change-Id: I992a99dc70530f10ddf8f172071cd74c023bfd70
2015-07-26bitbake: lib/bb/utils: add safeguard against recursively deleting things we ↵Paul Eggleton2-0/+71
shouldn't Add some very basic safeguard against recursively deleting paths such as / and /home in the event of bugs or user mistakes. Addresses [YOCTO #7620]. (Bitbake master rev: 56cddeb9e1e4d249f84ccd6ef65db245636e38ea) (Bitbake rev: fbf1c39641f78d553961974a2bb96256eb9496e7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: fetch/git: Remove a possible trailing '/' in subpathAnders Darander1-1/+1
If the subpath parameter to the git fetcher ends with a trailing '/', bb.utils.prunedir() will be called on '/'... Fixes [YOCTO #7620]. (Bitbake master rev: 380a3fb372c8b0a53dd7528562e6e7a222dc76ef) (Bitbake rev: faffa1c4a4d8353b21a0d359076153da0dc31a05) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: bitbake: tests/data: add test for incorrect remove behaviourRoss Burton1-0/+7
The _remove operator isn't working correctly when used with a variable that expands to several items, so add a test case to exercise this path. (Bitbake rev: cb2a62a5fbffb358528a85b46c1fc6383286cb9d) (Bitbake rev: ed950f95fc80f069e800e9c6e785641f307e6512) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: bitbake: data_smart: split expanded removal values when handling ↵Ross Burton1-1/+2
_remove Given these assignments: TEST="a b c d" TEST_remove = "b d" TEST evaluates to "a c". However, if the _remove override is given as a variable: TEST="a b c d" FOO = "b d" TEST_remove = "${FOO} TEST evaluates to "a b c d", because when FOO is expanded it isn't split into a list. Solve this by splitting all members of removeactive once they've been expanded. [ YOCTO #7272 ] (Bitbake rev: 207013b6dde82f9654f9be996695c8335b95a288) (Bitbake rev: c25b0e0ca289f6ad0ed697a0b0252fa48ab5dd0b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: data.py: fixes bad substitution when running devshellRichard Tollerton1-0/+1
Running bitbake inside make results in the exported environment variable MAKEOVERRIDES="${-*-command-variables-*-}", which the shell chokes on when trying to expand it. But of course, it probably shouldn't have been trying to expand it in the first place -- so just escape the dollar sign. (Bitbake rev: 18cd0ce6a55c9065c3f1bf223b47d817b5efcd8f) (Bitbake rev: 34226a9e02f319a7547967bbdaca3ca918927dd1) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: cooker/server: Fix up 100% CPU usage at idleRichard Purdie3-1/+7
The recent inotify changes are causing a 100% cpu usage issue in the idle handlers. To avoid this, we update the idle functions to optionally report a float value which is the delay before the function needs to be called again. 1 second is fine for the inotify handler, in reality its more like 0.1s due to the default idle function sleep. This reverts performance regressions of 1.5 minutes on a kernel build and ~5-6 minutes on a image from scratch. (Bitbake rev: 0e0ba408c2dce14a0fabd3fdf61d8465a031495b) (Bitbake rev: 88dfe16b5abd804bae0c1e3b60cb93cb951cbc3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: cooker: read file watches on server idleAlexandru DAMIAN1-7/+23
The inotify facility monitoring changes to the config files could be overwhelmed by massive changes to the watched files while server is running. This patch adds verification the notification watches to the server idle functions, in addition to the cooker updateCache command which executes only infrequently, thus preventing overflowing the notification buffer. [YOCTO #7316] (Bitbake rev: 996e663fd5c254292f44eca46f5fdc95af897f98) (Bitbake rev: b44694b1efc7389536df2f901a8b70321edfeeba) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: cooker: Improve pyinotify performanceRichard Purdie1-1/+4
Benchmarks show that the introduction of pyinotify regressed performance. This patch ensures we only call the add_watch() function for new entries, not ones we've already processed which does improve performance as measured by "time bitbake -p". This doesn't completely remove the overhead but it does substantially reduce it. (Bitbake rev: 493361f35f6cc332d4ea359a2695622c2c91a9c2) (Bitbake rev: f668b347a8f9563f41d454288b9d4632190f308f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-26bitbake: cooker: Further optimise pyinotifyRichard Purdie1-1/+4
We currently add crazy numbers of watches on files. The per user limit is 8192 by default and on a system handling multiple builds, this can be an issue. We don't need to watch all files individually, we can watch the directory containing the file instead. This gives better resource utilisation and better performance further reverting some of the performance regression seen with the introduction of pyinotify. (Bitbake rev: a2d441237916a99405b800c1a3dc39f860100a8c) (Bitbake rev: 6ab3945fc54b2a242292a874d78ebd8cccb99573) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>