Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
20
sources/meta-freescale/scripts/generate-license-file
Executable file
20
sources/meta-freescale/scripts/generate-license-file
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
# Create or clear the LICENSE file
|
||||
echo "# License Information" > LICENSE
|
||||
echo "" >> LICENSE
|
||||
echo "This file lists all licenses used by recipes in the meta-freescale layer." >> LICENSE
|
||||
echo "" >> LICENSE
|
||||
|
||||
# Find all .bb and .inc files and extract license information
|
||||
find . -type f \( -name "*.bb" -o -name "*.inc" \) | sort | while read -r file; do
|
||||
# Extract the license line from each recipe file, if it exists
|
||||
license_line=$(grep -i "^LICENSE" "$file")
|
||||
if [ -n "$license_line" ]; then
|
||||
echo "$file: $license_line" >> LICENSE
|
||||
fi
|
||||
done
|
||||
|
||||
echo "LICENSE file has been generated and updated with current recipe licenses."
|
||||
Reference in New Issue
Block a user