Commit Graph

3 Commits

Author SHA1 Message Date
Rasmus Villemoes
be18f7307c scripts: avoid pointless LICENSE churn
I was wondering why a bot decided to force-push a commit to a PR of
mine. It turns out the script responsible for generating the LICENSE
file is not deterministic, so depending on random file system layout
we can end up regenerating the LICENSE without any actual change. For
example:

$ diff -u <(git show baf20676~1:LICENSE | sort) <(git show baf20676:LICENSE | sort)

shows that baf20676 didn't provide any change at all in the actual
contents, yet

$ git show --stat baf20676
commit baf20676bc
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Wed Jan 22 21:42:44 2025 +0000

    Auto-update LICENSE file with current recipe licenses

 LICENSE | 256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------
 1 file changed, 128 insertions(+), 128 deletions(-)
2025-04-02 09:18:55 -03:00
Abner C. Paula
e6a2607c8c generate-license-file: Fix layer name
Signed-off-by: Abner C. Paula <abner.cordeiro@ossystems.com.br>
2025-04-02 09:18:47 -03:00
Abner C. Paula
b3341202e2 Add workflow to automatically update LICENSE file with recipe licenses
Originally from meta-freescale-3rdparty.

Signed-off-by: Abner C. Paula <abner.cordeiro@ossystems.com.br>
(cherry picked from commit 77f6565f4a)
2025-04-01 14:12:01 -03:00