]> code.ossystems Code Review - openembedded-core.git/commitdiff
modutils-collateral:Add license checksum to bb file
authorMei Lei <lei.mei@intel.com>
Fri, 26 Nov 2010 07:23:38 +0000 (15:23 +0800)
committerSaul Wold <sgw@linux.intel.com>
Thu, 2 Dec 2010 04:47:05 +0000 (20:47 -0800)
Get md5sum of COPYING.MIT file which under the meta directory, because this recipe is a local recipe, so we need to find the license file under the meta.
Import a new varible "L" to record the license file path. [sgw@linux.intel.com: removed]

[sgw@linux.intel.com]: remove changes to insane.bbclass and bitbake.conf, use the ${POKYBASE} variable instead.

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-kernel/modutils/modutils-collateral.bb

index 6d010a575440d1fd343f209ac453a76ac39c7d9f..01966244ab647a671a413b38c700b1fa3ad71552 100644 (file)
@@ -2,9 +2,9 @@ SECTION = "base"
 DESCRIPTION = "modutils configuration files"
 PR = "r3"
 LICENSE = "MIT"
-
+LIC_FILES_CHKSUM = "file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://modules \
-          file://modules.conf"
+          file://modules.conf" 
 
 do_compile () {
 }