core/legal-info: generate a hash of all saved files
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 7 May 2016 16:14:36 +0000 (18:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Jun 2016 14:56:50 +0000 (16:56 +0200)
commit7bfce06a4c6b4c2badeb52065c2184096031df9f
tree46c5021f2dd3ff955875d367d9d6fa7284f7afa4
parentd271f89b0823987b3fa4db83166692da928c69f6
core/legal-info: generate a hash of all saved files

Having a hash of the saved files can be interesting for the recipient to
verify the integrity of the files.

We remove the warning file earlier, to exclude it from the hash
list.

We generate the hash list in a temporary file that will not be matched
by the "find" expression, and once the file is generated, we remain it
to its final name.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: adjust indentation, improve commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile