Skip to contentSkip to conversation

legal-info: add hash for our own license file

PATCH New Yann E. MORIN 2 participants 2 messages Jul 5, 2017 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 legal-info: add hash for our own license file

This silences the annoying warning that there is no hash file for our own COPYING file.

Also change the message so that it is more obvious what we're doing.

---
Note: the message is not properly aligned with the others, because saving our own license file is not part of a package action.

---
 Makefile                          | 4 ++--
 support/legal-info/buildroot.hash | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 support/legal-info/buildroot.hash
Makefile +2 -2
index 19d8b442a3..1c243b9c80 100644
@@ -744,8 +744,8 @@ legal-info-clean:
 
 .PHONY: legal-info-prepare
 legal-info-prepare: $(LEGAL_INFO_DIR)
-	@$(call MESSAGE,"Collecting legal info")
-	@$(call legal-license-file,buildroot,buildroot,.,COPYING,COPYING,HOST)
+	@$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info")
+	@$(call legal-license-file,buildroot,buildroot,support/legal-info,COPYING,COPYING,HOST)
 	@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,TARGET)
 	@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,HOST)
 	@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved,HOST)
support/legal-info/buildroot.hash new file +2 -0
new file mode 100644
index 0000000000..1b62dbeef7
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4  COPYING
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 legal-info: add hash for our own license file

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

This silences the annoying warning that there is no hash file for our own COPYING file.

Also change the message so that it is more obvious what we're doing.

Quoted 7 lines

---
Note: the message is not properly aligned with the others, because saving our own license file is not part of a package action.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard