core/pkg-utils: check hashes of license files
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 25 Jun 2017 22:03:40 +0000 (00:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Jul 2017 16:03:51 +0000 (18:03 +0200)
commit518b797b2b6627a5dfa178ca60e5420becf64e96
treea3c47237bee28b885ae2785fd6ca417fe183398e
parentea5695b5dff7a64187b86e8b52a3e6d18f50affd
core/pkg-utils: check hashes of license files

This will help catch a change of license even if the filename does
not change.

For now, a missing hash for the license files is not a fatal error, to
let people catch up and add them. When we switch to make it mandatory,
we can simplify the code by just removing the case statement.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-utils.mk