]> code.ossystems Code Review - openembedded-core.git/commit
License Change checking:
authorNitin A Kamble <nitin.a.kamble@intel.com>
Tue, 11 May 2010 23:25:39 +0000 (16:25 -0700)
committerNitin A Kamble <nitin.a.kamble@intel.com>
Tue, 11 May 2010 23:25:39 +0000 (16:25 -0700)
commit2ca1f78a9578d9c2095be548aeda523b61ee840c
treecbf1dc64c07aff1347260fee4cfdca3d9fffeb98
parentc89362c767ba3255358f5bf5630bdef8cb3d107d
License Change checking:

Added a new variable in recipe : LIC_FILES_CHKSUM

It is a required field for every recipe.

It describes license text location in the source files. And also stores
md5sum of that license text. Any change in this license text triggers build
error. Which enables developer to review any changes in the license and
update the license fields in the recipe accordingly.

For Example: contents of zlib_1.2.3.bb
LICENSE = "zlib"
LIC_FILES_CHKSUM = "file://README;md5=ae764cfda68da96df20af9fbf9fe49bd \
  file://zlib.h;beginline=1;endline=30;md5=6ab03f03a5ee92d06b809797d4d5586d "

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/classes/insane.bbclass
meta/packages/zlib/zlib_1.2.3.bb