summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mklibs-native: avoid failure on symbol provided by applicationYuanjie Huang2015-07-012-0/+103
| | | | | | | | | | | | | | Undefined symbols in a library can be provided by the application that links to the library, such as `logsink' in libmultipath.so.0. This fix checks the type of object in which the symbol is needed and the existence of the symbol in application, when a symbol cannot be provided by libraries. It prevents false alarm on absence of symbols. (From OE-Core rev: 0dbc895c58a1bb81467a20b154e068806278fc83) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unzip: drop 12-cve-2014-9636-test-compr-eb.patchRoy Li2015-07-012-46/+0
| | | | | | | | | | 12-cve-2014-9636-test-compr-eb.patch is same as unzip-6.0_overflow3.diff, is to fix CVE-2014-9636 (From OE-Core rev: 43cc77f6dd1615ec6797a159647a1ad677c1df23) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-native: Specifically undefine other gdbm pathsRichard Purdie2015-07-011-0/+2
| | | | | | | | | There is an outside chance gdbm could be found at these other locations, undefine them along with the other variables for completeness. (From OE-Core rev: c3c9f0f7c9a3746d10d807aadea43d6627ee17c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/bbtests: Show useful failure message for gplv3 testRichard Purdie2015-07-011-1/+1
| | | | | | | | | If this test fails the current output tells us nothing about what happened. Show the exit status and output to aid debugging. (From OE-Core rev: e54437b7e7c5f1b8c33627b3914f896724207837) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/bbtests: Improve error handlingRichard Purdie2015-07-011-4/+4
| | | | | | | | | Currently if a test fails the cleanup isn't performed, leading to cascade failures in other tests. We can do better. (From OE-Core rev: db01d6ba2ce87e1586dc8804dd823a0a038d5794) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdbm 1.8.3: install ndbm.h and dbm.hRobert Yang2015-07-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | There are gdbm 1.8.3 and gdbm 1.11, while 1.8.3 is GPLv2, it should install ndbm.h and dbm.h as what 1.11 does, to make perl build OK when non-gplv3 build. Fixed when perl build: (non-gplv3 buld) | NDBM_File.xs:18:60: fatal error: gdbm/ndbm.h: No such file or directory | # include <gdbm/ndbm.h> /* RedHat compatibility version */ | ^ | compilation terminated. And: | ODBM_File.xs:8:19: fatal error: dbm.h: No such file or directory | # include <dbm.h> | ^ | compilation terminated. (From OE-Core rev: f2abe18d2a3c9c4ff2b6b442bc496fd3b2203598) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: upgrade to 1.0.2cRoy Li2015-07-013-46/+11
| | | | | | | | | | | upgrade to fix the CVE: CVE-2015-1788..CVE-2015-1792 and CVE-2014-8176 remove a backport patch update the c_rehash-compat.patch (From OE-Core rev: 5a70e45b8c6cb0fa7ea4fe1b326ad604508d00cb) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: remove default byteorder from config.shRobert Yang2015-07-011-1/+0
| | | | | | | | | | | | | | Fixed test case: Failed test 146 - single result for config_re('byteorder') at ../lib/Config.t got "2" expected "1" There is a byteorder in config.sh-32/64. (From OE-Core rev: 536e2f71874154e70676ba9902329d0efa24e2c3) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: odbm.t: fix the path of dbmt_common.plRobert Yang2015-07-012-0/+32
| | | | | | | | | | | | It should be ../t/lib/dbmt_common.pl. Fixed: Can't locate ../../t/lib/dbmt_common.pl in @INC (From OE-Core rev: d261f4254b049276c086bc05adb068deb331e1d5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix for ODBM_File.soRobert Yang2015-07-012-0/+36
| | | | | | | | | | | | | | | | Fixed for test case ../ext/ODBM_File/t/odbm.t: ok 1 - use ODBM_File; ok 2 - use Fcntl; ./perl: symbol lookup error: /usr/lib/perl/5.22.0/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit The checking "if -e $_.'/libgdbm_compat.so'" doesn't work when cross build, so always link libgdbm_compat, since perl depends on gdbm and we always have libgdbm_compat. (From OE-Core rev: 942fb460339c9771e40d2e1bc36ac09b0ac39821) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix test case switches.tRobert Yang2015-07-012-0/+31
| | | | | | | | | We call it perl rather than perl5 in oe-core. (From OE-Core rev: 13518a25cbad122be4d3f15dbe87cc5a53ef5b1d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: use perl.inc for target and native perlRobert Yang2015-07-013-24/+15
| | | | | | | | | It can reduce the duplicated code. (From OE-Core rev: c27bb63d7ea6487f065cb56dca952b510650288c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpan_build.bbclass: remove libmodule-build-perlRobert Yang2015-07-011-16/+0
| | | | | | | | | There is no such a package in perl 5.22.0. (From OE-Core rev: 80afd9650328de2eb17ba0e104ee2c76a7fb983e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: 5.20.0 -> 5.22.0Robert Yang2015-07-0181-955/+1596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove: - perl-5.14.3-fix-CVE-2010-4777.patch: backport - fix-FF_MORE-crash.patch: backport - perl-rprovides.inc: it was introduced by 5.8.7, the lines in it are like: RPROVIDES_perl-module-b-asmdata = "perl-module-${TARGET_SYS}-b-asmdata" If some packages do RPDEND on something like perl-module-${TARGET_SYS}-b-asmdatam, we need update the package rather than keep use RPROVIDES in perl-rprovides.inc, so remove it. - perl-rprovides_5.20.0.inc: it only has one line: RPROVIDES_perl-module-module-build, but the perl-module-module-build is gone in 5.22.0, so remove it. * Update: - debian patches from http://ftp.de.debian.org/debian/pool/main/p/perl/perl_5.20.0-1.debian.tar.xz - Makefile.SH.patch - Merge 0001-Makefile.SH-fix-do_install-failed.patch into Makefile.SH.patch - native-nopacklist.patch - config.sh * The CGI.pm and Module::Build disappear from core, so no perl-module-module-build.rpm any more, more info: http://perltricks.com/article/165/2015/4/10/A-preview-of-Perl-5-22 (From OE-Core rev: 06d43a90acbe63baea62d220659149a3ff2f9198) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: upgrade to 7.43.0Chen Qi2015-07-011-2/+2
| | | | | | | (From OE-Core rev: eb54c29d0566e01c287bdccbdb26c188aac66033) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysstat: upgrade to 11.1.5Chen Qi2015-07-012-6/+7
| | | | | | | (From OE-Core rev: 2fa7214ddf4a9548ec954181f951fbfcc197a83b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mmc-utils: fix the building failure when DEBUG_BUILD is 1Roy Li2015-07-011-0/+4
| | | | | | | | | | | | Remove -Werror, since it is suitable to develop only; otherwise when gcc adds -O0 option to compile codes, the error will be generated since the warning: //# warning _FORTIFY_SOURCE requires compiling with optimization (-O) (From OE-Core rev: 11d31170fa955a5a1293455ba24d5e3a88dc69af) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: 5.22 -> 5.23Robert Yang2015-07-012-6/+6
| | | | | | | | | Updated 0001-Add-P-prompt-into-Usage-info.patch. (From OE-Core rev: 91db51363b3cf78a7b908ea4a548ab9658150661) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: 2.1.4 -> 2.1.5Robert Yang2015-07-011-2/+2
| | | | | | | (From OE-Core rev: 742e0fa636d4792d1fad088bed3c194fb4374e91) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hdparm: 9.45 -> 9.48Robert Yang2015-07-011-3/+3
| | | | | | | (From OE-Core rev: a5500f348fa58962cbd4a36c154d311c71bc7233) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: 2.4.2 -> 2.4.4Robert Yang2015-07-012-11/+11
| | | | | | | (From OE-Core rev: a424bf82cdfaf1063d010f699f74ec5dd322bf41) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: 0.161 -> 0.162Robert Yang2015-07-0117-248/+152
| | | | | | | | | | | | | * Remove backport patch 0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch. * Update: - arm_func_value.patch - fixheadercheck.patch - redhat-portability.diff (From OE-Core rev: dcb26f21cfd9d91e9b4d78875b934ab942d877a5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: codeparser: Add repr() methodsRichard Purdie2015-06-271-0/+5
| | | | | | | | | These aid when debugging parts of the codeparser cache since the object contents becomes identifiable. (Bitbake rev: 344b098c7eafc2bcc5c6b44ea47985bc0cb446b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: codeparser: Allow empty functionsRichard Purdie2015-06-271-0/+3
| | | | | | | | | | | | | | | | | The main parser and other code copes with empty python functions but the python codeparser does not. Fix this to avoid errors with code like: python do_build () { } which currently results in the obtuse: "Failure expanding variable do_build: IndexError: string index out of range" [YOCTO #7829] (Bitbake rev: e4f594c670189e04d58ce7d160fc1d86123620af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: fetch2/hg.py: fix unpack error and mirror tarballRobert Yang2015-06-271-13/+66
| | | | | | | | | | | | | | | | | | Fixed: * do_unpack error: abort: repository DL_DIR/hg/vim.googlecode.com/hg/vim not found! * The mirror tarball doesn't work - Add the build_mirror_data to create the tarball - Unpack the mirror tarball when needed * The hg files will put in the dir like git: DL_DIR/hg, it was DL_DIR/hg/path/to/src/uri/path in the past. (Bitbake rev: 378647281ae883dd726f1e1b775dd35ef6a0e8d1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch/perforce: Fix single file checkoutsRichard Purdie2015-06-271-1/+1
| | | | | | | | | | | Fetching directories with p4 worked but single files did not. This patch from Helmut Auer (helmut.auer@harman.com) fixes that issue. [YOCTO #7891] (Bitbake rev: 39da6579901c62a83ed9319c2016c58fbbc108fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/parselogs: Whitelist qemumips64 runtime errorRichard Purdie2015-06-271-0/+3
| | | | | | | | | Similarly to qemumips, ignore these errors upon bootup so that we have a good QA baseline for new errors. (From OE-Core rev: 592a1d94a7b0e80059016adb59c4c61e256206f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage: Don't test xorg/vnc on qemuarm64Richard Purdie2015-06-271-0/+4
| | | | | | | | | | | The qemuarm64 machine doesn't have graphics so don't test xorg/vnc as they won't work. [YOCTO #7103] (From OE-Core rev: 27d17c662aa103dc728f14e78cac772546a9e5dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/parselogs: Whitelist qemuarm64 runtime errorsRichard Purdie2015-06-271-0/+4
| | | | | | | | | The qemuarm64 machine doesn't have graphics so whitelist the X server failures to start. (From OE-Core rev: 4e1b7773e480a05ac791fcceca23889ef9919aa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/recipetool: Fix symlink resolutionRichard Purdie2015-06-271-1/+1
| | | | | | | | | | Instead of readlink we need to use realpath to resolve any possible symlink in the file name. I'd got the two confused in the previous patch. This should really fix selftest failures on the autobuilder. (From OE-Core rev: 878764ab7252f9b5b67b697dcd51b961b673fda0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad.inc: remove duplicate bzip2 dependencyAndre McCurdy2015-06-271-2/+2
| | | | | | | | | | | | Dependency on bzip2 is handled by the bz2 PACKAGECONFIG option, so bzip2 does not need to be included in DEPENDS. Also fix minor indent issue with bluez PACKAGECONFIG option. (From OE-Core rev: 4ad19f0c570de890ec53bf2d5c1bd6697f035612) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Update to 4.0.4Randy MacLeod2015-06-278-1164/+4
| | | | | | | | | | Update tiff to latest version. None of the local CVE patches are needed based on reviewing the ChangeLog so remove them. (From OE-Core rev: 5c5d7c2ab0d32faca43ba360d5d42ecd2822c730) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: Fix subversion-native on Fedora22Richard Purdie2015-06-271-0/+1
| | | | | | | | | | | | Similarly to: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9b19d6548a345009a6de79a6820c07a72054d961 we also need to fix the subversion-native case with gcc5 by using the same fix to the BUILD_CPPFLAGS. (From OE-Core rev: a5e7a1e597e7bbe3bbc547f43a89d00a8a9a9924) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/parselogs: Fixed a problem in parselogsLucian Musat2015-06-271-2/+3
| | | | | | | | | | | | When the test passed it returned an error because grep did not return any error and the variable that held the results was being referenced but not assigned any value. (From OE-Core rev: 0f5c2fb975010cf6e8154384b764a2c9da1b371e) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quota: fix quota do_install errorsRoy Li2015-06-271-1/+1
| | | | | | | | | | ROOTDIR should be defined, otherwise man files will be installed to host root dir. (From OE-Core rev: 72430a8db44eaab2704c0d828171d3c98a48fe2a) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to 21Chen Qi2015-06-271-2/+6
| | | | | | | | | | Upgrade kmod to 21. Fix cross compilation problem. (From OE-Core rev: 120983cea780b04a40320b810746ce102cb4cedf) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool: add appendsrcfile(s) sub-commandsChristopher Larson2015-06-271-6/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the `appendsrcfile` and `appendsrcfiles` sub-commands, which let the user add or replace one or more files in the recipe sources, either in a path relative to `S` or `WORKDIR`. Each file gets added to `SRC_URI` as a file:// URI, using the subdir= parameter to specify the destination directory. Examples: # Adds our defconfig as file://defconfig. If it's already in SRC_URI, it # won't be duplicated. recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig recipetool appendsrcfiles --workdir meta-mylayer linux-mel defconfig # Does the same, handling the different local filename recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig.mine defconfig # Adds our device tree files to the source tree recipetool appendsrcfiles --destdir arch/arm/boot/dts meta-mylayer linux-mel *.dts Of course, for the latter example to be of use, the new dts files would need to be added to `KERNEL_DEVICETREE` as well, and depending on the kernel, `DEFCONFIG` or `KERNEL_DEFCONFIG` may need to be set. Cc: Paul Eggleton <paul.eggleton@linux.intel.com> (From OE-Core rev: 8227172d05fb394d79ff83d3c36f5208ebebf92c) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool.append: use argparse types for validationChristopher Larson2015-06-271-20/+25
| | | | | | | | | | | This validates the arguments early, when argparse is parsing the arguments, in a consistent way. Cc: Paul Eggleton <paul.eggleton@linux.intel.com> (From OE-Core rev: bec92899f5324a4423b4ee70365eaa5dfb6891a6) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe.recipeutils: fix line.split error in bbappend_recipeChristopher Larson2015-06-271-1/+1
| | | | | | | | Cc: Paul Eggleton <paul.eggleton@linux.intel.com> (From OE-Core rev: 8d18c2e71b0fcb047831a67d93f4b489aff1b77d) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory.bbclass: Create a files-in-<pkg>.txt containg recipe's pkg filesLeonardo Sandoval2015-06-271-0/+13
| | | | | | | | | | | | | | | | | A file similar (in format) to files-in-image.txt is created for each recipe's build package. This would allow to easily see what the recipe's package may install when including it into an image. These files reside on the specific buildhistory recipe package (i.e. buildhistory/packages/i586-poky-linux/busybox/busybox-dev/files-in-busybox-dev.txt for busybox-dev package) [YOCTO #5870] (From OE-Core rev: e013fe79cdf67429ff986d8ee6af510b34b31c9d) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-vesa: Upgrade 2.3.3 -> 2.3.4Jussi Kukkonen2015-06-271-2/+2
| | | | | | | (From OE-Core rev: b37d9b3c728ab2b532f57a9e1b081355dba15747) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-xserver: Upgrade 1.17.1 -> 1.17.2Jussi Kukkonen2015-06-276-192/+3
| | | | | | | | | | | | | | | Fixes CVE-2015-3164 in Xwayland. Remove unnecessary patches: * fix_open_max_preprocessor_error.patch is no longer needed: OPEN_MAX is defined in every case now * xorg-CVE-2013-6424.patch was handled in pixman several releases ago * other removed patches are included in 1.17.2 (From OE-Core rev: 1d35231d666baee9ac4aaeb482371f3c71998c76) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 10.5.6 -> 10.5.8Jussi Kukkonen2015-06-272-2/+2
| | | | | | | (From OE-Core rev: 8c61da2223a113381d57688e540fab2287244cca) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* freetype: Upgrade 2.5.5 -> 2.6Jussi Kukkonen2015-06-271-2/+2
| | | | | | | (From OE-Core rev: ac66e7de122b5e6a8771bf17c29de34932665cc1) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base.bbclass: use pbzip2 to compress SDK tarfilesAndre McCurdy2015-06-271-3/+3
| | | | | | | (From OE-Core rev: 670f5cda06070ae888d17cca7a07aa74d751c2f7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: use pbzip2 for images requiring bz2 compressionAndre McCurdy2015-06-271-2/+2
| | | | | | | (From OE-Core rev: b269fbe6585df97d02211dc5711e88833365e572) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pbzip2: Fix native dependency on bzip2-nativeRichard Purdie2015-06-271-0/+1
| | | | | | | | | | | | | bzip2-native is in ASSUME_PROVIDED but we don't just want "bzip2" but libbz2 here. To do this, we need to DEPEND on bzip2-replacement-native which hints to bitbake we really do want to build it. Add the missing dependency to avoid failures on machines which don't have libbz2-dev installed. (From OE-Core rev: a87b7172a99051c2ea61bcfae60e922b58333291) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pbzip2: add initial recipe, pbzip2 v1.1.12Andre McCurdy2015-06-271-0/+27
| | | | | | | (From OE-Core rev: c8c890d1cee8cd8426f8db13b1d36c36da03d66d) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts: Fix ipk package management detectionAníbal Limón2015-06-271-1/+4
| | | | | | | | | | run-postinsts always mark ipk package management as true, causing problems when try to execute opkg-cl and isn't present. (From OE-Core rev: 84dcc8dded5761e24e09dbcc822445ce3dd69497) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/rootfs.py: DpkgRootfs/OpkgRootfs add support for dependency handling in ↵Aníbal Limón2015-06-271-55/+101
| | | | | | | | | | | | | | | | | | | | | postinsts scripts. The old code don't take into account package dependencies causing undefined execution order in postinsts scripts, in order to fix: Add DpkgOpkgRootfs class for store common operations in DpkgRootfs and OpkgRootfs. Add _get_delayed_postinsts_common method that process Depends from status file in dpkg/opkg and resolve dependency order causing an execption if found circular dependencies. [YOCTO #5318] (From OE-Core rev: ed52d1040ee8be0bfa080d5679c583b1012bb575) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>