summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* gdb-cross-canadian: Depend on nativesdk-python3-importlibGeorge McCollister2016-12-081-1/+2
| | | | | | | | | | | | | | | | Add missing dependency on nativesdk-python3-importlib so the imp Python module is installed. Before this patch, running gdb from the sdk would give the following error: Python Exception <class 'ImportError'> No module named 'imp': (From OE-Core rev: ad00a31fbe93e073a2d83616efcd08c5a7ef37c9) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3.5-manifest: Add imp to importlibGeorge McCollister2016-12-081-1/+1
| | | | | | | | | | | | The imp python module is the forerunner of importlib. Include imp in the importlib subpackage instead of the misc subpackage so that it can be depended on without bringing in a bunch of unrelated, unused modules. (From OE-Core rev: 512334f102a33833d39af53467894315f0715d07) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager: remove strings and migrate to direct arraysStephano Cetola2016-12-082-125/+121
| | | | | | | | | | | | | | When using subprocess call and check_output, it is better to use arrays rather than strings when possible to avoid whitespace and quoting problems. [ YOCTO #9342 ] (From OE-Core rev: b12cec9a5ef14ecb02be7feec65508cf5d65c795) Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: Add SH4 musl mapping to the QA arch testsVladimir Zapolskiy2016-12-081-0/+1
| | | | | | | | | | | | | | This change allows to pass QA for packages built with sh4-oe-linux-musl toolchain, the problem is reproted while building core-image-minimal target: ERROR: readline-7.0-r0 do_package_qa: Error executing a python function in exec_python_func() autogenerated (From OE-Core rev: dff25cb16ffca0876e5a747644bd6223129df402) Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liburi-perl: update to 1.71Andreas Müller2016-12-081-4/+5
| | | | | | | | | | | | | | | | Old version was broken by perl update. It was found by investigating configure errors in meta-qt5-extra/kf5: | [superandy@mueller-a-nb-linux 5.28.0-r0]$ /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin/perl-native/perl -e "use URI::Escape" | \C no longer supported in regex; marked by <-- HERE in m/(\ <-- HERE C)/ at /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/perl-native/perl/vendor_perl/5.24.0/URI/Escape.pm line 205. | Compilation failed in require at -e line 1. | BEGIN failed--compilation aborted at -e line 1. (From OE-Core rev: 0c2afb0f38a23d4f1540887b125914c9dde16dae) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: update to 2.4.74Andreas Müller2016-12-081-2/+2
| | | | | | | | (From OE-Core rev: ef15a91b1723a4481d95e9c5bb946507dfa9d378) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts: Print message before running deferred postinst scriptsHaris Okanovic2016-12-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | Opkg can defer running postinst scripts to first boot, which can take a while on some systems. The output of `opkg configure` (or whatever pm is used) is redirected to a file when logging is enabled (I.e. $POSTINST_LOGGING == 1), making the machine appear hung during this process. This change simply prints a wait message on the console to inform the user of this potentially long and silent operation so that they do not mistakenly reboot their machine. Why not simply `tee` the output instead? Tee might be provided by BusyBox in some distros, which may need to run update-alternatives in the very postinst scripts being executed by this process. It's therefore not safe to assume Tee (or any other packaged util) is available until the configure process finishes. (From OE-Core rev: 3f8f1d8e4b129e5dfdd63d450887320aa0e33228) Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Update to v2016.11 releaseMarek Vasut2016-12-084-2/+2
| | | | | | | | | | | | Upgrade U-Boot to the latest version. (From OE-Core rev: 34f1d3824fd45cd0bb28b3cbc33907cfd885f841) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Denys Dmytriyenko <denis@denix.org> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: mkimage: Fix build of u-boot-mkimageMarek Vasut2016-12-081-1/+9
| | | | | | | | | | | | | | | | | | | The build failed in multiple configurations. First, the native and nativesdk was using the host compiler and was pulling host libraries into the build. Second, the target configuration was attempting to execute tools/bin2header tool on host, which is compiled for target, to generate license header file that is not used by tools. This patch changes the EXTRA_OEMAKE to address these issues, to build both native and target builds with the correct compilers and correct sysroots. Moreover, this patch removes the CONFIG_CMD_LICENSE from tools build, thus disabling the execution of target tools/bin2header. (From OE-Core rev: c2980c1d2fe127d56d4c1b797df5a1047d0e2db0) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Update to 2016.09.01 releaseMarek Vasut2016-12-084-5/+3
| | | | | | | | | | | Upgrade U-Boot to the latest version. (From OE-Core rev: 7f5f8bec25bc05acb7b6584e41e1067107b216dc) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: sync systemd unit files with nfs-utils.gitAndreas Oberritter2016-12-083-9/+18
| | | | | | | | | | nfs-server failed to start after installation from a package feed. (From OE-Core rev: c4d276f9f639a1a534789de12a4783ae931e6aa4) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: don't try to load kernel moduleAndreas Oberritter2016-12-081-2/+0
| | | | | | | | | | This conflicts with KERNEL_MODULE_AUTOLOAD += "nfsd". (From OE-Core rev: 759b7536756ac6fb6ad431ab8e48a03283f9ec29) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: create package nfs-utils-mountAndreas Oberritter2016-12-081-3/+6
| | | | | | | | | | | | | | | | Contains just enough to mount and unmount nfs volumes, i.e. the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils: separate package as Debain style"). Drop nfs-utils-client's dependency on bash. It contains two shell scripts, /etc/init.d/nfscommon and /usr/sbin/start-statd, both using /bin/sh. (From OE-Core rev: e21bba827e06f4d6574bbb2b0f453dd0bb627d2c) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: systemd fixesAndreas Oberritter2016-12-083-1/+3
| | | | | | | | | | | | - Start daemons by default like the initscripts do, but only if /etc/exports exists. - Inform systemd.bbclass about nfs-utils-client package. (From OE-Core rev: 94602d8ced3a8fd033de93b47320c94db6de8755) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: ignore initscript in prerm and preinst when systemd is activeAndreas Oberritter2016-12-081-5/+14
| | | | | | | | | | | | | | In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd is installed, we can safely assume that the service gets stopped by the prerm script fragment from systemd.bbclass. This fixes deinstallation of packages with initscripts returning errors when no running service was found. The preinst shouldn't run the initscript either, because postinst will call systemctl restart. (From OE-Core rev: f2cc0fdfd97b097145e40bc52674e17378cec863) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package.bbclass: split binary localedata even more if asked toAndreas Oberritter2016-12-081-14/+25
| | | | | | | | | | | | | | | | | If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert glibc-binary-localedata-XX-YY to be a meta package depending on glibc-binary-localedata-XX-YY-lc-address and so on. This enables saving quite some space if someone doesn't need LC_COLLATE for example. Some regex code was removed from output_locale_binary_rdepends, because legitimize_package_name already converts to lowercase. (From OE-Core rev: 40b4b31092058f8833ada3dfc254d362dd3139c1) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: disable unsupported extensions on mips32r1Andreas Oberritter2016-12-081-0/+1
| | | | | | | | | | | | Warning: the `dsp' extension requires MIPS32 revision 2 or greater | Warning: the `dspr2' extension requires MIPS32 revision 2 or greater (From OE-Core rev: 6310833bfbbb3ed3852af0693fd68ea1fa7b054a) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: access and accesslog are optional modulesAndreas Oberritter2016-12-081-7/+5
| | | | | | | | | | Move them from RDEPENDS to RRECOMMENDS. (From OE-Core rev: ef446586e4a44f13945241b501dc922c38beae58) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: Add many packageconfig optionsAndreas Oberritter2016-12-081-15/+22
| | | | | | | | | | Respect largefile and xattr distro features. (From OE-Core rev: 38eb51d4739cbac292abaef9d2888b6a54d32ad6) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: inherit image_types_uboot when neededRobert Yang2016-12-081-0/+9
| | | | | | | | | | | | | | | | | | Fixed: MACHINE = "qemuarm" IMAGE_FSTYPES += "ext3.bz2.u-boot" [snip] No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ext3.bz2.u-boot' - possibly invalid type name or missing support class [snip] This is because image_types_uboot is not inherited, inherit it when needed will fix the problem. (From OE-Core rev: 742a22ab7fd333e99d8701220d5a1db28347b1af) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffutils: do_configure: fix "Argument list too long"Robert Yang2016-12-081-0/+3
| | | | | | | | | | | | | | | | | Fixed when len(TMPDIR) = 410: aclocal: error: cannot open echo [snip]: Argument list too long This is becuase it has a lot of m4 files, use relative path for them can fix the problem. It doesn't happen when MACHINE="qemux86", I think it is because intel-x86-64 is longer than qemux86. (From OE-Core rev: 5210ccd61ef52a191454a4587cfeb22079df746d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on ↵Andreas Oberritter2016-12-081-0/+1
| | | | | | | | | | | | mips The target directory didn't exist. (From OE-Core rev: bd62851dc236a0279c735b290782602e275de5c1) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: do not copy bundled initramfs to /bootAndreas Oberritter2016-12-081-6/+0
| | | | | | | | | | | These files cause warnings because they don't get packaged, now that they don't land in kernel-vmlinux anymore. (From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Avoid wildcards for kernel imagesAndreas Oberritter2016-12-081-2/+2
| | | | | | | | | | | | | | | With multiple kernel images enabled starting with 'vmlinux', e.g. vmlinux.gz and vmlinux.bin, all files landed inside the kernel-vmlinux package. On top of that, even initramfs images were included, e.g. vmlinux.gz-initramfs-*. (From OE-Core rev: b7f4133b44b740e8ac8e758b0d4a3ee32d326332) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Use real filenames in kernel packagesAndreas Oberritter2016-12-081-1/+1
| | | | | | | | | | | | | | | When iterating over kernel image types to set up their packaging variables, don't use make targets but the real names. It was surprising if both vmlinux.bin and vmlinux.gz were enabled and only the latter had its filename extension removed from the package name. (From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: allow uncompressed initramfs archivesAndreas Oberritter2016-12-081-1/+1
| | | | | | | | | | | The code failed to copy the initramfs in case it was a plain cpio archive. (From OE-Core rev: 7dbdb4ea91aa027866da2bd46c65fe65a25c848f) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* texinfo: upgrade from 6.0 to 6.3Edwin Plauchu2016-12-083-32/+56
| | | | | | | | (From OE-Core rev: 8c85ffa135d96df6e3ed0b318e4e7db570e53da5) Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: enforce -no-pie if supported by compilerAlexander Kanavin2016-12-082-0/+46
| | | | | | | | | | | Recent distros are enabling -pie by default; in case of grub we need to turn it off. (From OE-Core rev: aaff6c99dde3f1058bb3c4b320f27753c6c992ad) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade to 232Khem Raj2016-12-0827-577/+213
| | | | | | | | | | | | | | | | | | | | | | | | * Drop support for rcS.d SysV init scripts. These are prone to cause dependency loops, and almost all packages with rcS scripts now ship a native systemd service. * Drop mount propagation patch, it only happens with libseccomp, OE doesnt enable it * kdbus option has disappeared from configure * Ignore dev-so for PN now since systemd introduced private .so see https://github.com/systemd/systemd/issues/3810 * Add libnss* to PACKAGES_DYNAMIC for libnss-resolve to work correctly * Forward port systemd-boot patches to systemd-232 (From OE-Core rev: e6c1765a05c1321f08f3d1fb521dfe6b07bc8e92) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: 3.14.1 -> 3.15.1Huang Qiyu2016-12-081-2/+2
| | | | | | | | | | Upgrade sqlite3 from 3.14.1 to 3.15.1. (From OE-Core rev: 60ed09794d038907b2e8ac188bb9b37cba7dfda5) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva: Import from meta-intel and update to 1.7.3Khem Raj2016-12-081-0/+48
| | | | | | | | | | | | This recipe is used by intel and amd BSP layers additional copies are also there see https://layers.openembedded.org/layerindex/branch/master/recipes/?q=libva (From OE-Core rev: 5ddfb12dea184c329bcce36f694cee42a079fcad) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: 481 -> 487Huang Qiyu2016-12-081-3/+3
| | | | | | | | | | | | Upgrade less from 481 to 487. License checksum changes are not related to license changes. (From OE-Core rev: 5d8be59d2f3430439868926d1424420d6a78a1b5) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pciutils: 3.5.1 -> 3.5.2Huang Qiyu2016-12-081-2/+2
| | | | | | | | | | Upgrade pciutils from 3.5.1 to 3.5.2. (From OE-Core rev: 51383a279a5d67eb63d603f58c2c417327ff7a49) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcp: 4.3.4 -> 4.3.5Huang Qiyu2016-12-081-2/+2
| | | | | | | | | | Upgrade dhcp from 4.3.4 to 4.3.5. (From OE-Core rev: 7cc95c2992cc45b74a9b81b56b1c1e7c097d4fe1) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Fix several CVE issuesMingli Yu2016-12-082-0/+282
| | | | | | | | | | | | | | | | | | | | Fix CVE-2016-9533, CVE-2016-9534, CVE-2016-9536 and CVE-2016-9537 External References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9533 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9534 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9536 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9537 Patch from: https://github.com/vadz/libtiff/commit/83a4b92815ea04969d494416eaae3d4c6b338e4a#diff-c8b4b355f9b5c06d585b23138e1c185f (From OE-Core rev: f75ecefee21ef89b147fff9afae01a6f09c93198) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Security fix CVE-2016-9538Mingli Yu2016-12-082-0/+68
| | | | | | | | | | | | | | | | | * tools/tiffcrop.c: fix read of undefined buffer in readContigStripsIntoBuffer() due to uint16 overflow. External References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9538 Patch from: https://github.com/vadz/libtiff/commit/43c0b81a818640429317c80fea1e66771e85024b#diff-c8b4b355f9b5c06d585b23138e1c185f (From OE-Core rev: 9af5d5ea882c853e4cb15006f990d3814eeea9ae) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Security fix CVE-2016-9535Mingli Yu2016-12-083-0/+492
| | | | | | | | | | | | | | | | | | | | * libtiff/tif_predict.h, libtiff/tif_predict.c: Replace assertions by runtime checks to avoid assertions in debug mode, or buffer overflows in release mode. Can happen when dealing with unusual tile size like YCbCr with subsampling. External References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9535 Patch from: https://github.com/vadz/libtiff/commit/3ca657a8793dd011bf869695d72ad31c779c3cc1 https://github.com/vadz/libtiff/commit/6a984bf7905c6621281588431f384e79d11a2e33 (From OE-Core rev: 61d3feb9cad9f61f6551b43f4f19bfa33cadd275) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: set CVE NAMERoss Burton2016-12-081-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: Fix issues in LDFLAGS sed manipulationRichard Purdie2016-12-082-0/+23
| | | | | | | | | | | | | The existing sed expression can match expressions like --sysroot=/some/path/xxx-linux/ which clearly isn't intended and injects incorrect paths into LDFLAGS. Fix this in the same way we address the problem in CFLAGS. This fixes corrupt build paths and incorrect paths in .la files amongst other issues. (From OE-Core rev: 9a8382422ddbb0972dc25b752204f4908bb9857c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Convert SSTATEPOSTINSTFUNCS to a do_install_appendRichard Purdie2016-12-081-25/+22
| | | | | | | | | | A SSTATEPOSTINSTFUNCS function here is overkill, just do this in a do_install_append_class-native and create relative symlinks rather than absolute ones which would then have to be relocated. (From OE-Core rev: 518e8d0216b0f42f574e42288804f553b9ff6f99) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Drop unused SYSROOT_LOCKRichard Purdie2016-12-081-1/+0
| | | | | | | | | This hasn't been used in years and isn't referenced anywhere, drop the definition. (From OE-Core rev: 68258f856f08f35813964e58ef761471e29373ad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: exit on non-zero return codeBruce Ashfield2016-12-071-1/+0
| | | | | | | | | | | | | | | | Historically the processing of kernel meta data contained some commands that exited with a non-zero return code. Special processing was required to properly deal with their exit. That is no longer true, and instead of handling all return codes and doing an explicit 'exit' call, we can remove set -e from the routine and have all errors be trapped and stop processing. (From OE-Core rev: 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix processing for no branch meta-dataBruce Ashfield2016-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lernel meta-data that has patches, but no branches, can trigger an error due to no branch specific patch queue. This error then cascades to more issues since the tools are using a named file in /tmp to store and display error messages to the user. We fix both issues though the following kern tools tweaks: commit bd9e1d6c9b0a34ff3e19a06999aaf57ffadfd04c Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri Dec 2 13:09:40 2016 -0500 scc: use mktemp for consolidated output capture To provide useful error messages the tools dump pre-processed files and messages to a temporary file. If multiple users are doing builds, this means they either race, or can have permissions issues. By creating the temporary file via mktemp, we avoid both issues. (We also make sure to clean these up on exit, or /tmp will get polluted quickly). commit a287da4bfe0b4acb8f2b0627bd8e7abd1a1dde26 Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri Dec 2 13:08:08 2016 -0500 patch: do not assume a branch specific patch queue is needed When processing input files per-branch and global patch queues are generated. If the meta-data has not created any branches in the repo, no branch specific queue is required. The tools assumed that one is always valid, and hence would throw a non-zero exit code and stop processing. By testing for a named per-branch queue, we avoid this issue. (From OE-Core rev: 0fd7da7375f0dcc59b56791fd482de557507c04c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: update to 4.9-rcXBruce Ashfield2016-12-071-1/+1
| | | | | | | | (From OE-Core rev: 27c53cb8d0f1d408cb9791697305187944ad07b9) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.8: update to v4.8.10Bruce Ashfield2016-12-073-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is as follows: cf5ae2989a32 Linux 4.8.10 5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions. af97481a6f5b sparc64: Delete now unused user copy assembler helpers. ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting. d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting. a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting. bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting. b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting. 50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting. 620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting. bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling. bbbab9f59ea7 sparc64: Delete __ret_efault. 81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully. 7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code. f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending. 2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code. f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely. 51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform da6fe239ceff spi: spidev_test: fix build with musl libc 4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs 150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown 5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage 6523ff2e27fe Revert "bnx2: Reset device during driver initialization" 224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity 9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries 5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h" 2b5f22e4f7fd tcp: take care of truncations done by sk_filter() 22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup bccb4093d464 net: __skb_flow_dissect() must cap its return value a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain 9885f474d92b sock: fix sendmmsg for partial sendmsg b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error 92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain 09ee09498bca bpf: fix htab map destruction when extra reserve is in use de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect 76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped 84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err() ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err() 378a61101374 dccp: do not send reset to already closed sockets 72b03e549b95 dccp: do not release listeners too soon b3523a0773ed tcp: fix return value for partial writes 1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso() 842a858fa048 tcp: fix potential memory corruption fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit() f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set 0c7f764d2c6a net: mangle zero checksum in skb_checksum_help() ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock() 5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss 876577321657 Linux 4.8.9 07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring 8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend 88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak 25ed6e4b0b65 drm/amdgpu: fix fence slab teardown de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning 18c801047a18 libceph: fix legacy layout decode with pool 0 53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB 02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support 320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails 2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload 5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node 7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear 6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs 6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly 86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc() b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe() 85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink() 1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness() c1a2ada73dac lib/genalloc.c: start search from start of chunk 06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces 1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test 4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload 3bbdbd8aa3c8 x86/build: Fix build with older GCC versions f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init" 645a6b823739 nvme: Delete created IO queues on reset 07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping 4131e00a436e svcrdma: Skip put_page() when send_reply() fails 755ab7aa1466 mei: bus: fix received data size check in NFC fixup d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI 6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver 66503ec38f34 watchdog: core: Fix devres_alloc() allocation size c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE 813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain 2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect 31c749bee3de xprtrdma: use complete() instead complete_all() 67080e2785a3 drm/amd: fix scheduler fence teardown order v2 b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown 920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms 9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini 6e652d18d73d drm/amdgpu: disable runtime pm in certain cases 8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs 2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug 5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work() f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init 1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl 4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver) 341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation. b9d031f354da cdc-acm: fix uninitialized variable c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref 31da266e4b9a usb: gadget: u_ether: remove interrupt throttling 264e4131a167 USB: cdc-acm: fix TIOCMIWAIT c12c24eeaf77 usb: dwc3: Fix error handling for core init 6b95417150b7 staging: nvec: remove managed resource from PS2 driver 82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough" 529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value 5d510185f99a staging: sm750fb: Fix bugs introduced by early commits 45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case 5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer 10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume 1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap 004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM 7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm 4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment 2f3e0b82ebe9 coredump: fix unfreezable coredumping task d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure() 67c79e166d46 swapfile: fix memory corruption via malformed swapfile c87739e5d029 shmem: fix pageflags after swapping DMA32 object 5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned 2e594273d4c5 dib0700: fix nec repeat handling 9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch 9386a722d250 ALSA: info: Limit the proc text input size c3ea1b15b71e ALSA: info: Return error for invalid read/write (From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: wic: fix test_qemuEd Bartosh2016-12-072-2/+3
| | | | | | | | | | | | | | | | Setting WKS_FILE variable in qemux86-64 made wic test to use wrong wks file to produce an image and resulted in test_qemu failure. Used conditional assignment in qemux86-64 and explicitly set WKS_FILE in wic testing suite to make the suite to use wic-image-minimal.wsk. This should fix test_qemu failure. (From OE-Core rev: 3bca4d18c2712e3b154bacfb917f0a749ebaddeb) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffutils: 3.4 -> 3.5Huang Qiyu2016-12-073-2/+2
| | | | | | | | | | Upgrade diffutils from 3.4 to 3.5. (From OE-Core rev: a718c845b5274858eff297eacf5a3a02cd5c0ae8) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade to 2.11.0Chen Qi2016-12-072-11/+11
| | | | | | | | | | Upgrade git to 2.11.0. (From OE-Core rev: 963d949cacdd1fed7b2fbe121526da7986a7c758) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Add python3-modules to RPROVIDES listLinus Svensson2016-12-071-0/+1
| | | | | | | | (From OE-Core rev: 0df38dfc0180ac6f25c570202ec9a2af2ab1c24f) Signed-off-by: Linus Svensson <linussn@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: let do_deploy depend on do_packagedataRobert Yang2016-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The do_deploy runs depmodwrapper which requires pkgdata/kernel-depmod/kernel-abiversion, which is generated by PACKAGEFUNCS. So we need let do_deploy depend on do_packagedata. This can fix the errors which happens sometimes when kernel upgrades: DEBUG: Executing shell function do_deploy Error: Kernel version 4.8.8-WR9.0.0.1_standard does not match kernel-abiversion (4.8.8-WR9.0.0.0_standard) And we only see this error when kernel upgrades and rebuild, but doesn't see it in a normal build, this is becuase depmodwrapper doesn't exit error when kernel-depmod/kernel-abiversion doesn't exit, it just prints an error which should go into log.do_deploy: if [ ! -r /path/to/sysroots/qemux86-64/pkgdata/kernel-depmod/kernel-abiversion ]; then echo "Unable to read: /path/to/sysroots/qemux86-64/pkgdata/kernel-depmod/kernel-abiversion" >&2 else [foo] fi We can see that there is no "exit 1", I guess it was designed to let it can run without kernel-abiversion (From OE-Core rev: 64148a30397b8c92414262c0d414d103d2b97ddd) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>