Commit Graph

9 Commits

Author SHA1 Message Date
Rasmus Villemoes
0602af4c78 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-01-29 09:40:23 +01:00
Abner C. Paula
634e2342f0 generate-license-file: Fix layer name
Signed-off-by: Abner C. Paula <abner.cordeiro@ossystems.com.br>
2024-12-05 11:11:00 -03:00
Abner C. Paula
77f6565f4a 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>
2024-12-05 10:32:47 -03:00
Otavio Salvador
bfa2a3b98d Ensure we fail if old SoC overrides are in use
To assist existing layers to convert to the new BSP-specific
overrides. Besides failing the parsing of the recipes where it is in
use, we provide a script to automate most of it.

Fixes: #990.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-03-03 10:41:35 -03:00
Otavio Salvador
11d2434b08 wic: Move all wks files to root layer directory
The wic looks for wks files in many places. The root layer directory
is one of those and makes much easier to find the wks files for
reference and use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-29 16:27:02 -03:00
Fabio Berton
bbfff7c1bb wic: imx-uboot-spl: Change u-boot suffix to img
Currently all machines that use SPL are using u-boot.img.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-19 17:49:58 -02:00
Fabio Berton
9c77a0bdf4 wic: Change wks files path
WKS_SEARCH_PATH searches inside scripts/lib/wic/canned-wks, rename
scripts/lib/image/canned-wks/ to scripts/lib/wic/canned-wks/.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-19 17:49:58 -02:00
Otavio Salvador
17c06b4676 wic: Change reference wks files to avoid /boot partition use
For the sake of user-friendness we will avoid the use of /boot
partition.

The use of wic images, using this layout, is simpler as it does not
require manual setting of IMAGE_BOOT_FILES and thus allow for generic
use across different machines.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-19 17:49:58 -02:00
Otavio Salvador
f8517afc7a Move meta-fsl-arm content to layer root
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.

This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16 15:01:29 -03:00