Commit graph

1726 commits

Author SHA1 Message Date
vxtls
0669db4e72 fix(steps-guix): install bash-5.3-1 to /usr/bin in addition to seed prefix for runtime script chaining 2026-03-04 12:55:55 -05:00
vxtls
82124dfd91 refactor(stage0-breakpoint): use deterministic steps-guix refresh policy for break vs resume modes 2026-03-04 09:45:45 -05:00
vxtls
2778fe40a9 fix(env): include /bin in PATH so steps-guix script chaining can find bash 2026-03-03 20:59:12 -05:00
vxtls
d3446750ad chore(steps-guix): remove deprecated bash-4.4.23-1 step 2026-03-03 19:53:30 -05:00
vxtls
1d73a27e94 feat(steps-guix): upgrade bootstrap bash seed from 4.4.23 to 5.3 2026-03-03 19:46:15 -05:00
vxtls
f21234e1cb fix(bash-4.4.23-1): complete mkbuiltins prototype fixes for C23 2026-03-03 19:30:30 -05:00
vxtls
9d1870c931 refactor(stage0-image): remove python-side resume network patching logic 2026-03-03 19:23:38 -05:00
vxtls
1d9c9b973b fix(bash-4.4.23-1): update mkbuiltins prototypes and definitions for C23 2026-03-03 19:21:23 -05:00
vxtls
f11bbe6733 refactor(resume-init): move network bring-up into generated jump init and keep checkpoint compatibility patch 2026-03-03 19:18:51 -05:00
vxtls
84400964ed fix(stage0-resume): wrap jump-resume init with dhcpcd bring-up before continuing scripts 2026-03-03 19:10:38 -05:00
vxtls
35a570bc4e fix(mirror): bind file mirror server to 0.0.0.0 for qemu guest access via 10.0.2.2 2026-03-03 19:03:02 -05:00
vxtls
b733cf2526 fix(stage0-resume): avoid false /init guix handoff check and preserve steps-guix resume scripts 2026-03-03 18:56:09 -05:00
vxtls
7253e3fb33 feat(qemu-ci): scope internal breakpoints as steps:NAME or steps-guix:NAME with default steps-guix recopy 2026-03-03 13:14:27 -05:00
vxtls
4e67035e5e fix(bash-4.4.23-1): make SIGRETURN robust on linux when VOID_SIGHANDLER probe mismatches 2026-03-03 12:56:14 -05:00
vxtls
1009bfa847 fix(bash-4.4.23-1): add C23 list function prototype patch and enable src_prepare default 2026-03-03 10:01:56 -05:00
vxtls
d1b466c047 fix(generator): enforce stage-bounded distfile sets before curl/import and stage repo minimally 2026-03-03 09:01:13 -05:00
vxtls
b1642d63bc refactor(generator): enforce manifest-only distfile copy in kernel-bootstrap modes 2026-03-03 08:48:34 -05:00
vxtls
95b25afdcd fix(kernel-bootstrap): place pre-network distfiles back into init image paths 2026-03-03 08:40:58 -05:00
vxtls
85c389044d fix(kernel-bootstrap): unify external raw container flow and remove default second disk 2026-03-03 08:33:19 -05:00
vxtls
919200478b fix(guix-bzip2): install via DESTDIR-prefixed PREFIX to avoid empty package and lost /usr/bin/bzip2 2026-03-02 22:28:28 -05:00
vxtls
afec884ea5 fix(guix-bzip2): enforce static install and validate runnable bzip2 during apply 2026-03-02 19:42:31 -05:00
vxtls
6dfc8d5c85 fix(bzip2): install artifacts to both /usr and bootstrap-seeds 2026-03-02 17:01:44 -05:00
vxtls
f2a151e96b fix(payload-import): ASM only enable for i386 fiwix/linux, undefined for other arch 2026-03-02 13:23:36 -05:00
vxtls
e19f13fcd4 fix(gawk): make strtod patch apply cleanly by dropping obsolete declaration 2026-03-02 12:59:21 -05:00
vxtls
197f1755e9 fix(manifest): run import_payload after move_disk so payload extraction uses main disk capacity instead of fiwix initrd 2026-03-02 12:48:10 -05:00
vxtls
e821482aaf fix(payload-import): add precise read/write/truncation diagnostics and clean partial outputs on copy failure 2026-03-02 11:45:39 -05:00
vxtls
38f8769fce fix(payload-import): mount proc via syscall in payload-import and enumerate payload candidates strictly from /proc/partitions major/minor 2026-03-02 10:42:58 -05:00
vxtls
96765e2121 fix(gawk): patch legacy strtod declaration to modern prototype in node.c 2026-03-02 10:30:18 -05:00
vxtls
de8378520a fix(import-payload): detect payload strictly from /proc/partitions major/minor 2026-03-02 09:51:42 -05:00
vxtls
25f8311767 fix(payload-import): align with pre-util-linux toolchain by removing mount/S_ISBLK dependencies and probing only existing block nodes 2026-03-02 09:01:30 -05:00
vxtls
c37acaaebe fix(gawk): patch mpfr callback prototype to match mpfr function signatures 2026-03-02 08:09:54 -05:00
vxtls
6b37393704 fix(payload-import): remove mount(8) dependency and import by kernel-enumerated block devices via /proc/partitions 2026-03-02 07:53:37 -05:00
vxtls
45ba6a367d fix(gawk): add typed read_func prototype patch and validate with dry-run AND
fix(import-payload): switch to procfs /proc/partitions major/minor enumeration with magic-verified payload import
2026-03-01 23:04:16 -05:00
vxtls
17e88a89a8 fix(payload-discovery): mount proc and probe devices from /proc/partitions with magic-based selection 2026-03-01 22:08:37 -05:00
vxtls
5eac7edb91 fix(guix-bootstrap): wire mes seeds into bootstrap.scm and align xz seed link mode with Guix static bootstrap 2026-03-01 22:00:50 -05:00
vxtls
5e4c88782f fix(gawk-4.2.1): add C23-compatible readfunc prototype patch 2026-03-01 21:21:42 -05:00
vxtls
beb9fb12f9 refactor+docs(payload.img, payload.img discovery): split offline distfiles at improve: import_payload so main image is minimal and payload.img is primary carrier, detect payload.img automaticly using magic number 2026-03-01 21:05:29 -05:00
vxtls
e20afe69bb fix(gawk): patch bundled getopt prototypes to match modern libc declarations 2026-03-01 19:37:54 -05:00
vxtls
500bce68eb fix(payload-import): build static binary to remove /mes/loader runtime dependency in fiwix stage 2026-03-01 19:00:22 -05:00
vxtls
1b01d22612 fix(payload-import): run import after bash+device-node setup and remove kaem-stage node management 2026-03-01 16:00:13 -05:00
vxtls
9fc53eb1cd fix(payload-import): remove early-stage test/elif usage and use kaem-safe device setup 2026-03-01 15:11:07 -05:00
vxtls
aa36ef046c fix(dbus): use relative CMake install dirs so dbus-1.pc exports valid include/lib paths 2026-03-01 14:41:33 -05:00
vxtls
e08abd6777 fix(payload-import): replace unsupported kaem elif with nested if for checksum branch 2026-03-01 14:24:18 -05:00
vxtls
f30c20b7be fix(kernel-bootstrap): restore kexec-fiwix baseline and move post-fiwix distfiles into raw payload import path
The instability was not caused by kexec-fiwix logic itself but by oversized early-stage payload pressure in kernel-bootstrap mode.
When too many distfiles are injected before the Fiwix handoff, the early memory/file-table assumptions become fragile and KVM can fail during transition.
This change restores kexec-fiwix.c to the known baseline (matching commit 984b8322...) and fixes the actual failure mode by moving non-early distfiles out of the initial image.

What changed:
- Keep only bootstrap-required distfiles in early init image.
- Generate a separate raw payload image (LBPAYLD1 format) for the remaining distfiles.
- Attach payload image as an extra disk in QEMU/bare-metal kernel-bootstrap flow.
- Add a dedicated C89/tcc-compatible importer (payload-import) that scans payload disks and copies files into /external/distfiles after jump: fiwix.
- Insert improve: import_payload immediately after jump: fiwix so the full distfile set is restored before heavy build steps continue.
- Add PAYLOAD_REQUIRED config gating so this behavior is active only in kernel-bootstrap paths that need it.

Why this design:
- Preserves minimal early environment assumptions (no dependency on full shell utilities for the copy operation itself).
- Avoids adding filesystem-construction toolchain dependencies for the payload container by using a simple length-prefixed raw format.
- Keeps bare-metal and QEMU behavior aligned: both can carry full build artifacts without overloading the early handoff stage.
- Leaves kexec-fiwix behavior deterministic and auditable by reverting to a known-good baseline implementation.
2026-03-01 13:45:16 -05:00
vxtls
11c4dd8c01 fix(kexec-fiwix): restore stable entry translation and keep interrupts disabled before trampoline jump 2026-03-01 10:52:14 -05:00
vxtls
57cd56af1f fix(avahi): export dbus pkg-config flags and libdir for header discovery 2026-03-01 10:03:57 -05:00
vxtls
d588f4d83f fix(kexec-fiwix): NOT TESTED, JUST A TRY compute entry point from PT_LOAD mapping instead of first-phdr heuristic 2026-03-01 09:20:52 -05:00
vxtls
9db40954d2 fix(kexec-fiwix): humm, not sure, harden initrd metadata checks and keep interrupts disabled before jump 2026-02-28 23:03:53 -05:00
vxtls
7f6be11622 fix(avahi): use gdbm backend and disable conflicting dbm option 2026-02-28 22:50:56 -05:00
vxtls
564ad875ab fix(libdaemon): let configure auto-detect triplet for legacy musl-incompatible config.sub 2026-02-28 21:07:23 -05:00