feat: complete license table with 264 packages from bitbake -e extraction
- Replace placeholder CSV (11 rows) with full 264-package inventory - All SRC_URI URLs fully resolved via bitbake -e (224/264 have URLs) - 40 packages without URLs are meta-packages/virtual providers - Add build artifacts (pn-buildlist) and regeneration instructions - Add .gitignore for __pycache__ - Update README with license distribution summary - Update Excel import instructions with actual column descriptions License distribution: MIT (41), GPL-2.0 (32), GPL-2.0+ (22), BSD-3 (19) Extraction: bitbake -e per recipe, machine=tqma6ul-multi-mba6ulx, distro=spaetzle
This commit is contained in:
44
docs/05-build-artifacts/README.md
Normal file
44
docs/05-build-artifacts/README.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Build Artifacts
|
||||
|
||||
## pn-buildlist
|
||||
|
||||
Complete list of all 264 BitBake recipes in the `tq-image-small-debug` build graph.
|
||||
|
||||
**Machine:** `tqma6ul-multi-mba6ulx`
|
||||
**Distro:** `spaetzle` (musl)
|
||||
**Yocto:** Scarthgap 5.0.11
|
||||
**BitBake:** 2.8.0
|
||||
|
||||
## Generating fresh artifacts
|
||||
|
||||
```bash
|
||||
cd ci-meta-tq
|
||||
export ACCEPT_FSL_EULA=1
|
||||
export MACHINE=tqma6ul-multi-mba6ulx
|
||||
. ./setup-environment build_ut mainline
|
||||
|
||||
# Generate dependency graph and build list
|
||||
bitbake tq-image-small-debug -g
|
||||
|
||||
# Output files:
|
||||
# - pn-buildlist (recipe list)
|
||||
# - task-depends.dot (full dependency graph, ~1.6MB)
|
||||
```
|
||||
|
||||
## Regenerating the license table
|
||||
|
||||
```bash
|
||||
# For each recipe in pn-buildlist, extract SRC_URI and LICENSE:
|
||||
while IFS= read -r recipe; do
|
||||
output=$(bitbake -e "$recipe" 2>/dev/null)
|
||||
pv=$(echo "$output" | grep '^PV=' | head -1 | sed 's/^PV="//' | sed 's/"$//')
|
||||
license=$(echo "$output" | grep '^LICENSE=' | head -1 | sed 's/^LICENSE="//' | sed 's/"$//')
|
||||
src_uri=$(echo "$output" | grep '^SRC_URI=' | head -1 | sed 's/^SRC_URI="//' | sed 's/"$//')
|
||||
first_url=$(echo "$src_uri" | grep -oP '(https?|ftp|git)://[^\s]+' | head -1 | sed 's/;.*//')
|
||||
echo "\"$recipe\",\"$pv\",\"$license\",\"$first_url\""
|
||||
done < pn-buildlist > license-table.csv
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**Generated:** 2026-03-01
|
||||
Reference in New Issue
Block a user