Reorganize the source checkout layout
Separate tracked source from generated artifacts so the repo root stops accumulating helper scripts, manifests, and local runtime outputs. Move manual shell entrypoints under scripts/, manifests under config/, and the Firecracker API reference under docs/reference/. Make build and runtimebundle now target build/bin, build/runtime, and build/dist as the canonical source-checkout paths. Update runtime discovery, helper scripts, tests, and docs to follow the new layout while keeping legacy source-checkout runtime fallbacks for existing local bundles during migration. Validated with bash -n on the moved scripts, make build, and GOCACHE=/tmp/banger-gocache go test ./....
This commit is contained in:
parent
2362d0ae39
commit
01c7cb5e65
23 changed files with 296 additions and 186 deletions
|
|
@ -5,10 +5,10 @@
|
|||
# to the Void image yet; banger image build still assumes the Debian flow.
|
||||
# If you run `make void-kernel`, also merge the commented kernel/initrd/modules lines.
|
||||
|
||||
runtime_dir = "/abs/path/to/banger/runtime"
|
||||
runtime_dir = "/abs/path/to/banger/build/runtime"
|
||||
default_image_name = "void-exp"
|
||||
default_rootfs = "/abs/path/to/banger/runtime/rootfs-void.ext4"
|
||||
default_work_seed = "/abs/path/to/banger/runtime/rootfs-void.work-seed.ext4"
|
||||
# default_kernel = "/abs/path/to/banger/runtime/void-kernel/boot/vmlinux-6.12.77_1"
|
||||
# default_initrd = "/abs/path/to/banger/runtime/void-kernel/boot/initramfs-6.12.77_1.img"
|
||||
# default_modules_dir = "/abs/path/to/banger/runtime/void-kernel/lib/modules/6.12.77_1"
|
||||
default_rootfs = "/abs/path/to/banger/build/runtime/rootfs-void.ext4"
|
||||
default_work_seed = "/abs/path/to/banger/build/runtime/rootfs-void.work-seed.ext4"
|
||||
# default_kernel = "/abs/path/to/banger/build/runtime/void-kernel/boot/vmlinux-6.12.77_1"
|
||||
# default_initrd = "/abs/path/to/banger/build/runtime/void-kernel/boot/initramfs-6.12.77_1.img"
|
||||
# default_modules_dir = "/abs/path/to/banger/build/runtime/void-kernel/lib/modules/6.12.77_1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue