| Crates.io | oib |
| lib.rs | oib |
| version | 0.3.0 |
| created_at | 2025-05-12 14:32:58.397412+00 |
| updated_at | 2025-05-12 14:32:58.397412+00 |
| description | A simple GPT+FAT image builder |
| homepage | https://github.com/wenxuanjun/oib |
| repository | https://github.com/wenxuanjun/oib |
| max_upload_size | |
| id | 1670664 |
| size | 30,577 |
OS Image Builder? It is just a simple GPT+FAT image builder.
You can pass a config file:
./oib -c config.toml
Or pass your arguments directly:
./oib -o output.img -f build/kernel:kernel -d assets/static:static
# Combine config file with additional command line options
./oib -c config.toml -f additional_file.txt:extra.txt -d test/dir_name:dir_name
-o, --output: Output image path-c, --config: Config file path-f, --file: Add a file to the image (format: source:destination)-d, --dir: Add a folder to the image (format: source:destination)Command line arguments take precedence over configuration file settings when both are provided.
output = "output.img"
[[files]]
source = "build/kernel"
dest = "kernel"
[[files]]
source = "assets/BOOTX64.EFI"
dest = "efi/boot/bootx64.efi"
[[files]]
source = "assets/limine.conf"
dest = "limine.conf"
[[folders]]
source = "assets/static"
dest = "static"
The code is based on bootloader, a great pure-rust x86 bootloader.