aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-18lib/oeqa/selftest/base.py: Correct a reference to meta/lib/oeqa/selftestPeter Kjellerstedt
Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18oe-selftest: Correct the usage examplesPeter Kjellerstedt
Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18devtool: sdk-update: reset git metadata on updateStephano Cetola
Replace git pull with fetch and reset to avoid the merge logic in the event that the layers repo in the published SDK we're updating to isn't fast-forward merge from the local repo. Also add gitignore and committer info during publish to avoid errors and to be sure that the first commit has a dummy user in it. [ YOCTO #9368 ] Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18build-appliance-image: Load TUN at startupJuro Bystricky
This patch addresses the issue of not being able to execute "runqemu" in the Build Appliance. The root cause of the problem was that TAP/TUN was not available, although required by "runqemu". In addition, the recommended remedy $ sudo modprobe tun would fail for two reasons: modprobe not in PATH (user builder), and "iptables" located in /usr/sbin but expected in /sbin. [YOCTO #9437] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18default-providers.inc: set openssl PREFERRED_PROVIDER to opensslAndre McCurdy
Although the oe-core openssl recipe is currently the only provider of openssl, make the preference for using it explicit in anticipation of a libressl recipe being added to meta-oe. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18bind: CVE-2016-2088Jussi Kukkonen
Duplicate EDNS COOKIE options in a response could trigger an assertion failure: Fix with a backport. bind as built with the oe-core recipe is not at risk: Only servers which are built with DNS cookie support (--enable-sit) are vulnerable to denial of service. Fixes [YOCTO #9438] Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18rpm: Disable __sync_add_and_fetch_8 on nios2Marek Vasut
The NIOS2 softcore does not implement the __sync_add_and_fetch_8, so disable it accordingly. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <lftan@altera.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Walter Goossens <waltergoossens@home.nl> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18kernel: fitimage: Fix do_deploy taskhash mismatchMarek Vasut
The kernel_do_deploy_append() uses DATETIME variable , so the taskhash of the kernel_do_deploy() function changes if fitImage is used. The buildsystem will complain accordingly: ERROR: linux-yocto-4.4.3+gitAUTOINC+bcc6509084_1a72cec834-r0 do_deploy: Taskhash mismatch 49a5899a6895dcebd311dcb59870f370 verses 37c8dd3aae44134492a876f21c1b641b for /Yocto/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_deploy ERROR: Taskhash mismatch 49a5899a6895dcebd311dcb59870f370 verses 37c8dd3aae44134492a876f21c1b641b for /Yocto/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_deploy Fix this by excluding the DATETIME variable from the checksum. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18images: zero out the rootfs_extra_space in initramfs imagesStephano Cetola
Setting IMAGE_ROOTFS_EXTRA_SPACE impacts the initramfs images, results in an error about INITRAMFS_MAXSIZE. Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-18ext-sdk-prepare.py: exclude do_rm_work from unexpected output; create unit testBill Randle
When installing the esdk with INHERIT += "rm_work", the script complains about do_rm_work as unexpected output from the bitbake run. This patch ignores any output lines with do_rm_work and further refactors the output comparison into its own function creates a new unit test to verify the fix. The unit test can be run direct from the command line or via oe-selftest. [YOCTO #9019] Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-15fs-perms.txt: fix ROOT_HOME's permissionRobert Yang
It should be 0700 rather than 0755. Reported-by: Charles Chan <charles.wh.chan@gmail.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-15Revert "fs-perms.txt: fix ROOT_HOME's permission"Ross Burton
This reverts commit eeae2ac4887298bcbab0e105798818414686dc97.
2016-04-15buildstats: Fix tracebacks for early task failuresRichard Purdie
If a failure occurs early in the task, its possible we can have a TaskFailed before the TaskStarted event can be triggered. This in turn causes another traceback as the directory buildstats writes files into doesn't exist. Ensure the directory exists so we can see the original error. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15default-providers: Update to use PREFERRED_RPROVIDERRichard Purdie
Get rid of the very confusing PREFERRED_PROVIDER_bluez4 using the new/better PREFERRED_RPROVIDER syntax. [YOCTO #5044] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15oeqa/selftest/sstatetests: fix no-op sstate testRoss Burton
The test to verify that certain classes when inherited were no-ops only passed if the build already inherited buildhistory. To ensure that the test works as expected, use INHERITS_remove to ensure that the classes are not inherited in the base run. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15buildhistory: don't alter SDK creation stampsRoss Burton
This class adds functions to the SDK creation hooks, so ensure that they're ignored in task stamps. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15dhcp: Enable update-rc.d serviceFabio Berton
do_install_append function installs init scripts but to enable this service we need to inherit update-rc.d class and set INITSCRIPT name and params. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15meta/classes/qemu.bbclass: set -cpu of ppce5500/ppce6500 to e500mcZhenhua Luo
The e5500 and e6500 cpu types are not supported by native qemu, set the value of -cpu to e500mc. Without this change, build will fail for packages which use qemuwrapper in compile phase due to the following error. | Unable to find CPU definition e.g. gobject-introspection Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15shadow: Disable syslog for more commandsPeter Kjellerstedt
When building shadow-native, syslog was disabled for useradd and groupadd. This disables it also for groupdel, groupmems, groupmod, userdel and usermod (i.e., the use of syslog is now disabled for all commands supported by useradd_base.bbclass). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15devtool: upgrade: handle recipes where source is not first entry in SRC_URIPaul Eggleton
It is unusual but not impossible to find recipes whose first entry is not the main source URL but instead some patch or other local file, for example python-cryptography in meta-python (which sets SRC_URI before inheriting pypi). There's nothing inherently wrong with this, and we shouldn't assume that the first entry is the main source URL, so just take the first non-local entry instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-15devtool: update-recipe: handle where SRC_URI is appended to with +=Paul Eggleton
If a recipe sets SRC_URI and then appends more items to it with += (such as the current rpm recipe in OE-Core), the code in patch_recipe_file() was failing with a traceback. Work around the problem for now by dropping the existing lines if we understand the operation, else just set the value outright at the end. This leaves something to be desired as it either doesn't respect the existing structure or leaves a mess but it's better than the current breakage. We'll need to come up with a better solution later. Part of the problem is the existing code structure doesn't allow for patch_recipe_file() to know what's being added or removed - it only knows the final value that the caller wants set. Fixes [YOCTO #9458]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto: make aufs4 optionalBruce Ashfield
An always on configuration of aufs4 crept into the default kernel configuration blocks. With this change, aufs-enable.scc can be used to turn on aufs via a KERNEL_FEATURES entry. We can now have co-existing unionfs solutions and can update them without breaking builds that haven't opted-in. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto: tiny and pin ctrl config updatesBruce Ashfield
Merging the following two commits: ab0d998117cc ktypes/tiny/tiny.cfg: support /proc/sys 349e9ce59f7b features: enable pinctrl driver for Broxton Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto/4.4: BXT enablementBruce Ashfield
ASoC HDMI audio backports + mmc fixes backports + misc enablement changes (all backports): db28bb1e7a68 async: export current_is_async() e89355d51cc4 PM / runtime: Add new helper for conditional usage count incrementation dcf8de0931b1 ALSA: hda - hdmi defer to register acomp eld notifier da1bcdb4415e ALSA: hda - Allow i915 binding later in codec driver fb95901a1724 ALSA: hda - Enable audio component for old Intel PCH devices 0a082020f0c4 ALSA: hda - Autosuspend controller after probe even if codecs are already suspended 7f7608752b37 ALSA: hda - hdmi add wmb barrier for audio component 7a32403bb06f ALSA: hdac: add snd_hdac_ext_bus_link_power_up_all 0d593c9fcf75 ALSA: hdac: Add support for hda DMA Resume capability e453b7e42563 ALSA: hdac: structure definition for ext_dma_params da5b15cea3a0 drm/edid: Add API to help find connection type 723224e90dfe ASoC: hdac_hdmi: Fix codec power state in S3 during playback 006d407c400d ASoC: hdac_hdmi: Fix to use dev_pm ops instead soc pm 149316f63e17 ASoC: hdac_hdmi: Add broxton device ID f94dc80e4ac5 ASoC: hdac_hdmi: Fix infoframe programming 623b2f9b33f1 ASoC: hdac_hdmi: Add PM support 9d0c9e8114f8 ASoC: hdac_hdmi: Fix to reconfigure registers in runtime resume 4afb4f7a3760 ASoC: hdac_hdmi: Don't fail in dai startup to make userland happy ec497d3f13c3 ASoC: hdac_hdmi: Enable playback on all enumerated ports d94da5c4fe3b ASoC: hdac_hdmi: Apply constraints based on ELD 401a43cac5a4 ASoC: hdac_hdmi: Fix to wait for D3 before powering off codec 69fd08bfd8a8 ASoC: hdac_hdmi: Fix to keep codec power active during enumeration. fe945a86a8c8 ASoC: hdac_hdmi: Fix possible memory leak in hw_params 2e2a20f383c4 ASoC: hdac_hdmi: Remove 'edev' NULL check 9f781dd80b54 ASoC: hdac_hdmi: Add infoframe support for dp audio b8110510884a ASoC: hdac_hdmi: Add jack reporting 1cdebc2d6e78 ASoC: hdac_hdmi: Create widget/route based on nodes enumerated 73b4b1dc5b63 ASoC: hdac_hdmi: create dais based on number of cvts e59b34525953 ASoC: hdac_hdmi: Enable DP1.2 and all converters/pins 760989e722ef ASoC: hdac_hdmi: Add hotplug notification and read ELD 30364a5601ae ASoC: hdac_hdmi: remove unused hdac_hdmi_query_pin_connlist 2764583d744e ASoC: hdac_hdmi: Use list to add pins and converters 9458ca02aa7e ASoC: hdac_hdmi: Fix to warn instead of err for no connected nids 477a88699c5e ASoC: hdac_hdmi: Fix to check num nodes correctly acdc6421f720 ASoC: hdac_hdmi: use dev_to_hdac_dev and to_ehdac_device bd4ba9cdf188 ASoC: hdac_hdmi: check error return b6898f18eaca ASoC: hdac_hdmi: fix possible NULL dereference 4836a9c5bc4e ASoC: hdac_hdmi: Use i915 component framework for PM c70f3eab8f81 ASoC: hdac_hdmi: Setup and start infoframe f0f09f63f4f5 ASoC: hdac_hdmi: Add hdac hdmi dai ops 4bab2c42e58a ASoC: hdac_hdmi: Add PM support for HDMI d1237b8c1a21 ASoC: hdac-hdmi: Add hdmi driver 0e0a7bb86eb8 mei: me: add broxton pci device ids 2af333b2beee usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host 7ae2e3bce771 dmaengine: idma64: set maximum allowed segment size for DMA 53e822a3c638 dmaengine: idma64: drop IRQ enable / disable in handler 97e4071b6885 spi: pxa2xx: Fix too early chipselect deassert 46cc317c74dd i2c: designware: remove redundant lock 03a6b1c85e0a i2c: designware: Prevent runtime suspend during adapter registration d5da4042ad5b mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers c3d97cf9fe19 mmc: sdhci-pci: Do not set DMA mask in enable_dma() f20ad778b58e mmc: sdhci-pci: Do not default to 33 Ohm driver strength for Intel SPT ca9a77c6869b mmc: sdhci: Fix override of timeout clk wrt max_busy_timeout 74982dc84940 mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL 8017269a25bf mmc: sdhci-pci: Fix card detect race for Intel BXT/APL b532b30c3e41 mmc: sdhci: Allow override of get_cd() called from sdhci_request() 9e96c0c00221 mmc: sdhci: Allow override of mmc host operations 0148b3601f29 gpio-pca953x: fix the "drive" property cannot read/write Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto/4.1: mainline SPI backportsBruce Ashfield
Backporting SPI changes for the Broxton and Apollo lake: 91f62d4a0a31 spi: pxa2xx: derive struct chip_data from struct drv_data a9ed63a84921 spi: pxa2xx: Remove CONFIG_SPI_PXA2XX_DMA f218d99d91ad spi: pxa2xx: Remove redundant call to lpss_ssp_setup() in probe c02fa78f26b3 spi: pxa2xx: Rework self-initiated platform data creation for non-ACPI 7e576a63daf8 spi: pxa2xx: Add support for Intel Broxton 5afb534233ea spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals 9dfe49803d54 spi: pxa2xx: Add output control for multiple Intel LPSS chip selects c3ea9f8cb427 spi: pxa2xx: Use LPSS prefix for defines that are Intel LPSS specific 769387d447c6 spi: pxa2xx: Align a few defines c4d5f4b2c5e1 spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select cef6fd04c480 spi: pxa2xx: Convert unique ID string of ACPI device as unsigned integer 5cd1fcbbe756 spi: pxa2xx: move debug messages to pump_transfer() 86d77af087c1 spi: pxa2xx: choose closest lower speed b92f9ddf2a03 spi: pxa2xx: Remove unused psp member variable from struct chip_data eead50ab6d02 spi: pxa2xx: Remove empty function pxa2xx_spi_dma_resume() 59956c05a4c1 spi: pxa2xx: Use ACPI_COMPANION() instead of acpi_bus_get_device() 362498a7e09b spi: pxa2xx: Set the max_speed_hz of the master 34b9b6d72a6e spi: pxa2xx: Remove cr0 variable from struct chip_data 906a045e325a spi: pxa2xx: Remove if statement that is always true in pump_transfers() 9dcbad25be03 spi: pxa2xx: Remove two variables from struct chip_data 3a166657678e spi: pxa2xx: Add terminating entry for pxa2xx_spi_pci_compound_match f8912dd06280 spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers b75adec5ab03 spi: pxa2xx: Add support for Intel Sunrisepoint 54f13620b12e spi: spi-pxa2xx: Remove clk.h include c4dcefa9a892 spi: pxa2xx: Constify ACPI device ids e1deb5e11adc spi: spi-pxa2xx: remove legacy PXA DMA bits 1cae65e20310 spi: pxa2xx: Make LPSS SPI general register optional dffc716a7725 spi: pxa2xx: Prepare for new Intel LPSS SPI type 9641b2e46b6a spi: pxa2xx: Differentiate Intel LPSS types Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto/4.4: gpio-pca953x: fix the "drive" property cannot read/writeBruce Ashfield
The gpio_drive_show/store use incorrect gpio_desc, this causes the drive sysfs property cannot be used, This patch fixes this issue Upstream-status: Inappropriate, custom code for legacy userspace Signed-off-by: Yong Li <yong.b.li@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14devtool: don't copy .git when building the eSDKStephano Cetola
When creating an eSDK ensure that any .git directories are not included. [ YOCTO #9426 ] Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14package.bbclass: improve permission handlingDan McGregor
Change fs_link_table to be keyed by path, just like fs_perms_table. When a new entry is coming in for either table, remove any previous entry for that path. This way later permission file entries override earlier ones. [YOCTO #9430] Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14fs-perms.txt: fix ROOT_HOME's permissionRobert Yang
It should be 0700 rather than 0755. Reported-by: Charles Chan <charles.wh.chan@gmail.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14runqemu: let ramfs equal to cpio.gzRobert Yang
For example, support both: $ runqemu qemux86-64 ramfs $ runqemu qemux86-64 cpio.gz (new) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14gcc-common.inc: String format tweak for available tunesnoel eck
Small change to python string formatting for error logging. Previously, tune and availtunes would print out at the end of the log message. This change allows them to print out in the correct locations of the error string. Signed-off-by: noel eck <kceleon@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14pbzip2: fix LIC_FILES_CHKSUM following 1.1.12 -> 1.1.13 upgradeAndre McCurdy
The 1.1.3 update to COPYING changes a reference to pbzip2's version number and release date. LIC_FILES_CHKSUM should have been updated accordingly as part of the 1.1.12 -> 1.1.13 upgrade: http://git.openembedded.org/openembedded-core/commit/?id=80712b7c0959c197ccb21efd5e7a963d1d2e83ae Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14pbzip2: don't skip do_configureAndre McCurdy
Although pbzip2 itself doesn't require any configuring, skipping do_configure means the 'make clean' step performed by the default base.bbclass do_configure is skipped too, which means that pbzip2 may not be rebuilt if something it depends on has changed (e.g. if libbz2 has been modified). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14useradd_base.bbclass: remove flock option '-w'Kai Kang
Option '-w 100' of flock is failsafe to finish if dead lock occurs. It should be impossible to occur dead lock. And option '-w' is not supported by busybox, so remove it. [YOCTO #9371] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14matchbox-keyboard: Hide desktop launcherJussi Kukkonen
Add patch that hides the keyboard desktop launcher, remove patch that tries and fails to make the keyboard a single-instance application. The desktop launcher of matchbox-keyboard is a source of far more problems than solutions: As an example there's supposed to be only one instance running at a time but we give the user several ways to start multiple instances (and the Matchbox WM Single-Instance implementation is broken by both design and implementation). After this patch the only instance of matchbox-keyboard is the daemonized one that can be shown/hidden with the panel applet (when there is not hardware keyboard). If an additional matchbox-keyboard needs to be started for debug reasons, it can still be done from command line. Fixes [YOCTO #3093]. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14npm.bbclass: Stop packagenames containing underscores from being generatedBrendan Le Foll
Package names cannot contain underscores yet some npm modules use them as part of the name, replace them with hyphens in the package name. Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14bind: CVE-2016-1285 CVE-2016-1286Sona Sarmadi
Fixes following vulnerabilities: CVE-2016-1285 bind: malformed packet sent to rndc can trigger assertion failure CVE-2016-1286 bind: malformed signature records for DNAME records can trigger assertion failure [YOCTO #9400] External References: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-1285 https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-1286 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1285 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1286 References to the Upstream commits and Security Advisories: =========================================================== CVE-2016-1285: https://kb.isc.org/article/AA-01352 https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=patch; h=70037e040e587329cec82123e12b9f4f7c945f67 CVE-2016-1286_1: https://kb.isc.org/article/AA-01353 https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=patch; h=a3d327bf1ceaaeabb20223d8de85166e940b9f12 CVE-2016-1286_2: https://kb.isc.org/article/AA-01353 https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=patch; h=7602be276a73a6eb5431c5acd9718e68a55e8b61 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14image.bbclass: add DEB_{PRE, POST}PROCESS_COMMANDS to ↵Bill Randle
rootfs_command_variables list Remove duplicate ROOTFS_POSTPROCESS_COMMAND in the rootfs_command_variables list. Add DEB_PREPROCESS_COMMANDS and DEB_POSTPROCESS_COMMANDS to rootfs_command_variables list for consistency with the RPM_ and OPKG_ versions of those variables. Note: the package manager specific pre and post process commands may removed entirely in Yocto 2.2 or later. Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14rootfs.py: apply ROOTFS_POSTINSTALL_COMMAND to all package formatsBill Randle
Previously, ROOTFS_POSTINSTALL_COMMAND was run only after the opkg rootfs install post processing phase. This patch makes it generic so it is run fter any package manager specific rootfs post processing, but before _run_intercepts(). [YOCTO #9248] Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14wic: fix bug in handling fsoptionsEd Bartosh
Partitions specifying --fsoptions were silently skipped by wic due to the old bug introduced when removing code related to subvolume handling: - if mountpoint == "/" or not fsopts or fsopts.find("subvol=") == -1 + if mountpoint == "/" or not fsopts: [YOCTO #9396] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14buildtools-tarball.bb: set TOOLCHAIN_NEED_CONFIGSITE_CACHE to nullRobert Yang
buildtools-tarball doesn't need config site, set TOOLCHAIN_NEED_CONFIGSITE_CACHE to null so that no target recipes will be built when bitbake buildtools-tarball. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14rpm: more verbose errors in rpmTempFileMarkus Lehtonen
This patch adds better error logging inside the rpm tempfile function in order to be able to better analyze a rare and very hard-to-reproduce failure in oe-selftest for rpm signing. [YOCTO #9416] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14rootfs-postcommands: handle broken links when writing manifestRoss Burton
If the manifest link is broken then os.path.exists() returns False so the link isn't removed, resulting in the os.symlink() call failing as the file already exists. Prevent this by using os.path.lexists to check that the symlink itself exists, not the target. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-14socat: Use c_ispeed and c_ospeed based upon libcKhem Raj
musl calls them __c_ispeed and __c_ospeed and we can not use get/set APIs because the get APIs will return the value from iflags and not from *speed element from termios struct Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-04-13archiver: Improve debug outputRichard Purdie
Make the output from the task more informative about which directories are being referenced. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13kbd: remove uclibc-stdarg.patchMaxin B. John
Remove uclibc-stdarg.patch as it is already available in kbd 2.0.3 release. commit id: b8ef7897867cb1ba1b9f87d004674133c291b1b0 Author: Mike Frysinger <vapier@gentoo.org> Date: Mon Jan 6 10:27:56 2014 -0500 libkeymap: include stdarg.h where used Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13image.bbclass: use max() instead of indexing booleansRoss Burton
There's some code dotted around OE that uses (a, b)[foo < bar] instead of the more idiomatic "test and a or b". Or in this case, just max(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13linux-yocto-tiny: fix KBRANCHRobert Yang
Fixed: WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: After meta data application, the kernel tree branch is standard/tiny/common-pc. The WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: SRC_URI specified branch standard/tiny/base. The branch will be forced to standard/tiny/base, WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: but this means the board meta data (.scc files) do not match the SRC_URI specification. WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: The meta data and branch standard/tiny/base should be inspected to ensure the proper WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: kernel is being built. Use standard/tiny/common-pc which is pointed by the .scc to fix problem. Btw, standard/tiny/base and standard/tiny/common-pc points to the same commit id. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13sudo: fix pam config on systemd systemsDan McGregor
Pam_keyinit revoke causes issues on systemd systems. Make its use optional. This brings it in line with Fedora 23 and Centos 7. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13sysvinit: make lastb.1 an alternativeDan McGregor
util-linux has an alternative for it. Add it to sysvinit too. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>