No description
- BitBake 72.8%
- Shell 20.5%
- Python 3.8%
- C 1.8%
- C++ 0.7%
- Other 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Seed rungs are throwaway compilers that only build the next rung, so oe-core's reproducibility, selftest, StdarchVerify, unstable-options and riscv32 patches buy nothing there; the final rust keeps its full oe-core patch set. Both rungs build cleanly from the bare tarball, except the bottom rung, which still needs our lib64 mirror fix for stagex core-rust's split rustlib layout. Each rust-source_<PV>.bb now sets only its tarball checksum (plus that one patch on 1.98.0), the shared tarball and work-shared paths move to wak-rust-seed-source.inc, and the per-version source includes, files-1.99/ and six patches in files/ are deleted. Also fix a stale 1.99.1 reference in rust_1.100.0.bbappend. |
||
| .pi/skills/bitbake | ||
| classes-global | ||
| classes-recipe | ||
| conf | ||
| docs | ||
| linux-old | ||
| recipes-bsp | ||
| recipes-connectivity | ||
| recipes-containers | ||
| recipes-core | ||
| recipes-devtools | ||
| recipes-extended | ||
| recipes-filter | ||
| recipes-kernel | ||
| recipes-networking/cni | ||
| recipes-protocols | ||
| recipes-support | ||
| recipes-wak | ||
| setup | ||
| tools | ||
| AGENTS.md | ||
| packageconfig-options.md | ||
| README.md | ||
Building wak
Layer set is managed with bitbake-setup (ships in the bitbake repo) using the
JSON configs in setup/.
setup/wak-train.conf.json— rolling: upstream layers atmaster. Sync:bitbake-setup updateinside the train setup.setup/wak-stable.conf.json— pinned: full SHAs. This file at a given meta-wak commit reproduces the entire environment. Regenerate only viasetup/promote-stable.shafter a green train build.
From scratch (needs only git, python3, tar)
git clone https://forgejo.wak.io/wak/meta-wak ~/yocto/meta-wak
~/yocto/meta-wak/setup/bootstrap.sh # -> ~/yocto/wak-stable
(top dir: WAK_TOP env or first arg, default ~/yocto)
Build — via the minimal debian-slim container (podman, read-only rootfs, host networking, runs as your uid). All args pass straight to bitbake:
echo 'MACHINE = "opi5-server"' >> ~/yocto/wak-stable/build/conf/local.conf
meta-wak/tools/build-in-container wak-shell-image
Pick the machine per-invocation without touching local.conf:
WAK_MACHINE=x86_64-server meta-wak/tools/build-in-container wak-linux-uki
(WAK_MACHINE, WAK_TOP, WAK_SETUP, WAK_IMAGE are the wrapper's
knobs; plain MACHINE= in the env is intentionally not honoured — a local.conf
assignment would silently outrank it.)
meta-wak itself is symlinked from your checkout (-L), so the checked-out
commit is the meta-wak pin. Downloads and sstate live in <top>/dl and the
setup's tmp/; bitbake-setup never modifies the symlinked layer.
Train -> stable
# one-time train setup (train config has upstream at master):
bitbake-setup init --non-interactive -L meta-wak ~/yocto/meta-wak \
setup/wak-train.conf.json wak-train
# later, to sync: source the train build env, then `bitbake-setup update`
# build green? then from the meta-wak checkout:
setup/promote-stable.sh ~/yocto/wak-train
git commit -m 'setup: pin stable layers' setup/wak-stable.conf.json