isobemak 0.2.0

Create bootable ISO images with FAT32 and UEFI (El Torito) support in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// isobemak/src/lib.rs
use std::{io, path::Path};

pub use crate::fat32::create_fat32_image;
pub use crate::iso::create_iso_from_img;

mod fat32;
mod iso;
mod utils;

/// High-level function to create the FAT32 image and then the final ISO.
pub fn create_disk_and_iso(iso_path: &Path, efi_path: &Path) -> io::Result<()> {
    // create_fat32_image(fat32_img_path, bellows_path, kernel_path)?;
    create_iso_from_img(iso_path, efi_path)?;
    Ok(())
}