From f139aab6fedfe1d9924fc205c0a61c51351e4972 Mon Sep 17 00:00:00 2001 From: Christian Hitz Date: Mon, 25 Mar 2024 22:37:24 +0100 Subject: [PATCH] package/googlefontdirectory: fix command to generate license file hashes In commit ebe5d9edfe8d07eafd7b61c4f77ce509bb98a0ad ("boot, package, support, toolchain: switch to 2 spaces for the hash file"), all hash files were migrated to use 2 spaces as the separator. However, in the googlefontdirectory hash file, a command is present in a comment to indicate how to generate the part of the hash file that provides the list of license file hashes. This command was not updated as part of ebe5d9edfe8d07eafd7b61c4f77ce509bb98a0ad, so it still emits a result in which a single space is used a separator between the hash type (sha256) and the hash value. This commit fixes that by using a 2-space separator. Signed-off-by: Christian Hitz [Thomas: extracted from https://patchwork.ozlabs.org/project/buildroot/patch/20240228145013.411919-2-christian@klarinett.li/ into a separate patch] Signed-off-by: Thomas Petazzoni --- package/googlefontdirectory/googlefontdirectory.hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/googlefontdirectory/googlefontdirectory.hash b/package/googlefontdirectory/googlefontdirectory.hash index 10f3bf60b1..a92015f509 100644 --- a/package/googlefontdirectory/googlefontdirectory.hash +++ b/package/googlefontdirectory/googlefontdirectory.hash @@ -1,7 +1,7 @@ # Locally calculated sha256 ec2ddbeee673cce1b0796e3b20fbff5fd836ce9ba6d88deed8b59154fa255f06 googlefontdirectory-94dff3eaa9301b6640cccc63c56d6ff33d82882c.tar.gz # Locally calculated with -# for i in $(find apache/ ofl/ ufl/ -name 'LICENSE.txt' -o -name 'OFL.txt' -o -name 'LICENCE.txt') ; do printf "sha256 %s\n" "$(sha256sum $i)" ; done +# for i in $(find apache/ ofl/ ufl/ -name 'LICENSE.txt' -o -name 'OFL.txt' -o -name 'LICENCE.txt') ; do printf "sha256 %s\n" "$(sha256sum $i)" ; done sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 apache/robotocondensed/LICENSE.txt sha256 3ddf9be5c28fe27dad143a5dc76eea25222ad1dd68934a047064e56ed2fa40c5 apache/opensanscondensed/LICENSE.txt sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 apache/walterturncoat/LICENSE.txt