No description
  • BitBake 72.8%
  • Shell 20.5%
  • Python 3.8%
  • C 1.8%
  • C++ 0.7%
  • Other 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
William A. Kennington III f1eb493f3a rust: drop oe-core patches from the seed rungs.
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.
2026-11-21 22:13:45 -08:00
.pi/skills/bitbake wak: Layer cleanup, distro ThinLTO policy, EROFS+zstd, and dep trims 2026-11-04 01:06:22 -08:00
classes-global rust, bcachefs-tools, wak: add 1.99.0 seed rung and bump Rust to 1.100.0. 2026-11-21 21:26:17 -08:00
classes-recipe wak-rust-policy, wak-rust-caudit: centralize musl Cargo and bindgen plumbing. 2026-11-21 19:44:32 -08:00
conf rust, bcachefs-tools, wak: add 1.99.0 seed rung and bump Rust to 1.100.0. 2026-11-21 21:26:17 -08:00
docs machines: standardize names to x86_64-vm, x86_64-server, opi5-server, rock5b-server 2026-11-13 20:18:41 -08:00
linux-old Big dump 2026-05-16 21:56:08 -07:00
recipes-bsp u-boot: unify defconfig, fix Clang LTO, update rkbin to v1.24 2026-11-15 06:14:54 -08:00
recipes-connectivity recipes: sync PACKAGECONFIG comment headers with upstream master 2026-11-10 21:57:51 -08:00
recipes-containers recipes: sync PACKAGECONFIG comment headers with upstream master 2026-11-10 21:57:51 -08:00
recipes-core glibc, vim-tiny: sync PACKAGECONFIG comment headers with upstream master. 2026-11-21 21:26:17 -08:00
recipes-devtools rust: drop oe-core patches from the seed rungs. 2026-11-21 22:13:45 -08:00
recipes-extended shadow: clear native PACKAGECONFIG so useradd drops unstaged libacl 2026-11-10 21:57:50 -08:00
recipes-filter wak: Layer cleanup, distro ThinLTO policy, EROFS+zstd, and dep trims 2026-11-04 01:06:22 -08:00
recipes-kernel linux-wak: refine x86_64-server config, add zram, and normalize kCFI. 2026-11-21 19:52:20 -08:00
recipes-networking/cni WAK WIP 2026-10-31 15:56:19 -07:00
recipes-protocols Big override cleanup 2026-05-19 23:21:10 -07:00
recipes-support glibc, vim-tiny: sync PACKAGECONFIG comment headers with upstream master. 2026-11-21 21:26:17 -08:00
recipes-wak wak: Layer cleanup, distro ThinLTO policy, EROFS+zstd, and dep trims 2026-11-04 01:06:22 -08:00
setup setup: promote wak-stable to latest master. 2026-11-21 21:26:17 -08:00
tools boot-uki: disable KVM vPMU by default 2026-11-14 01:11:55 -08:00
AGENTS.md setup/bootstrap.sh, AGENTS.md: automate setup syncing in place. 2026-11-21 19:44:33 -08:00
packageconfig-options.md wak: Layer cleanup, distro ThinLTO policy, EROFS+zstd, and dep trims 2026-11-04 01:06:22 -08:00
README.md machines: standardize names to x86_64-vm, x86_64-server, opi5-server, rock5b-server 2026-11-13 20:18:41 -08:00

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 at master. Sync: bitbake-setup update inside 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 via setup/promote-stable.sh after 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