fix: podman cross platform - binfmt

This commit is contained in:
Ryan Yin
2025-09-24 11:42:12 +08:00
parent 16c8b893d3
commit e3a33fdf03
4 changed files with 12 additions and 5 deletions

View File

@@ -43,6 +43,10 @@
"aarch64-linux"
"riscv64-linux"
];
# This enables the kernel to preload the emulator binaries when the binfmt registrations are added,
# obviating the need to make the emulator binaries available inside chroots and chroot-like sandboxes.
boot.binfmt.preferStaticEmulators = true; # required to work with podman
# supported file systems, so we can mount any removable disks with these filesystems
boot.supportedFilesystems = [
"ext4"