generic-poky/meta/classes
Nitin A Kamble 5ae3f65531 do_distro_check: Recipe exists in other distros?
This adds a new task (distro_check) for each recipe.
The task generates the source package list for Fedora OpenSuSE
Ubuntu Debian & Mandriva Linux distros.

As one recipe or source package can generate multiple target packages
the recipe name is compared with the source package name list of LInux
distributions.

Thread locking is used to avoid multiple threads racing for the
package list update.

Then the recipe name (PN) is checked if it exists in the package
list of distros. And if the DISTRO_PN_ALIAS then it is used to copmare
pacakge_name instead of the PN variable. Just for example the
DISTRO_PN_ALIAS can be defined in the recipe (.bb) files like this

In the file xset_1.0.4.bb:

DISTRO_PN_ALIAS = "Fedora=xorg-x11-server-utils;\
   Ubuntu=x11-xserver-utils; Debian=x11-xserver-utils;Opensuse=xorg-x11"

The final results are stored in the tmp/log/distro_check-${DATETIME}.result
file.

FYI this command will generate the results for all recipies:
bitbake world -f -c distro_check

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-02 14:06:02 +01:00
..
autotools.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass Update classes to use lib/oe 2010-05-06 12:53:16 +01:00
base_srpm.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
binconfig.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
boot-directdisk.bbclass bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location and fix dependencies 2010-03-25 14:09:06 +00:00
bootimg.bbclass bootimg.bbclass: Fix dependency name 2010-03-25 17:09:15 +00:00
ccache.inc classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
ccdv.bbclass Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH 2006-11-25 10:01:30 +00:00
cmake.bbclass cmake.bbclass: added version from OE + cross-compilation support 2008-06-18 08:35:24 +00:00
cml1.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
cpan-base.bbclass perl: Update from OE.dev and convert to use do_install for staging 2009-11-18 20:05:55 +00:00
cpan.bbclass perl: Update from OE.dev and convert to use do_install for staging 2009-11-18 20:05:55 +00:00
cpan_build.bbclass perl: Update from OE.dev and convert to use do_install for staging 2009-11-18 20:05:55 +00:00
cross-canadian.bbclass Fix references to CROSS_DIR now that it has been removed 2010-04-28 16:47:14 +01:00
cross.bbclass Fix references to CROSS_DIR now that it has been removed 2010-04-28 16:47:14 +01:00
crosssdk.bbclass nativesdk/package_ipk.bbclass: Clean up sdk package architectures 2009-09-17 22:25:25 +01:00
debian.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
devshell.bbclass devshell.bbclass: Merge tweaks from OE.dev 2009-12-18 11:41:44 +00:00
distutils-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils-common-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils-native-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
flow-lossage.bbclass classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
gconf.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
gettext.bbclass gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages 2010-01-05 21:10:47 +00:00
glibc-package.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
gnome.bbclass gnome.bbclass: Convert to autotools_stage 2009-07-09 17:51:53 +01:00
gtk-doc.bbclass classes: Add gtk-doc.bbclass 2008-05-15 14:11:13 +00:00
gtk-icon-cache.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
icecc.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
image.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
insane.bbclass License Checking: convert an error into warning 2010-05-12 10:54:05 -07:00
insserv.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
kernel-arch.bbclass kernel-arch.bbclass: merge improved arch detection from OE.dev 2010-05-20 15:15:55 +01:00
kernel.bbclass kernel.bbclass: Simplify the current external module code 2010-05-24 11:14:56 +01:00
lib_package.bbclass lib_package.bbclass: Sync with OE.dev to remove hardcoded layout assumption 2009-11-16 10:53:16 +00:00
linux-kernel-base.bbclass linux-kernel-base.bbclass: merge version detection updates from upstream 2010-05-20 14:14:22 +01:00
meta.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
metadata_scm.bbclass base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised 2010-03-19 23:12:06 +00:00
mirrors.bbclass base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised 2010-03-19 23:12:06 +00:00
module-base.bbclass module*.bbclass: set AR to KERNEL_AR during building of kernel modules 2008-01-08 14:40:51 +00:00
module.bbclass module.bbclass: Fix external module version dependencies 2008-05-21 09:35:53 +00:00
module_strip.bbclass Fix references to CROSS_DIR now that it has been removed 2010-04-28 16:47:14 +01:00
mozilla.bbclass mozilla.bbclass: Fix pkgconfig usage for pkgconfig sysroot 2009-01-23 15:51:44 +00:00
native.bbclass relocatable.bbclass: remove hard-coded rpaths from native binaries 2010-02-11 16:21:09 +00:00
nativesdk.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
openmoko-base.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
openmoko-panel-plugin.bbclass openmoko-panel-gsm: add openmoko-panel-gsm, om-panel-plugin.bbclass, and srvrev 2008-08-08 14:43:09 +00:00
openmoko.bbclass openmoko: added classes needed by openmoko-libs 2007-07-09 14:21:05 +00:00
openmoko2.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
package.bbclass package.bbclass: Clear package directory copy before installing new files to prevent stale data 2009-11-20 17:11:27 +00:00
package_deb.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
package_ipk.bbclass package_ipk.bbclass: Tweak handling for all/any/noarch and nativesdk 2010-01-14 13:16:13 +00:00
package_rpm.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
package_tar.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
packaged-staging.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
packagedata.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
packagehistory.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
patch.bbclass patch.bbclass: Merge patch enhancements from OE by Chris Larson 2010-06-01 15:17:12 +01:00
patcher.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkg_distribute.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkg_metainfo.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkgconfig.bbclass pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm) 2009-07-07 15:13:56 +01:00
pkgconfig_stage.bbclass binconfig/pkgconfig.bbclass: Convert staging functions into SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR 2009-11-13 12:15:22 +00:00
poky-autobuild-notifier.bbclass poky-autobuild-notifier.bbclass: Remove unneeded recipients 2009-06-15 22:51:42 +01:00
poky-image.bbclass poky-image/moblin-image.bbclass: Fix a typo noticed by Mike Turquette 2009-01-23 16:03:58 +00:00
poky.bbclass poky.bbclass: Use pokylinux.org stashes as PREMIRRORS for vcs' 2010-02-04 00:18:29 +00:00
qmake2.bbclass qmake: Turn native package into a cross package since it touches target staging 2007-12-12 08:43:07 +00:00
qmake_base.bbclass Import files from OE to build WebKit (patch to link icu required) 2007-12-06 10:23:27 +00:00
relocatable.bbclass relocatable.bbclass: reduce the amount of output 2010-05-24 17:25:28 +01:00
rm_work.bbclass rm_work.bbclass: Update for bitbake 1.8.8 2007-09-01 16:45:43 +00:00
rootfs_deb.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
rootfs_ipk.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
rootfs_rpm.bbclass rootfs_rpm: Explicitly add runtime dependencies to depends 2010-03-26 12:23:11 +00:00
sanity.bbclass sanity.bbclass: Check for SDKMACHINE=i686 and error if found 2010-06-01 17:25:05 +01:00
scons.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
sdl.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
singlemachine.bbclass Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option 2008-07-17 20:49:48 +00:00
sip.bbclass sip.bbclass: Sync with OE 2007-09-02 11:07:13 +00:00
siteinfo.bbclass base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson] 2010-03-19 18:08:35 +00:00
sourcepkg.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
src_distribute.bbclass src_distribute: fix when licenses are separated with |, renamed vars to more readable ones 2007-06-07 13:40:27 +00:00
src_distribute_local.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
srec.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
staging.bbclass base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised 2010-03-19 23:12:06 +00:00
syslinux.bbclass syslinux.bbclass: Clean up boot menu title 2008-10-17 08:39:34 +00:00
task.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
tinderclient.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
tmake.bbclass Remove hardcoded staging layout assumptions 2007-11-12 11:10:08 +00:00
update-alternatives.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
update-rc.d.bbclass update-rc.d: Add native version, add native dependency to class, convert staging function 2009-11-16 22:00:22 +00:00
utility-tasks.bbclass do_distro_check: Recipe exists in other distros? 2010-06-02 14:06:02 +01:00
utils.bbclass Update classes to use lib/oe 2010-05-06 12:53:16 +01:00
xfce.bbclass xfce.bbclass: Fix SRC_URI (from OE.dev) 2010-05-06 12:03:31 +01:00
xlibs.bbclass Remove layout_* variables 2009-09-17 22:24:36 +01:00