summaryrefslogtreecommitdiffstats
path: root/package/devmem2/devmem2.hash
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-07-04 00:04:55 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-07-04 00:04:55 +0200
commita1b630779f78e0413d8d70ffcc209e412c9f887f (patch)
tree18297e1bb5f4ca51da5cf009e6451d3ba1c2dfd7 /package/devmem2/devmem2.hash
parent2ba0ec576e7e4ad712f45ece1fec4b35f11b9774 (diff)
downloadbuildroot-a1b630779f78e0413d8d70ffcc209e412c9f887f.tar.gz
buildroot-a1b630779f78e0413d8d70ffcc209e412c9f887f.zip
package/devmem2: fix legal-info
Fixes: http://autobuild.buildroot.net/results/1c6/1c69c77d7b378f6f76790fb5ca0078d0db0c40f8 devmem2 is a single C file that is downloaded as-is, and we patch it. We also use that file as the license file. Thus, the file when it is downloaded has a specific hash, but when saved by legal-info, it has a different hash. However, we can't store two different hashes for the same _filename_ with different content. So, we extract the license file as a pre-patch hook, and store it in a separate file, for which we can now add a hash. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/devmem2/devmem2.hash')
-rw-r--r--package/devmem2/devmem2.hash1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/devmem2/devmem2.hash b/package/devmem2/devmem2.hash
index fff5306b7e..aa638d631d 100644
--- a/package/devmem2/devmem2.hash
+++ b/package/devmem2/devmem2.hash
@@ -1,2 +1,3 @@
# Locally calculated
sha256 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 devmem2.c
+sha256 560913d09310d446920c16bd0aca1ff21d3b6fedd527195bacfc832ce343e0ae devmem2.c.license
OpenPOWER on IntegriCloud