summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gcc-cross.inc: Fix cross testing scripts to work with dashKhem Raj2012-03-041-2/+2
| | | | | | | | | dash does not like >& so be explicit and say 2>&1 (From OE-Core rev: 1d262630853e65be9167d904b934b581acf64182) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-testing: Fix testing script to work well with dashKhem Raj2012-03-041-1/+1
| | | | | | | | | Dash did not like >& so we do 2 >& 1 > /dev/null (From OE-Core rev: 06c783e2d6f4e3b316b230565b28d9e4c535c31b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: fix breakage during rebuildSteve Sakoman2012-03-022-2/+2
| | | | | | | | | | | | | | | | | | | | | Install phase currently edits files in $S with sed. This causes breakage if install is run a second time (due to sstate hash rebuild for example) The result is hidden build breakage, in particular /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service now contains: Exec=/usr/usr/sbin/wpa_supplicant -u rather than: Exec=/usr/sbin/wpa_supplicant -u This patch does the sed edit after the files are copied to $D, which should be safe. (From OE-Core rev: 857840472705af1c0fbb8db917b4bb6809b929a6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Ensure duplicate compressed types aren't createdRichard Purdie2012-03-021-1/+2
| | | | | | | | | This allows IMAGE_FSTYPES = "tar.bz2 tar.bz2" to work (and now is faster since it will only do it once). (From OE-Core rev: b24d4bcde21b013e48eaffea5f3a70d8b1df1047) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: We need to preserve order in the types variable and ↵Richard Purdie2012-03-021-4/+8
| | | | | | | | avoid set() (From OE-Core rev: c547169f7dfe043affc2ddc5ae0a9091379df6de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: If unpacking again, wipe out ${S}/patchesRichard Purdie2012-03-021-0/+1
| | | | | | | | | | | | | | | If we unpack again, its assumed the data in any patches directory is invalid since do_patch will run again. This ensures old patch data doesn't get reused in a confused way. Ideally we should probably wipe out ${S} here but that is probably a change for another time. [YOCTO #2043 partially] (From OE-Core rev: 5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/patch.py: Fix and improve PatchTree() resolver logicRichard Purdie2012-03-021-12/+53
| | | | | | | | | | | | | | | | | | | | | | | | Currently, if PATCHRESOLVE is user and and PatchTree() is being used, you can get backtraces if patch application fails. This is because even in the failure case, self._current is incremented, meaning second time around, there are array range issues. This patch changes the code so _current is only incremented upon successful patch application, thereby resolving this failure. Secondly, if you bitbake -c patch -f a recipe using PatchTree(), the clean method was unimplemented leading to patch failures. The other part of this patch changes the logic so a series file and set of applied patches are maintained in a quilt like fashion. This means a the Clean method can be implemented correctly and rerunning the patch task of an existing patches source now works reliably. [YOCTO #2043 partially] (From OE-Core rev: f0fc47aea37793a62c43f10eea27ca014c420924) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: make pulseaudio support conditional upon DISTRO_FEATURESPaul Eggleton2012-03-026-1/+95
| | | | | | | | | | | | | | Add a pulseaudio DISTRO_FEATURES item and disable pulseaudio support in phonon within Qt4 if it is not present; otherwise it is a race condition as to whether it is enabled or disabled or breaks the build. Note that this adds pulseaudio to DISTRO_FEATURES_BACKFILL thus leaving existing distro configurations unaffected. (From OE-Core rev: b82c216c1ee8e2a009e87856b7adad08f7f50482) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stderr would previously be appended to stdout, corrupting the result when ↵Adrien Bustany2012-03-021-23/+17
| | | | | | | | | something was outputed to stderr but exit code was still 0 (non-fatal warning messages). This commit makes the code parse only stdout, but output stderr if an error happened. (Bitbake rev: 4a480a052f450c4ee061ab0e60a495a45f140cf9) Signed-off-by: Adrien Bustany <adrien.bustany@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/bitbake-prserv: Set file mode bits "x".Lianhao Lu2012-03-021-0/+0
| | | | | | | [YOCTO #2051] Set 'x' bit to make bitbake-prserv executable. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Create the volatiles cache atomically.James Limbouris2012-03-022-5/+7
| | | | | | | | | | | If a machine loses power while building the volatiles cache, it will continue to operate with an incomplete set of volatiles. Fix this by updating atomically. (From OE-Core rev: a60432ff4588390f5f955a6da234298e958546e6) Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to v3.2.8Bruce Ashfield2012-03-022-10/+10
| | | | | | | | | | 3.2.8 was released and contains a floating point fix for x86 32 bit and some x86-64 fixes. So it's worth picking up right away. (From OE-Core rev: 8bd3038b62eaf46f9ac09fcdc1ca5e6f6e53a126) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: add pvr feature descriptionBruce Ashfield2012-03-025-5/+5
| | | | | | | | | | | Updating the 3.0 and 3.2 kernel SRCREVS to make the PVR feature description available to machines with the appropriate hardware. (From OE-Core rev: 0027bb45a40d209f43088e2c2b38191446ea1190) Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: make kernel_checkout reentrantBruce Ashfield2012-03-021-13/+20
| | | | | | | | | | | | | | | The steps in do_kernel_checkout modify the source tree in WORKDIR. If it is called multiple times, or interrupted, the tree is left in an inconsistent state. This change adds protections around branch names, and around the manipulations of directories to ensure that it is safe to call at any point. (From OE-Core rev: f937977f241e786c5a7438449ed4c9da4c55829b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.4Scott Garman2012-03-022-5/+6
| | | | | | | | | | | | | | | | | | | During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced with a non-recursive BSD-licensed version, hence the removal of UCB and addition of BSD in the LICENSE field. This led to checksum changes in the doc/LICENSE file, and we now additionally track the comment headers in redblack.c. These changes were confirmed on the sudo mailing list: http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html This upgrade also fixes CVE-2012-0809. (From OE-Core rev: 7147a569758414467c9d022e4c11fbc303e050aa) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Ensure dependencies for compression types containing multiple ↵Richard Purdie2012-03-021-1/+1
| | | | | | | | | | dots are handled correctly This ensures dependencies for image types like ext2.gz.u-boot are handled correctly. (From OE-Core rev: d94cb18f7f17a492c7a948337d7d2d1d0785573f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* V2 Fix libpam's chmodRobert Yang2012-03-021-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The libpam's has an error when generating the rootfs: chmod: cannot access `/usr/sbin/unix_chkpwd': No such file or directory This is because the following code in libpam_1.1.5.bb: pkg_postinst_pam-plugin-unix () { # below is necessary to allow unix_chkpwd get user info from shadow file # on lsb images chmod 4755 ${sbindir}/unix_chkpwd } This is to set the setuid permission for unix_chkpwd (the lsb test requires this), but it lacks a "${D}", and we can do this in the install stage. [YOCTO #2049] (From OE-Core rev: 0725c7f01b173b1cc2090f4a03a274c7017b8a1a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-git-proxy-socks-command: Add fallback to use ncRichard Purdie2012-03-021-5/+11
| | | | | | | | | If our own proxy command isn't available for some reason and nc is available, fall back to use it. (From OE-Core rev: aaab6ae94258277dcd2f29823a64689e6245fa7a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-git-proxy-socks-command: Improve error fallback/handlingRichard Purdie2012-03-021-0/+15
| | | | | | | | | | | | | If oe-git-proxy-socks isn't available, try and create it. If that fails, tell the user there is a problem, don't just fail to find the command. [YOCTO #2007] (From OE-Core rev: 46c675d85603d7a573bc59638ce615aba9fd7df2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Restore 'date' compatabilityGary Thomas2012-03-012-2/+2
| | | | | | | | | | | Restore CONFIG_FEATURE_DATE_COMPAT so that all versions of 'date', whether from busybox or coreutils, agree on the format when setting the date from the command line. (From OE-Core rev: 5506cc481b7afd9a30af53e8966bcbe2ff67b6d0) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Properly format date when set from timestampGary Thomas2012-03-012-2/+2
| | | | | | | | | Reformat date, as stored in /etc/timestamp, to match CLI format. (From OE-Core rev: 7aa4c51089cc4a2811bd11842647839d1e4b1e95) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: Fix build errors due to missing prototypesKhem Raj2012-03-012-2/+26
| | | | | | | | | | | g++ really does not like the missing prototypes here we were missing close() and read() so include unistd.h to get them (From OE-Core rev: f32b30ef4711fe602a11549f77be06a0eef2fc0d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site.conf.sample: Fix broken SOCKS proxy setup and configurationInaky Perez-Gonzalez2012-03-012-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOCKS proxy specification with git was using conflicting methods and thus was failing when mixed SOCKS needs were in place (requiring no proxy for some hosts and proxy for the rest) - GIT_PROXY_COMMAND is an environment variable GIT uses to OVERRIDE all proxy configuration in ~/.gitconfig or any other gitconfig. By using it to configure, it was breaking havoc on site git configuration or the one generated by bitbake in tmp/. Renamed to OE_GIT_PROXY_COMMAND in meta/conf/site.conf.sample (with a doc tidbit on the name chosen), meta/classes/base.bbclass. - The gitconfig generated by bitbake was wrong. There was a typo error (gitproxy vs gitProxy), thus all lines were being ignored. Fixed in meta/classes/base.bbclass. - The gitconfig generated was being placed in ${STAGING_DIR_NATIVE}/usr/etc/gitconfig; git was looking for it in ${STAGING_DIR_NATIVE}/etc/gitconfig. Fixed that in meta/classes/base.bbclass, at the same time creating a GIT_CONFIG_PATH variable, since it is also referenced in generate_git_config() and have all instances refer to that. (From OE-Core rev: e579eb7f33462258c8e82a0936d970593614840d) Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* externalsrc.bbclass: Add class for handling external source treesRichard Purdie2012-03-011-0/+53
| | | | | | | | | This is loosly based upon srctree.bbclass from OE-Classic but with some changes appropriate to OE-Core. (From OE-Core rev: bdb341953ba7d8299cba4d49d857107fb7b01e5b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts: Exclude variables causing the recipe to become ↵Richard Purdie2012-03-011-0/+3
| | | | | | | | | | | | | | | unecessarily machine specific basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d to /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d Variable TIME value changed from 084543 to 085638 (From OE-Core rev: 9a7895b24c09e347e3d708107fb24b9e42b1d9c5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix build when NLS is disabledKhem Raj2012-03-012-2/+27
| | | | | | | | | | AC_CHECK_DECLS generated defines should be checked with #if not #ifdef (From OE-Core rev: 14b86a350d07b0da550a7a39886a660210918fbf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking: Upgrade and Manual ChecksSaul Wold2012-03-011-9/+10
| | | | | | | (From OE-Core rev: 983c1264e93d19bc9e605633f224c73e961912ae) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix removal of lscpu for non-GPLv3 BuildSaul Wold2012-03-012-15/+30
| | | | | | | (From OE-Core rev: 998abea2748c6c7e0873ffd382b2bb2fd233c3f1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixman: updat to 0.24.4Saul Wold2012-03-011-4/+2
| | | | | | | (From OE-Core rev: de046e430cf2954ae83dea7e27cb1da5d5ab59d3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glproto: Update to 1.4.15Saul Wold2012-03-011-2/+2
| | | | | | | (From OE-Core rev: 90e72f89757e0fcb9dafa0a87220704e8a4d32f2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hdparm: update to 9.39Saul Wold2012-03-011-2/+3
| | | | | | | (From OE-Core rev: c81b2241181e373cf07126b80537f2e4d13217df) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: fix QA WarningsSaul Wold2012-03-011-2/+1
| | | | | | | | | WARNING: For recipe netbase, the following files/directories were installed but not shipped in any package: WARNING: /usr/sbin (From OE-Core rev: 64f3a58026909b4462e8e1a3e2ccabdf9bdb4468) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: remove empty directories to clean QA WarningsSaul Wold2012-03-011-2/+4
| | | | | | | | | | WARNING: For recipe perl, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/perl/site_perl WARNING: /usr/lib/perl/site_perl/5.14.2 (From OE-Core rev: 2bda13df6feee87ea6fcecdce96fb5234cfa5674) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11-trim: Drop obsolete 1.3.4 versionRichard Purdie2012-03-015-131/+0
| | | | | | (From OE-Core rev: 6cb72d5f008c6cbf4960d9dc260b82a056042b0f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: Create a VMDK image with correct SYSLINUX_* settingsSaul Wold2012-03-011-2/+14
| | | | | | | (From OE-Core rev: 1a3bd2ae195d515fe2c93bc178b45cce8505d831) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-vmdk: Create image_vmdk class and setup image and image_types to use itSaul Wold2012-03-013-8/+35
| | | | | | | | | | | | | | This creates a new image_vmdk class similar to live. The image_vmdk class needs to have a hddimg created by the image-live class, so it inherits it directly. The changes to image_types is to ensure that both live and vmdk images get the ext3 tools and dependencies. (From OE-Core rev: aa961e112b07d42c272e01f2d69f3c139e9ae70f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11-trim/diet: Add RPROVIDES for libx11-devRichard Purdie2012-03-012-1/+3
| | | | | | | | | | We have things that depend on libx11-dev, this patch ensures the -trim and -diet versions provide it. This resolves some multiple providers warnings. (From OE-Core rev: c051d6c59c71a5f90c2d545491facd2d131592fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-live: Allow LABELS to be modifiedSaul Wold2012-03-011-2/+3
| | | | | | | | | This is to allow other image types to set the syslinux labels (From OE-Core rev: 825e5a552bbaa215c55da4425e78df3c2f1cddaf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers-yocto: bump to v3.2.8Bruce Ashfield2012-03-011-10/+19
| | | | | | | | | | | | | | | | Making two changes for BSPs that prefer linux-libc-headers-yocto: - bumping to v3.2.8 headers - stubbing out unecessary linux-yocto functions when headers are being built [YOCTO #2032] Acked-by: Darren Hart <dvhart@linux.intel.com> (From OE-Core rev: 0889f693916bb8f77003af419f71212201b4d9c9) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/build: report TaskFailedSilent events as "Failed"Paul Eggleton2012-03-011-1/+8
| | | | | | | | | | | | The change for setscene events to fire a TaskFailedSilent event instead of TaskFailed resulted in "FailedSilent" being reported in the task finish note log entry, which is not really desirable, so change it back to reporting "Failed" again. (Bitbake rev: 224bc74d4e901b7886b845fbb3b5fe7564a2f6cb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/uihelper: restore line to record failed normal tasksPaul Eggleton2012-03-011-1/+6
| | | | | | | | | | | Save failed real (non-setscene) tasks to uihelper's failed task list. as before commit e8a3499c95a6d4f2b8fed002fb9504733c5be3c6. Currently this list is only used by the ncurses UI. (Bitbake rev: cc74cad0742ea0d4e09e843883cdc55bad39b22e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/runqueue: fix python error on scenequeue task failurePaul Eggleton2012-03-011-2/+1
| | | | | | | | | | | | Fixes a regression introduced in commit e8a3499c95a6d4f2b8fed002fb9504733c5be3c6 which resulted in a backtrace on setscene task failure due to trying to dereference the setscene task ID twice. (Bitbake rev: 8b846a92a58b5c20d7cfd2efd32b763e95c3c2fd) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqueue.py: initialize rqexe at RunQueue's init functionDongxiao Xu2012-03-011-0/+5
| | | | | | | | | | | | | | | | Sometimes user stops the build before runqueue is established, for example, at the stage of running add_unresolved() function. This will cause RunQueue to use rqexe field in finish_runqeue() before initialized. This will cause endless print of "Running idle function" if use process server. This commit initialize rqexe variable in RunQueue's init function, and add a judgement in finish_runqueue(). (Bitbake rev: 59f817723172092a87738c79f555e605f55ea375) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix pressing "stop" buildDongxiao Xu2012-03-011-5/+13
| | | | | | | | | | This commit fixes the behavior of clicking stop build button, it will stay in the build detail screen and show build is failed. (Bitbake rev: 80291865fa15012a3734e8724eb73c62b4ddc62f) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob(crumbs/builder.py): adjust the main window's position and ignore the ↵Shane Wang2012-03-011-8/+0
| | | | | | | | | | | | case lower than 1024x768. * don't set the position of the main window to the center always * don't show the message to users if their screen dimensions are lower than 1024x768 (Bitbake rev: 1afa500cb1cb5c10fc0a3ea0f65c7ecc8887efa8) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix a bug that the image size is shown incorrectly in the image details ↵Shane Wang2012-03-012-9/+25
| | | | | | | | | | | | page. Originally, the image size shows the last item in the image tree view in the image details page. That is not correct. We need to show the size of the image which the user chooses. (Bitbake rev: 01c18a24252b35959a4cc01088678f93cb2f95e5) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob(crumbs/hoblistmodel.py): Add mapping for rprovides and pkgDongxiao Xu2012-03-011-3/+12
| | | | | | | | | | | When checking the package's RDEPENDS information, we will see some case like A RDEPENDS virtual-b, and B RPROVIDES virtual-b, we need to reflect this relationship in packaging selection. (Bitbake rev: 44562593556e67d7976a124d5a420938aff95e0c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob(crumbs/hoblistmodel.py): Fix recipe's populate() functionDongxiao Xu2012-03-011-37/+5
| | | | | | | | | | According to the cooker's change, this commit fixes the way to getting recipe's build dependency. (Bitbake rev: da64e59f2e738d6103605139ba2d3e2cdaa35b11) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cooker: fix calculating of depends and rdependsDongxiao Xu2012-03-011-35/+10
| | | | | | | | | | | | | | | | | Remove part of the original logic that stores pkg dependency and pkg recomends, which will not be used in Hob. Add the judgement for preferred fn provider of a certain package, which maps package name to its providing recipe name. The above approaches correct the build dependency calculation, and they also reduced the total depend_tree size, which speed up the tree data generation time. (Bitbake rev: d668eb1300b3b3115964e98127b1bef554caae17) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cooker.py: Fix a bug due to variable nameDongxiao Xu2012-03-011-2/+2
| | | | | | | | | | fnid is an outer variable and shouldn't be overrided, change the inner variable name from 'fnid' to 'id'. (Bitbake rev: c6dc8d6310af22c95adb06c64339e7ec9eaeb315) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>