From 6b82b70c9335d6cf6a0b84cb61392c2589ef12f7 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 1 Jun 2010 16:19:22 -0700 Subject: Handbook: Documentation for DISTRO_PN_ALIAS Signed-Off-By: Nitin A Kamble
- configuring the LIC_FILES_CHKSUM variable + Configuring the LIC_FILES_CHKSUM variable The changes in the license text inside source code files is tracked using the LIC_FILES_CHKSUM metadata variable. @@ -885,7 +885,50 @@ specify "beginline" and "endline" parameters.
+
+ Configuring the DISTRO_PN_ALIAS variable + +Sometimes the names of the same packages are different in different +linux distributions; and that can becomes an issue for the distro_check +task to check if the given recipe package exists in other linux distros. +This issue is avoided by defining per distro recipe name alias: +DISTRO_PN_ALIAS + + +
+ Specifying the DISTRO_PN_ALIAS variable + + +DISTRO_PN_ALIAS = "distro1=package_name_alias1; distro2=package_name_alias2 \ + distro3=package_name_alias3; \ + ..." + + +Look at the meta/packages/xorg-app/xset_1.0.4.bb recipe file for an example. + + + +The current code can check if the src package for a recipe exists in the latest +releases of these distributions automatically. + + +Fedora, OpenSuSE, Debian, Ubuntu, Mandriva + + +For example, this command will generate a report, listing which linux distros include the +sources for each of the poky recipe. + + +bitbake world -f -c distro_check + + +The results will be stored in the build/tmp/log/distro_check-${DATETIME}.results file. + + +
+
+ -- cgit v1.2.3-54-g00ecf