Capsem Initrd Builder

•
54
•

Automates initrd repacking and guest binary management for fast Capsem VM iteration loops.

This skill streamlines the development of Capsem guest environments by automating the cross-compilation and injection of guest binaries into the initrd. It enables a high-speed iteration cycle (~10 seconds) by bypassing the need for full rootfs rebuilds when modifying guest agents, init scripts, or diagnostic tools. The skill ensures that critical binaries like PTY agents and network proxies are correctly packaged with strict read-only permissions and handled by the capsem-init fallback logic during boot.

主な機能

01Intelligent boot-time binary override logic via capsem-init
02Automated cross-compilation of Rust-based guest agents
03Integrated management for system utilities, proxies, and diagnostics
04Fast 10-second iteration loop for guest binary updates
05Secure initrd repacking with enforced read-only permissions (chmod 555)
0654 GitHub stars

ユースケース

01Adding new guest binaries or agents to the Capsem VM environment
02Modifying the PID 1 init script without a full rootfs rebuild
03Testing guest-side diagnostic scripts and snapshot management tools