Commit graph

1697 commits

Author SHA1 Message Date
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
vxtls
c8a9d23983 fix(argp-standalone): correct sources entry spacing to keep URL/hash/filename fields aligned 2026-02-28 20:12:33 -05:00
vxtls
3178f1f9e0 Add Guix step including bootstrap bin, build guix, build iso and fix some small bug 2026-02-28 19:19:18 -05:00
vxtls
fb146bbf97 fix(steps-guix/manifest): add some comments 2026-02-28 16:30:11 -05:00
vxtls
7840891d93 fix(guile-json): update checksum 2026-02-28 16:26:47 -05:00
vxtls
c9d129b947 fix(steps-guix/guile-json-4.7.3): fix source tag name 2026-02-28 16:25:25 -05:00
vxtls
34e201ac19 fix(guile-git): update checksum 2026-02-28 16:24:40 -05:00
vxtls
53223ce77e fix(steps-guix/guile-json-4.7.3): fix source link 2026-02-28 16:19:33 -05:00
vxtls
5c242b0475 fix(guile-avahi): force AVAHI_GUILE_CROSS_COMPILING during build/install to avoid GUILEC segfaults 2026-02-28 16:10:58 -05:00
vxtls
faf86ef8c4 fix(steps-guix): add libdaemon-0.14 before avahi with autotools build step 2026-02-28 15:42:26 -05:00
vxtls
e700df32f4 fix(gdbm): patch C23-incompatible fatal_err prototypes and K&R definitions in update.c 2026-02-28 15:37:46 -05:00
vxtls
1c75638d4a fix(steps-guix): add gdbm-1.8.3 before avahi and enable avahi dbm support 2026-02-28 15:30:24 -05:00
vxtls
de73fe6d0c fix(steps-guix): add expat-2.7.4 before dbus and pin dbus cmake search paths to PREFIX 2026-02-28 15:22:40 -05:00
vxtls
8990eaaed4 fix(steps-guix): add dbus-1.16.2 step before avahi in guix manifest 2026-02-28 15:16:05 -05:00
vxtls
1ada5d4d64 fix(steps-guix): add libevent-2.1.12 before avahi dependency chain 2026-02-28 15:10:14 -05:00
vxtls
6762e8b259 fix(steps-guix): add avahi-0.8 before guile-avahi to provide avahi-client 2026-02-28 09:10:56 -05:00
vxtls
95b34d3049 feat(steps-guix): add guile-avahi, guile-git, guile-json steps 2026-02-28 08:57:49 -05:00
vxtls
8b2d63f128 feat(steps-guix): add guile-zlib and guile-lzlib build steps and wire into manifest 2026-02-27 23:11:13 -05:00
vxtls
bb2469202c fix(unzip): fix autoconf dir API probe to prevent false NO_DIR on modern compilers 2026-02-27 19:01:54 -05:00
vxtls
8300147e0f fix(unzip): avoid musl time prototype conflicts by skipping legacy gmtime/localtime declarations on linux 2026-02-27 17:22:22 -05:00
vxtls
8f60091ed2 fix(steps-guix): add unzip/sqlite/guile-sqlite3 build scripts and enable them in manifest 2026-02-26 22:27:27 -05:00
vxtls
5d63dc3c5e fix(guile-gnutls): force CROSS_COMPILING_VARIABLE in make to prevent GUILEC load-extension segfault 2026-02-26 16:30:41 -05:00
vxtls
a05880ecb5 fix(guile-gnutls): enable shared build to avoid libtool static .la naming failure 2026-02-26 11:16:38 -05:00
vxtls
ef7127bb83 fix(bootstrap): fix guile-gnutls static libtool target and make init fail-safe without panic 2026-02-26 09:40:35 -05:00
vxtls
ee0f48186e guntls: update url 2026-02-26 07:35:31 -05:00
vxtls
d4d6f6bc13 fix(steps-guix): replace p11-kit with gnutls and add static-only guile-gnutls flow with no-so patch 2026-02-25 21:02:12 -05:00
vxtls
33bb0bb2ae update hash 2026-02-25 09:51:26 -05:00
vxtls
eb9a9f4ee9 fix(libtasn1): correct gnulib source URL and verify tarball checksum 2026-02-24 23:02:15 -05:00
vxtls
25b755af8b fix(steps-guix/libtasn1): align gnulib git ref with expected bundle prefix and checksum 2026-02-24 22:57:04 -05:00
vxtls
494b08cdb2 fix(steps-guix/libtasn1): bootstrap with local gnulib bundle via GNULIB_SRCDIR and no-git 2026-02-24 22:51:18 -05:00