br2-external: move the Buildroot external tree into br2-external/
The Buildroot external tree and the workspace build orchestration share
the repository root, so BR2_EXTERNAL covers scripts/, sdk/ and the
Makefile as well. Move Config.in, external.{desc,mk}, board/, configs/,
linux/, package/, patches/ and the overlays into br2-external/, and
point the Makefile, the build scripts and package-state.py at it. Make
lint reject references from br2-external/ back into the workspace, and
document the layout in README.md.
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
bootc container host for linux-tpmdd kernel testing. Builds a live ISO/image and an OCI bootc image (rootfs-oci-latest-<arch>-linux.oci-image.tar).
br2-external/ — self-contained Buildroot definitions, board assets, packages, patches, kernel configs, and rootfs overlays.sdk/ — SDK toolchain defconfigs.scripts/, Makefile, buildroot.patch — workspace build orchestration.Buildroot prepares and validates the rootfs. Workspace scripts then produce the image manifest, live rootfs, and boot media, in that order.
make build BOARD=tpmdd_amd64 make build BOARD=tpmdd_arm64
After changing Buildroot package options, run make clean before rebuilding both targets. Incremental builds do not rebuild reverse dependencies and may otherwise combine incompatible binaries and libraries.
Artifacts under build/<BOARD>/images/:
tpmdd_amd64.iso — live test and offline installation media (UEFI)tpmdd_arm64.img — live test media for Raspberry Pirootfs-oci-latest-<arch>-linux.oci-image.tar — OCI bootc container (containers.bootc=1)image.manifest — imgref/digest metadatassh_config — generated SSH client configCONTAINER=docker ./scripts/container-build.sh
Builds every board defconfig; Buildroot downloads/ccache stay in tpmdd-cache. Export TPMDD_VERSION and/or TPMDD_TARGET_IMGREF to override the image version and target image reference. Unset variables retain their build defaults.
Build first with make build BOARD=<BOARD>. make burn only writes an existing image and requires DEVICE:
make burn BOARD=tpmdd_amd64 DEVICE=/dev/sdX make burn BOARD=tpmdd_arm64 DEVICE=/dev/sdX
Open a root SSH session with the generated client configuration:
make ssh BOARD=tpmdd_amd64