aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)Author
2015-10-08initrdscripts: drop all automount rules while installingAwais Belal
MMC devices get auto mounted during installation without this and cause a failure while formatting the device. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-10-02external-sourcery-toolchain: workaround erroneous libdir pointingAwais Belal
The debug agent in CB wrongly points to /usr/lib6464 rather than to /usr/lib64 to pick up the gdbserver binary. This makes any debug session fail due to not finding the binary. We work around the issue by creating a symlink from /usr/lib6464 to /usr/lib64. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-09-22Merge pull request #189 from abelal/fix_create_adeDrew Moseley
qtwebkit-examples: fix ADE creation
2015-09-22qtwebkit-examples: fix ADE creationAwais Belal
ADEs are generated by picking up -dev subpackages of all the packages included in build. In case of qtwebkit-examples, the way qt5 submodules are populated the actual generated package of qtwebkit-examples is qtwebkit-examples-examples. When ADE creation picks up qtwebkit-examples-dev it fails to find the qtwebkit-examples package which is a dependency for the -dev package. This patch allows generation of the qtwebkit-examples package to satisfy this dependency by allowing this empty package to be built. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-09-21vdpauinfo: Lockdown SRCREVDrew Moseley
Explicitly use a SRCREV variable rather than a tag specifier in the SRC_URI to avoid errors when building without a network connection in the resultant installed build. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2015-09-14firmware-wireless: fix QA warningAwais Belal
Fix for QA warning "WARNING: QA Issue: FILES variable for package firmware-wireless contains '//' which is invalid. Attempting to fix this but you should correct the metadata." Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-09-10firmware-wireless: fix deployment of firmware binsAwais Belal
The current firmware-wireless recipe deploys bins to base_libdir/firmware (/lib64/firmware in our case) whereas the generic approach is to deploy these to /lib/firmware directory so we override as required. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-08-10Merge pull request #164 from abelal/update_layer_prioDrew Moseley
layer.conf: update BBFILE_PRIORITY for all layers
2015-08-10packagegroup-core-x11: use xserver-common as runtime commonAwais Belal
A dependency chain exists between poky and meta-oe which is not handled properly by the debian packaging system. This causes the do_rootfs step to fail when debian packaging is used. The chain is still being reworked upstream. To resolve the issue we explicitly define xserver-common as our VIRTUAL_RUNTIME as this takes care of the funky dependency chain and copes up with the packaging issue. Note that xserver-common is what we end up with in other packaging systems. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-08-10layer.conf: update BBFILE_PRIORITY for all layersAwais Belal
The layer priority under meta-amd is currently same (6) for all layers. Which makes it a little difficult to deterministically override changes from the layers we inherit from. We now adjust the priority of all layers so things like prepend/append can be done a little more deterministically. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-08-04mesa: update packaging for libXvMC gallium extensionsAwais Belal
The libXvMC gallium extensions of mesa provide a shared lib libXvMCGallium.so. If the contributing sub-extensions are packaged separately it affects the rpm packaging in while generating the package.spec file and generates %post for the shared lib as many number of times as the sub-extensions were split. This causes the do_package_write_rpm step to fail unexpectedly and cause un-seen issues. We now package these sub-extensions together to avoid such scenario. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-07-18gcc: don't pull unwind.h from cross sysrootDrew Moseley
libgcc-external provides this. (From meta-sourcery rev: e890f1c457057523d38e0126934f6f85c0b96aac) Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2015-07-15sdk: Remove libgcov-dev package.Drew Moseley
This is fixed in poky/master here: http://git.openembedded.org/openembedded-core/commit/?id=1e9ccec936554c69ede04babee9955f25b296588 This is an equivalent change used to remove errors of duplicate libgcc providers when building the core-image-sato-sdk. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2015-07-07Merge pull request #150 from drewmoseley/mplayer-blacklistDrew Moseley
mplayer: Clear PNBLACKLIST for mplayer2 conditionally for AMD.
2015-07-06linux-amd: enable SELINUX kernel configs when neededAwais Belal
In order to utilize SELINUX on the target certain kernel configurations need to be enabled in the kernel. This patch conditionally enables these configurations when the distro specifies selinux as a feature. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-07-03initrdscripts: handle mmc device as installer mediumAwais Belal
Platforms which have the capability of using the MMC as an installer medium will present the same MMC device as an installation candidate. This happens because the MMC devices appear as mmcblk<X> and the current script strips up the <X> which is needed to identify an MMC device uniqely. This patch now updates the way device identifier stripping is done and handles the exclusion of installer device from installation candidates more generically. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-07-02mplayer: Clear PNBLACKLIST for mplayer2 conditionally for AMD.Drew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2015-07-02Merge pull request #148 from abelal/yocto_complianceDrew Moseley
Yocto compliance
2015-07-02common: recipe refinementsAwais Belal
The yocto standards specify that no layer should affect other layers when it is not intended to be built. So machine, distro or layer overrides should be used where ever possible to minimize the impact of any such anomaly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-07-01Merge pull request #146 from drewmoseley/vdpau_dependsDrew Moseley
vdpauinfo: Add missing build DEP on mesa
2015-06-29vdpauinfo: Add missing build DEP on mesaDrew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2015-06-26linux-amd: fix multiple CVEsAwais Belal
Fixing multiple CVEs for the 3.12 kernel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-06-05pulseaudio: make the autostart changes apply only outside MELAwais Belal
While building MEL specific distros the changes are picked up through generic meta-mentor layers. So we apply the same changes conditionally when the distro is not MEL specific. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-06-03pulseaudio: disable autospawning by defaultAwais Belal
We rely on systemd service to start a daemon and make the availability of the PA server deterministic so we now disable the autospawning behavior by default. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-06-03pulseaudio: fix autostart behavior for pulseaudioAwais Belal
The pulseaudio daemon can be auto started on request but this was not taken care of in the auto start scripts that the pulseaudio package shipped. These patches have been back-ported from v5.99.1 of pulseaudio and should be dropped once a package upgrade occurs for pulseaudio. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-05-21initrdscripts: make boot drive detection more genericAwais Belal
The init script that invokes install and install-efi scripts passes the first parameter that identifies the boot drive but in cases when this disk is labeled and kernel configurations allow disk labeling under /run/media/ this would pass the disk label. The earlier implementation considered that the drive name will be passed and in case the label is passed it fails. We now use a more generic approach to identify the boot drive which can handle both drive name as well as label if passed. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-05-13linux-amd: rename logitech.cfg and enable more HIDsAwais Belal
The file for logitech HID configs is renamed to so we can handle it generically for HIDs. Some more HIDs that are widely used are enabled now as well. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-05-05alsa-state: use generic naming for default deviceAwais Belal
Generic naming is used to address default device for alsa/audio. This helps in a manner that adding/removing devices from the system would not affect. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-04-16Merge pull request #132 from mwpow3ll/gstomxDrew Moseley
gstreamer1.0-omx: machine override 0001-Adjust-gstomx.conf-for-Radeon.patch
2015-04-16gstreamer1.0-omx: machine override 0001-Adjust-gstomx.conf-for-Radeon.patchMichael
2015-04-14remove openvg from PACKAGECONFIG variable in mesa recipeArindam Nath
While building the new mesa package, we are struck with the error message below. configure: error: Cannot enable OpenVG, because egl_gallium has been removed and OpenVG has not been integrated into standard libEGL yet So we remove openvg from PACKAGECONFIG variable in mesa recipe of common layer, and put the onus of adding this option to the respective meta layers who actually need it to be enabled.
2015-04-14alsa-state: set default device for alsamixerAwais Belal
Card 1 is the default device on current AMD platforms. So we update asound.conf to reflect this and make the card 1 the default device for ctl nodes as default. This allows alsamixer to open the interface directly on this card by default. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-08linux-amd: drop unneeded v86d dependenciesAwais Belal
v86d is no longer enabled in the AMD builds so we drop the unnecessary sub tasks. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-05Globally replace base_contains with bb.utils.containsAwais Belal
OE-Core has obsoleted the usage of base_contains function in favor of the bb.utils.contains functions. The earlier one will be dropped in coming releases of OE-Core. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-04amd-multimedia: install gstreamer packages only on melAwais Belal
Additional tools are only available when the distro is set to mel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-04linux-amd: disable KGDB if distro is not MELAwais Belal
Additional tools are only available when distro is set to mel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-04packagegroup-core-x11-sato: remove gaku only is distro is not MELAwais Belal
Additional tools are only available when distro is set to mel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-04packagegroup-core-tools-profile: profiling should be enabled on MEL distro onlyAwais Belal
Additional tools are only available when distro is set to mel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-03-04packagegroup-core-tools-testapps: only allow extra items on MEL distroAwais Belal
Additional tools are only available when distro is set to mel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-02-10Fix console-image supportMichael
2015-02-10Merge pull request #110 from drewmoseley/fix-se-low-powerDrew Moseley
meta-amd: Fix for gstreamer pipeline triggering DPM low power mode.
2015-02-10meta-amd: Fix for gstreamer pipeline triggering DPM low power mode.Arindam Nath
This fixes AMDDET-90 Signed-off-by: Arindam Nath <arindam.nath@amd.com> Tested-by: Drew Moseley <drew_moseley@mentor.com> Tested-by: Awais Belal <awais_belal@mentor.com>
2015-02-09linux-amd: Add mos7840 usb-serial supportMichael
2015-02-06Merge pull request #102 from drewmoseley/fix-udevadm-optionsSean Hudson
init-install: Use more generic udevadm options
2015-01-23iperf: fix out of tree configurationAwais Belal
The configure step uses a package header to check for support of types/declares, this package header encapsulates all the required system headers for providing the needed resources. When configured from an out of tree directory the package header is not found due to the hard path. We now make the path for package header relative to 'srcdir' so it is found appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-01-21psplash: fix dependency chaining for psplash-quitAwais Belal
The systemd unit for psplash-quit does not account for any display manager to be running and this can cause various failures when the service starts. One major case that was identified happens in case of Sato GUI. The xserver-nodm service which is a display manager service can start before psplash-quit is run and takes over the framebuffer then psplash-quit starts and tries to clear up the buffer and fails, leading to a crash to the Sato GUI as well. We fix this by making sure that psplash-quit is run before any display manager service is started. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-01-12linux-amd: disable SATA port multiplierAwais Belal
The SATA port multiplier does not initialize on the BE platform whereas on the SE platform as soon as the port multiplier goes up it produces a hang while booting. We now disable the SATA port multiplier support of the kernel as it seems not to be needed on any of the platforms. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2015-01-09init-install: Use more generic udevadm optionsDrew Moseley
Use options to the udevadm utility that will work with either systemd based udev or standard. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-12-31linux-amd: disable kgdb on mel-liteAwais Belal
KGDB is enabled by default in the kernel config and is not required on mel-lite so we disable it on the mentioned distro. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2014-12-31packagegroup-core-tools-profile: disable oprofile on mel-liteAwais Belal
The oprofile tools shouldn't be provided on the mel-lite so we exclude them on the specific distro. Signed-off-by: Awais Belal <awais_belal@mentor.com>