vhaudiquet
7a37f99030
feat: detect shell for --kernel
...
- Move detect_shell() to new src/utils.rs for reuse
- Use detected shell in QEMU VM mode (bash when available)
- Update chroot.rs and qemu_vm.rs to use shared function
2026-06-17 11:13:05 +02:00
vhaudiquet
d52310c0f4
feat: set unique hostname in QEMU VM mode
...
Generate hostname like "ecr-vm-<hex>" at boot time via kernel command
line, leaving initramfs cacheable. Set via echo to /etc/hostname and
hostname command before spawning shell.
2026-06-17 10:52:00 +02:00
vhaudiquet
b3ffa89faa
fix: handle hard links in initramfs creation
...
- Track inodes to avoid duplicating data for hard-linked files
- Use fast compression level for faster initramfs creation
2026-06-17 10:40:10 +02:00
vhaudiquet
3e3af3dab8
feat: add progressbar for initramfs compression
2026-06-17 10:11:04 +02:00
vhaudiquet
4475dff141
feat: add progressbar for extraction and initramfs creation
2026-06-17 00:11:12 +02:00
vhaudiquet
a81e699619
fix: enable job control for shell with --kernel
2026-06-16 23:38:09 +02:00
vhaudiquet
8875bcc92a
feat: do not display kernel logs with --kernel
2026-06-16 22:07:28 +02:00
vhaudiquet
931a6dcfd5
feat: use cpio crate for initramfs creation
...
Add the `cpio` crate as dependency, removing e2fsprogs external dependency.
2026-06-16 20:31:25 +02:00
vhaudiquet
4f44af4449
feat: add --kernel flag for QEMU system emulation mode
...
Add --kernel <PATH> option to boot extracted rootfs in a QEMU virtual
machine instead of namespace/chroot mode. The rootfs is converted to an
ext4 disk image using mke2fs and booted with the provided kernel.
2026-06-16 19:16:34 +02:00
vhaudiquet
c163f89cb2
readme: add animated GIF with usage
CI / Format (push) Successful in 9s
CI / Check (push) Successful in 40s
CI / Clippy (push) Successful in 19s
CI / Test (push) Successful in 34s
2026-06-15 17:17:29 +02:00
vhaudiquet
3a0d78b048
fix: correctly propagate exit codes without printing them
CI / Clippy (push) Successful in 23s
CI / Format (push) Failing after 10m51s
CI / Check (push) Failing after 12m5s
CI / Test (push) Failing after 13m28s
2026-06-15 17:01:59 +02:00
vhaudiquet
91d6225946
ci: add ci pipeline
CI / Check (push) Failing after 11m45s
CI / Test (push) Failing after 11m59s
CI / Clippy (push) Failing after 13m13s
CI / Format (push) Failing after 14m14s
2026-06-09 19:47:23 +02:00
vhaudiquet
b12a8db34b
readme: README.md
2026-06-09 19:15:38 +02:00
vhaudiquet
04ed1f25ae
feat: basic functionality
2026-06-09 19:09:57 +02:00
vhaudiquet
a3339f9d34
feat: hello, world!
2026-06-08 18:44:10 +02:00
vhaudiquet
5cb0428876
initial commit: SPEC.md, implementation spec
2026-06-08 18:40:31 +02:00